@dxos/ui-editor 0.8.4-main.fcfe5033a5 → 0.9.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 (169) hide show
  1. package/LICENSE +102 -5
  2. package/README.md +1 -1
  3. package/dist/lib/browser/index.mjs +1258 -1004
  4. package/dist/lib/browser/index.mjs.map +4 -4
  5. package/dist/lib/browser/meta.json +1 -1
  6. package/dist/lib/browser/types/index.mjs +26 -6
  7. package/dist/lib/browser/types/index.mjs.map +4 -4
  8. package/dist/lib/node-esm/index.mjs +1258 -1003
  9. package/dist/lib/node-esm/index.mjs.map +4 -4
  10. package/dist/lib/node-esm/meta.json +1 -1
  11. package/dist/lib/node-esm/types/index.mjs +27 -6
  12. package/dist/lib/node-esm/types/index.mjs.map +4 -4
  13. package/dist/types/src/defaults.d.ts.map +1 -1
  14. package/dist/types/src/extensions/annotations.d.ts.map +1 -1
  15. package/dist/types/src/extensions/autocomplete/autocomplete.d.ts.map +1 -1
  16. package/dist/types/src/extensions/autocomplete/match.d.ts.map +1 -1
  17. package/dist/types/src/extensions/autocomplete/placeholder.d.ts +5 -2
  18. package/dist/types/src/extensions/autocomplete/placeholder.d.ts.map +1 -1
  19. package/dist/types/src/extensions/autocomplete/typeahead.d.ts.map +1 -1
  20. package/dist/types/src/extensions/automerge/automerge.d.ts +1 -1
  21. package/dist/types/src/extensions/automerge/automerge.d.ts.map +1 -1
  22. package/dist/types/src/extensions/automerge/cursor.d.ts +1 -1
  23. package/dist/types/src/extensions/automerge/cursor.d.ts.map +1 -1
  24. package/dist/types/src/extensions/automerge/defs.d.ts.map +1 -1
  25. package/dist/types/src/extensions/automerge/sync.d.ts +1 -1
  26. package/dist/types/src/extensions/automerge/sync.d.ts.map +1 -1
  27. package/dist/types/src/extensions/automerge/update-automerge.d.ts +1 -1
  28. package/dist/types/src/extensions/automerge/update-automerge.d.ts.map +1 -1
  29. package/dist/types/src/extensions/automerge/update-codemirror.d.ts.map +1 -1
  30. package/dist/types/src/extensions/awareness/awareness-provider.d.ts.map +1 -1
  31. package/dist/types/src/extensions/awareness/awareness.d.ts.map +1 -1
  32. package/dist/types/src/extensions/blast.d.ts.map +1 -1
  33. package/dist/types/src/extensions/comments.d.ts +19 -1
  34. package/dist/types/src/extensions/comments.d.ts.map +1 -1
  35. package/dist/types/src/extensions/debug.d.ts.map +1 -1
  36. package/dist/types/src/extensions/dnd.d.ts.map +1 -1
  37. package/dist/types/src/extensions/factories.d.ts +3 -2
  38. package/dist/types/src/extensions/factories.d.ts.map +1 -1
  39. package/dist/types/src/extensions/factories.test.d.ts +2 -0
  40. package/dist/types/src/extensions/factories.test.d.ts.map +1 -0
  41. package/dist/types/src/extensions/focus.d.ts +1 -1
  42. package/dist/types/src/extensions/index.d.ts +3 -4
  43. package/dist/types/src/extensions/index.d.ts.map +1 -1
  44. package/dist/types/src/extensions/json.d.ts +1 -1
  45. package/dist/types/src/extensions/json.d.ts.map +1 -1
  46. package/dist/types/src/extensions/listener.d.ts.map +1 -1
  47. package/dist/types/src/extensions/markdown/bundle.d.ts.map +1 -1
  48. package/dist/types/src/extensions/markdown/changes.d.ts.map +1 -1
  49. package/dist/types/src/extensions/markdown/debug.d.ts.map +1 -1
  50. package/dist/types/src/extensions/markdown/decorate.d.ts.map +1 -1
  51. package/dist/types/src/extensions/markdown/formatting.d.ts.map +1 -1
  52. package/dist/types/src/extensions/markdown/highlight.d.ts.map +1 -1
  53. package/dist/types/src/extensions/markdown/image.d.ts +13 -2
  54. package/dist/types/src/extensions/markdown/image.d.ts.map +1 -1
  55. package/dist/types/src/extensions/markdown/image.test.d.ts +2 -0
  56. package/dist/types/src/extensions/markdown/image.test.d.ts.map +1 -0
  57. package/dist/types/src/extensions/markdown/link.d.ts.map +1 -1
  58. package/dist/types/src/extensions/markdown/table.d.ts.map +1 -1
  59. package/dist/types/src/extensions/mention.d.ts.map +1 -1
  60. package/dist/types/src/extensions/outliner/menu.d.ts.map +1 -1
  61. package/dist/types/src/extensions/outliner/outliner.d.ts.map +1 -1
  62. package/dist/types/src/extensions/outliner/selection.d.ts.map +1 -1
  63. package/dist/types/src/extensions/outliner/tree.d.ts.map +1 -1
  64. package/dist/types/src/extensions/preview/preview.d.ts +2 -2
  65. package/dist/types/src/extensions/preview/preview.d.ts.map +1 -1
  66. package/dist/types/src/extensions/replacer.d.ts.map +1 -1
  67. package/dist/types/src/extensions/scrolling/auto-scroll.d.ts +18 -0
  68. package/dist/types/src/extensions/scrolling/auto-scroll.d.ts.map +1 -0
  69. package/dist/types/src/extensions/scrolling/crawler.d.ts +83 -0
  70. package/dist/types/src/extensions/scrolling/crawler.d.ts.map +1 -0
  71. package/dist/types/src/extensions/scrolling/index.d.ts +6 -0
  72. package/dist/types/src/extensions/scrolling/index.d.ts.map +1 -0
  73. package/dist/types/src/extensions/scrolling/scroll-past-end.d.ts.map +1 -0
  74. package/dist/types/src/extensions/scrolling/scrollbar-autohide.d.ts +15 -0
  75. package/dist/types/src/extensions/scrolling/scrollbar-autohide.d.ts.map +1 -0
  76. package/dist/types/src/extensions/scrolling/scroller.d.ts +16 -0
  77. package/dist/types/src/extensions/scrolling/scroller.d.ts.map +1 -0
  78. package/dist/types/src/extensions/selection.d.ts.map +1 -1
  79. package/dist/types/src/extensions/snippets.d.ts +10 -0
  80. package/dist/types/src/extensions/snippets.d.ts.map +1 -0
  81. package/dist/types/src/extensions/spacing.d.ts +3 -0
  82. package/dist/types/src/extensions/spacing.d.ts.map +1 -0
  83. package/dist/types/src/extensions/submit.d.ts.map +1 -1
  84. package/dist/types/src/extensions/tags/extended-markdown.d.ts.map +1 -1
  85. package/dist/types/src/extensions/tags/fader.d.ts.map +1 -1
  86. package/dist/types/src/extensions/tags/index.d.ts +3 -1
  87. package/dist/types/src/extensions/tags/index.d.ts.map +1 -1
  88. package/dist/types/src/extensions/tags/typewriter.d.ts +43 -0
  89. package/dist/types/src/extensions/tags/typewriter.d.ts.map +1 -0
  90. package/dist/types/src/extensions/tags/typewriter.test.d.ts +2 -0
  91. package/dist/types/src/extensions/tags/typewriter.test.d.ts.map +1 -0
  92. package/dist/types/src/extensions/tags/xml-block-decoration.d.ts +31 -0
  93. package/dist/types/src/extensions/tags/xml-block-decoration.d.ts.map +1 -0
  94. package/dist/types/src/extensions/tags/xml-formatting.d.ts +24 -0
  95. package/dist/types/src/extensions/tags/xml-formatting.d.ts.map +1 -0
  96. package/dist/types/src/extensions/tags/xml-tags.d.ts +1 -8
  97. package/dist/types/src/extensions/tags/xml-tags.d.ts.map +1 -1
  98. package/dist/types/src/extensions/tags/xml-util.d.ts.map +1 -1
  99. package/dist/types/src/index.d.ts +0 -1
  100. package/dist/types/src/index.d.ts.map +1 -1
  101. package/dist/types/src/styles/theme.d.ts.map +1 -1
  102. package/dist/types/src/types/types.d.ts +2 -2
  103. package/dist/types/src/types/types.d.ts.map +1 -1
  104. package/dist/types/src/util/cursor.d.ts.map +1 -1
  105. package/dist/types/src/util/debug.d.ts.map +1 -1
  106. package/dist/types/src/util/decorations.d.ts.map +1 -1
  107. package/dist/types/src/util/dom.d.ts.map +1 -1
  108. package/dist/types/src/util/facet.d.ts.map +1 -1
  109. package/dist/types/src/util/util.d.ts.map +1 -1
  110. package/dist/types/tsconfig.tsbuildinfo +1 -1
  111. package/package.json +55 -57
  112. package/src/defaults.ts +6 -4
  113. package/src/extensions/autocomplete/placeholder.ts +37 -18
  114. package/src/extensions/automerge/automerge.test.tsx +35 -9
  115. package/src/extensions/automerge/automerge.ts +1 -1
  116. package/src/extensions/automerge/cursor.ts +1 -1
  117. package/src/extensions/automerge/sync.ts +1 -1
  118. package/src/extensions/automerge/update-automerge.ts +1 -1
  119. package/src/extensions/comments.ts +54 -31
  120. package/src/extensions/factories.test.ts +88 -0
  121. package/src/extensions/factories.ts +22 -4
  122. package/src/extensions/index.ts +3 -4
  123. package/src/extensions/json.ts +1 -1
  124. package/src/extensions/markdown/decorate.ts +1 -1
  125. package/src/extensions/markdown/image.test.ts +54 -0
  126. package/src/extensions/markdown/image.ts +70 -9
  127. package/src/extensions/markdown/link.ts +7 -2
  128. package/src/extensions/outliner/outliner.ts +1 -1
  129. package/src/extensions/preview/preview.ts +14 -12
  130. package/src/extensions/scrolling/auto-scroll.ts +261 -0
  131. package/src/extensions/{scroller.ts → scrolling/crawler.ts} +89 -48
  132. package/src/extensions/scrolling/index.ts +9 -0
  133. package/src/extensions/{scroll-past-end.ts → scrolling/scroll-past-end.ts} +6 -6
  134. package/src/extensions/scrolling/scrollbar-autohide.ts +61 -0
  135. package/src/extensions/scrolling/scroller.ts +27 -0
  136. package/src/extensions/snippets.ts +67 -0
  137. package/src/extensions/spacing.ts +15 -0
  138. package/src/extensions/tags/index.ts +3 -1
  139. package/src/extensions/tags/testing/text.md +36 -0
  140. package/src/extensions/tags/testing/text.txt +35 -0
  141. package/src/extensions/tags/{wire.test.ts → typewriter.test.ts} +2 -2
  142. package/src/extensions/tags/typewriter.ts +594 -0
  143. package/src/extensions/tags/xml-block-decoration.ts +123 -0
  144. package/src/extensions/tags/xml-formatting.ts +125 -0
  145. package/src/extensions/tags/xml-tags.ts +6 -32
  146. package/src/extensions/tags/xml-util.test.ts +90 -3
  147. package/src/extensions/tags/xml-util.ts +62 -5
  148. package/src/index.ts +0 -1
  149. package/src/styles/theme.ts +23 -13
  150. package/src/typings.d.ts +8 -0
  151. package/dist/lib/browser/chunk-D724USEC.mjs +0 -34
  152. package/dist/lib/browser/chunk-D724USEC.mjs.map +0 -7
  153. package/dist/lib/node-esm/chunk-JRVJWKQF.mjs +0 -36
  154. package/dist/lib/node-esm/chunk-JRVJWKQF.mjs.map +0 -7
  155. package/dist/types/src/extensions/auto-scroll.d.ts +0 -8
  156. package/dist/types/src/extensions/auto-scroll.d.ts.map +0 -1
  157. package/dist/types/src/extensions/scroll-past-end.d.ts.map +0 -1
  158. package/dist/types/src/extensions/scroller.d.ts +0 -63
  159. package/dist/types/src/extensions/scroller.d.ts.map +0 -1
  160. package/dist/types/src/extensions/tags/wire.d.ts +0 -23
  161. package/dist/types/src/extensions/tags/wire.d.ts.map +0 -1
  162. package/dist/types/src/extensions/tags/wire.test.d.ts +0 -2
  163. package/dist/types/src/extensions/tags/wire.test.d.ts.map +0 -1
  164. package/dist/types/src/extensions/typewriter.d.ts +0 -10
  165. package/dist/types/src/extensions/typewriter.d.ts.map +0 -1
  166. package/src/extensions/auto-scroll.ts +0 -179
  167. package/src/extensions/tags/wire.ts +0 -459
  168. package/src/extensions/typewriter.ts +0 -68
  169. /package/dist/types/src/extensions/{scroll-past-end.d.ts → scrolling/scroll-past-end.d.ts} +0 -0
@@ -1 +1 @@
1
- {"inputs":{"src/defaults.ts":{"bytes":4018,"imports":[{"path":"@dxos/ui-theme","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/annotations.ts":{"bytes":5825,"imports":[{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/autocomplete/autocomplete.ts":{"bytes":13088,"imports":[{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/autocomplete/match.ts":{"bytes":4070,"imports":[],"format":"esm"},"src/util/facet.ts":{"bytes":1261,"imports":[{"path":"@codemirror/state","kind":"import-statement","external":true}],"format":"esm"},"src/util/cursor.ts":{"bytes":5531,"imports":[{"path":"src/util/facet.ts","kind":"import-statement","original":"./facet"}],"format":"esm"},"src/util/decorations.ts":{"bytes":1720,"imports":[],"format":"esm"},"src/util/debug.ts":{"bytes":5049,"imports":[{"path":"@dxos/log","kind":"import-statement","external":true}],"format":"esm"},"src/util/dom.ts":{"bytes":3475,"imports":[],"format":"esm"},"src/util/util.ts":{"bytes":3448,"imports":[],"format":"esm"},"src/util/index.ts":{"bytes":863,"imports":[{"path":"src/util/cursor.ts","kind":"import-statement","original":"./cursor"},{"path":"src/util/decorations.ts","kind":"import-statement","original":"./decorations"},{"path":"src/util/debug.ts","kind":"import-statement","original":"./debug"},{"path":"src/util/dom.ts","kind":"import-statement","original":"./dom"},{"path":"src/util/facet.ts","kind":"import-statement","original":"./facet"},{"path":"src/util/util.ts","kind":"import-statement","original":"./util"}],"format":"esm"},"src/extensions/autocomplete/placeholder.ts":{"bytes":11990,"imports":[{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"src/util/index.ts","kind":"import-statement","original":"../../util"}],"format":"esm"},"src/extensions/autocomplete/typeahead.ts":{"bytes":8135,"imports":[{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"src/extensions/autocomplete/placeholder.ts","kind":"import-statement","original":"./placeholder"}],"format":"esm"},"src/extensions/autocomplete/index.ts":{"bytes":753,"imports":[{"path":"src/extensions/autocomplete/autocomplete.ts","kind":"import-statement","original":"./autocomplete"},{"path":"src/extensions/autocomplete/match.ts","kind":"import-statement","original":"./match"},{"path":"src/extensions/autocomplete/placeholder.ts","kind":"import-statement","original":"./placeholder"},{"path":"src/extensions/autocomplete/typeahead.ts","kind":"import-statement","original":"./typeahead"}],"format":"esm"},"src/extensions/scroller.ts":{"bytes":23949,"imports":[{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/auto-scroll.ts":{"bytes":20455,"imports":[{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"src/extensions/scroller.ts","kind":"import-statement","original":"./scroller"}],"format":"esm"},"src/extensions/state.ts":{"bytes":825,"imports":[{"path":"@codemirror/state","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/automerge/cursor.ts":{"bytes":2965,"imports":[{"path":"@dxos/echo-db","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/automerge/defs.ts":{"bytes":3192,"imports":[{"path":"@codemirror/state","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/automerge/update-automerge.ts":{"bytes":5395,"imports":[{"path":"@automerge/automerge","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/automerge/update-codemirror.ts":{"bytes":11359,"imports":[{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"src/extensions/automerge/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/extensions/automerge/sync.ts":{"bytes":8617,"imports":[{"path":"@automerge/automerge","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"src/extensions/automerge/defs.ts","kind":"import-statement","original":"./defs"},{"path":"src/extensions/automerge/update-automerge.ts","kind":"import-statement","original":"./update-automerge"},{"path":"src/extensions/automerge/update-codemirror.ts","kind":"import-statement","original":"./update-codemirror"}],"format":"esm"},"src/extensions/automerge/automerge.ts":{"bytes":11882,"imports":[{"path":"@automerge/automerge","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/echo-db","kind":"import-statement","external":true},{"path":"src/util/index.ts","kind":"import-statement","original":"../../util"},{"path":"src/extensions/state.ts","kind":"import-statement","original":"../state"},{"path":"src/extensions/automerge/cursor.ts","kind":"import-statement","original":"./cursor"},{"path":"src/extensions/automerge/defs.ts","kind":"import-statement","original":"./defs"},{"path":"src/extensions/automerge/sync.ts","kind":"import-statement","original":"./sync"}],"format":"esm"},"src/extensions/automerge/index.ts":{"bytes":530,"imports":[{"path":"src/extensions/automerge/automerge.ts","kind":"import-statement","original":"./automerge"}],"format":"esm"},"src/extensions/awareness/awareness.ts":{"bytes":30038,"imports":[{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"src/util/index.ts","kind":"import-statement","original":"../../util"}],"format":"esm"},"src/extensions/awareness/awareness-provider.ts":{"bytes":11662,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/awareness/index.ts":{"bytes":588,"imports":[{"path":"src/extensions/awareness/awareness.ts","kind":"import-statement","original":"./awareness"},{"path":"src/extensions/awareness/awareness-provider.ts","kind":"import-statement","original":"./awareness-provider"}],"format":"esm"},"src/extensions/blast.ts":{"bytes":38277,"imports":[{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"lodash.defaultsdeep","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/blocks.ts":{"bytes":13457,"imports":[{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/bookmarks.ts":{"bytes":7388,"imports":[{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/selection.ts":{"bytes":10845,"imports":[{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/util/index.ts","kind":"import-statement","original":"../util"}],"format":"esm"},"src/extensions/comments.ts":{"bytes":58955,"imports":[{"path":"@codemirror/commands","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"lodash.sortby","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/util/index.ts","kind":"import-statement","original":"../util"},{"path":"src/extensions/selection.ts","kind":"import-statement","original":"./selection"}],"format":"esm"},"src/extensions/debug.ts":{"bytes":2222,"imports":[{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/dnd.ts":{"bytes":3708,"imports":[{"path":"@codemirror/view","kind":"import-statement","external":true}],"format":"esm"},"src/styles/theme.ts":{"bytes":29095,"imports":[{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true}],"format":"esm"},"src/styles/index.ts":{"bytes":448,"imports":[{"path":"src/styles/theme.ts","kind":"import-statement","original":"./theme"}],"format":"esm"},"src/extensions/focus.ts":{"bytes":3379,"imports":[{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/scroll-past-end.ts":{"bytes":4029,"imports":[{"path":"@codemirror/view","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/factories.ts":{"bytes":27392,"imports":[{"path":"@codemirror/autocomplete","kind":"import-statement","external":true},{"path":"@codemirror/commands","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/search","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@uiw/codemirror-theme-vscode","kind":"import-statement","external":true},{"path":"lodash.defaultsdeep","kind":"import-statement","external":true},{"path":"@dxos/display-name","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/styles/index.ts","kind":"import-statement","original":"../styles"},{"path":"src/extensions/automerge/index.ts","kind":"import-statement","original":"./automerge"},{"path":"src/extensions/awareness/index.ts","kind":"import-statement","original":"./awareness"},{"path":"src/extensions/focus.ts","kind":"import-statement","original":"./focus"},{"path":"src/extensions/scroll-past-end.ts","kind":"import-statement","original":"./scroll-past-end"}],"format":"esm"},"src/extensions/folding.ts":{"bytes":4238,"imports":[{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/ui","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/hashtag.ts":{"bytes":5724,"imports":[{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/json.ts":{"bytes":5503,"imports":[{"path":"@codemirror/lang-json","kind":"import-statement","external":true},{"path":"@codemirror/lint","kind":"import-statement","external":true},{"path":"ajv","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/listener.ts":{"bytes":3170,"imports":[{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/extensions/selection.ts","kind":"import-statement","original":"./selection"}],"format":"esm"},"src/extensions/markdown/formatting.ts":{"bytes":152442,"imports":[{"path":"@codemirror/autocomplete","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/markdown/action.ts":{"bytes":8090,"imports":[{"path":"src/extensions/comments.ts","kind":"import-statement","original":"../comments"},{"path":"src/extensions/markdown/formatting.ts","kind":"import-statement","original":"./formatting"}],"format":"esm"},"src/extensions/markdown/highlight.ts":{"bytes":19980,"imports":[{"path":"@codemirror/lang-markdown","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@lezer/highlight","kind":"import-statement","external":true},{"path":"@lezer/markdown","kind":"import-statement","external":true},{"path":"src/styles/index.ts","kind":"import-statement","original":"../../styles"}],"format":"esm"},"src/extensions/markdown/bundle.ts":{"bytes":11425,"imports":[{"path":"@codemirror/autocomplete","kind":"import-statement","external":true},{"path":"@codemirror/commands","kind":"import-statement","external":true},{"path":"@codemirror/lang-json","kind":"import-statement","external":true},{"path":"@codemirror/lang-markdown","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/language-data","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/extensions/markdown/highlight.ts","kind":"import-statement","original":"./highlight"}],"format":"esm"},"src/extensions/markdown/debug.ts":{"bytes":3923,"imports":[{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/markdown/changes.ts":{"bytes":18097,"imports":[{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/markdown/image.ts":{"bytes":13156,"imports":[{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"src/extensions/focus.ts","kind":"import-statement","original":"../focus"}],"format":"esm"},"src/extensions/markdown/styles.ts":{"bytes":12814,"imports":[{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"src/styles/index.ts","kind":"import-statement","original":"../../styles"}],"format":"esm"},"src/extensions/markdown/table.ts":{"bytes":17816,"imports":[{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/markdown/decorate.ts":{"bytes":70840,"imports":[{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"src/styles/index.ts","kind":"import-statement","original":"../../styles"},{"path":"src/util/index.ts","kind":"import-statement","original":"../../util"},{"path":"src/extensions/markdown/changes.ts","kind":"import-statement","original":"./changes"},{"path":"src/extensions/markdown/image.ts","kind":"import-statement","original":"./image"},{"path":"src/extensions/markdown/styles.ts","kind":"import-statement","original":"./styles"},{"path":"src/extensions/markdown/table.ts","kind":"import-statement","original":"./table"}],"format":"esm"},"src/extensions/markdown/link.ts":{"bytes":4923,"imports":[{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/markdown/index.ts":{"bytes":1142,"imports":[{"path":"src/extensions/markdown/action.ts","kind":"import-statement","original":"./action"},{"path":"src/extensions/markdown/bundle.ts","kind":"import-statement","original":"./bundle"},{"path":"src/extensions/markdown/debug.ts","kind":"import-statement","original":"./debug"},{"path":"src/extensions/markdown/decorate.ts","kind":"import-statement","original":"./decorate"},{"path":"src/extensions/markdown/formatting.ts","kind":"import-statement","original":"./formatting"},{"path":"src/extensions/markdown/highlight.ts","kind":"import-statement","original":"./highlight"},{"path":"src/extensions/markdown/image.ts","kind":"import-statement","original":"./image"},{"path":"src/extensions/markdown/link.ts","kind":"import-statement","original":"./link"},{"path":"src/extensions/markdown/table.ts","kind":"import-statement","original":"./table"}],"format":"esm"},"src/extensions/mention.ts":{"bytes":4387,"imports":[{"path":"@codemirror/autocomplete","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/modal.ts":{"bytes":2169,"imports":[{"path":"@codemirror/state","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/modes.ts":{"bytes":3647,"imports":[{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@replit/codemirror-vim","kind":"import-statement","external":true},{"path":"@replit/codemirror-vscode-keymap","kind":"import-statement","external":true},{"path":"src/util/index.ts","kind":"import-statement","original":"../util"}],"format":"esm"},"src/extensions/outliner/tree.ts":{"bytes":32451,"imports":[{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/outliner/selection.ts":{"bytes":5151,"imports":[{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"src/extensions/outliner/tree.ts","kind":"import-statement","original":"./tree"}],"format":"esm"},"src/extensions/outliner/commands.ts":{"bytes":25043,"imports":[{"path":"@codemirror/commands","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"src/extensions/outliner/selection.ts","kind":"import-statement","original":"./selection"},{"path":"src/extensions/outliner/tree.ts","kind":"import-statement","original":"./tree"}],"format":"esm"},"src/extensions/outliner/editor.ts":{"bytes":24156,"imports":[{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"src/extensions/outliner/selection.ts","kind":"import-statement","original":"./selection"},{"path":"src/extensions/outliner/tree.ts","kind":"import-statement","original":"./tree"}],"format":"esm"},"src/extensions/outliner/menu.ts":{"bytes":13336,"imports":[{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/outliner/outliner.ts":{"bytes":16865,"imports":[{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"src/extensions/markdown/index.ts","kind":"import-statement","original":"../markdown"},{"path":"src/extensions/outliner/commands.ts","kind":"import-statement","original":"./commands"},{"path":"src/extensions/outliner/editor.ts","kind":"import-statement","original":"./editor"},{"path":"src/extensions/outliner/menu.ts","kind":"import-statement","original":"./menu"},{"path":"src/extensions/outliner/selection.ts","kind":"import-statement","original":"./selection"},{"path":"src/extensions/outliner/tree.ts","kind":"import-statement","original":"./tree"}],"format":"esm"},"src/extensions/outliner/index.ts":{"bytes":636,"imports":[{"path":"src/extensions/outliner/commands.ts","kind":"import-statement","original":"./commands"},{"path":"src/extensions/outliner/outliner.ts","kind":"import-statement","original":"./outliner"},{"path":"src/extensions/outliner/tree.ts","kind":"import-statement","original":"./tree"}],"format":"esm"},"src/extensions/preview/preview.ts":{"bytes":21744,"imports":[{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/preview/index.ts":{"bytes":466,"imports":[{"path":"src/extensions/preview/preview.ts","kind":"import-statement","original":"./preview"}],"format":"esm"},"src/extensions/replacer.ts":{"bytes":9076,"imports":[{"path":"@codemirror/view","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/submit.ts":{"bytes":5760,"imports":[{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/tags/extended-markdown.ts":{"bytes":16367,"imports":[{"path":"@codemirror/lang-xml","kind":"import-statement","external":true},{"path":"@lezer/common","kind":"import-statement","external":true},{"path":"src/extensions/markdown/index.ts","kind":"import-statement","original":"../markdown"}],"format":"esm"},"src/extensions/tags/fader.ts":{"bytes":22334,"imports":[{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/tags/wire.ts":{"bytes":49604,"imports":[{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/ui","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/tags/xml-util.ts":{"bytes":9709,"imports":[{"path":"@dxos/invariant","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/tags/xml-tags.ts":{"bytes":73369,"imports":[{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/ui","kind":"import-statement","external":true},{"path":"src/util/index.ts","kind":"import-statement","original":"../../util"},{"path":"src/extensions/scroller.ts","kind":"import-statement","original":"../scroller"},{"path":"src/extensions/tags/xml-util.ts","kind":"import-statement","original":"./xml-util"}],"format":"esm"},"src/extensions/tags/index.ts":{"bytes":738,"imports":[{"path":"src/extensions/tags/extended-markdown.ts","kind":"import-statement","original":"./extended-markdown"},{"path":"src/extensions/tags/fader.ts","kind":"import-statement","original":"./fader"},{"path":"src/extensions/tags/wire.ts","kind":"import-statement","original":"./wire"},{"path":"src/extensions/tags/xml-tags.ts","kind":"import-statement","original":"./xml-tags"}],"format":"esm"},"src/extensions/typewriter.ts":{"bytes":6242,"imports":[{"path":"@codemirror/view","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/index.ts":{"bytes":3076,"imports":[{"path":"src/extensions/annotations.ts","kind":"import-statement","original":"./annotations"},{"path":"src/extensions/autocomplete/index.ts","kind":"import-statement","original":"./autocomplete"},{"path":"src/extensions/auto-scroll.ts","kind":"import-statement","original":"./auto-scroll"},{"path":"src/extensions/automerge/index.ts","kind":"import-statement","original":"./automerge"},{"path":"src/extensions/awareness/index.ts","kind":"import-statement","original":"./awareness"},{"path":"src/extensions/blast.ts","kind":"import-statement","original":"./blast"},{"path":"src/extensions/blocks.ts","kind":"import-statement","original":"./blocks"},{"path":"src/extensions/bookmarks.ts","kind":"import-statement","original":"./bookmarks"},{"path":"src/extensions/comments.ts","kind":"import-statement","original":"./comments"},{"path":"src/extensions/debug.ts","kind":"import-statement","original":"./debug"},{"path":"src/extensions/dnd.ts","kind":"import-statement","original":"./dnd"},{"path":"src/extensions/factories.ts","kind":"import-statement","original":"./factories"},{"path":"src/extensions/focus.ts","kind":"import-statement","original":"./focus"},{"path":"src/extensions/folding.ts","kind":"import-statement","original":"./folding"},{"path":"src/extensions/hashtag.ts","kind":"import-statement","original":"./hashtag"},{"path":"src/extensions/json.ts","kind":"import-statement","original":"./json"},{"path":"src/extensions/listener.ts","kind":"import-statement","original":"./listener"},{"path":"src/extensions/markdown/index.ts","kind":"import-statement","original":"./markdown"},{"path":"src/extensions/mention.ts","kind":"import-statement","original":"./mention"},{"path":"src/extensions/modal.ts","kind":"import-statement","original":"./modal"},{"path":"src/extensions/modes.ts","kind":"import-statement","original":"./modes"},{"path":"src/extensions/outliner/index.ts","kind":"import-statement","original":"./outliner"},{"path":"src/extensions/preview/index.ts","kind":"import-statement","original":"./preview"},{"path":"src/extensions/replacer.ts","kind":"import-statement","original":"./replacer"},{"path":"src/extensions/scroll-past-end.ts","kind":"import-statement","original":"./scroll-past-end"},{"path":"src/extensions/scroller.ts","kind":"import-statement","original":"./scroller"},{"path":"src/extensions/selection.ts","kind":"import-statement","original":"./selection"},{"path":"src/extensions/state.ts","kind":"import-statement","original":"./state"},{"path":"src/extensions/submit.ts","kind":"import-statement","original":"./submit"},{"path":"src/extensions/tags/index.ts","kind":"import-statement","original":"./tags"},{"path":"src/extensions/typewriter.ts","kind":"import-statement","original":"./typewriter"}],"format":"esm"},"src/types/types.ts":{"bytes":3618,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true}],"format":"esm"},"src/types/index.ts":{"bytes":447,"imports":[{"path":"src/types/types.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"src/index.ts":{"bytes":1479,"imports":[{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@lezer/highlight","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/echo/model/text","kind":"import-statement","external":true},{"path":"src/defaults.ts","kind":"import-statement","original":"./defaults"},{"path":"src/extensions/index.ts","kind":"import-statement","original":"./extensions"},{"path":"src/types/index.ts","kind":"import-statement","original":"./types"},{"path":"src/util/index.ts","kind":"import-statement","original":"./util"}],"format":"esm"}},"outputs":{"dist/lib/node-esm/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":532298},"dist/lib/node-esm/index.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-JRVJWKQF.mjs","kind":"import-statement"},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@lezer/highlight","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/echo/model/text","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@automerge/automerge","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/echo-db","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@dxos/echo-db","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@automerge/automerge","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@automerge/automerge","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"lodash.defaultsdeep","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@codemirror/commands","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"lodash.sortby","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@codemirror/autocomplete","kind":"import-statement","external":true},{"path":"@codemirror/commands","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/search","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@uiw/codemirror-theme-vscode","kind":"import-statement","external":true},{"path":"lodash.defaultsdeep","kind":"import-statement","external":true},{"path":"@dxos/display-name","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/ui","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@codemirror/lang-json","kind":"import-statement","external":true},{"path":"@codemirror/lint","kind":"import-statement","external":true},{"path":"ajv","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@codemirror/autocomplete","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@codemirror/autocomplete","kind":"import-statement","external":true},{"path":"@codemirror/commands","kind":"import-statement","external":true},{"path":"@codemirror/lang-json","kind":"import-statement","external":true},{"path":"@codemirror/lang-markdown","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/language-data","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@codemirror/lang-markdown","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@lezer/highlight","kind":"import-statement","external":true},{"path":"@lezer/markdown","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@codemirror/autocomplete","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@replit/codemirror-vim","kind":"import-statement","external":true},{"path":"@replit/codemirror-vscode-keymap","kind":"import-statement","external":true},{"path":"@codemirror/commands","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@codemirror/lang-xml","kind":"import-statement","external":true},{"path":"@lezer/common","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/ui","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/ui","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true}],"exports":["Cursor","EditorInputMode","EditorInputModes","EditorState","EditorView","EditorViewMode","EditorViewModes","Inline","InputModeExtensions","List","PlaceholderWidget","RemoteSelectionsDecorator","SpaceAwarenessProvider","TextKind","Tree","XML_WIDGET_DATA_ATTR","addBlockquote","addBookmark","addCodeblock","addLink","addList","addStyle","annotations","autoScroll","autoScrollEffect","autocomplete","automerge","awareness","awarenessProvider","blast","blocks","bookmarks","clearBookmarks","clientRectsFor","commands","commentClickedEffect","comments","commentsState","compactSlots","convertTreeToJson","createBasicExtensions","createComment","createCrawler","createDataExtensions","createEditorStateStore","createEditorStateTransaction","createExternalCommentSync","createJsonExtensions","createMarkdownExtensions","createThemeExtensions","debugDispatcher","debugNodeLogger","debugTree","decorateMarkdown","decorationSetToArray","defaultExtensions","defaultOptions","defaultReplacements","defaultStyles","defaultThemeSlots","deleteItem","documentId","documentSlots","dropFile","editorClassNames","editorInputMode","extendedMarkdown","fader","filterChars","flattenRect","focus","focusField","folding","formattingEquals","formattingKeymap","formattingListener","fullWidth","getFormatting","getLinkRef","getListItemContent","getRange","getXmlTextChild","grow","hashtag","image","indentItemLess","indentItemMore","initialSync","insertAtCursor","insertAtLineStart","insertTable","itemToJSON","join","keymap","linkTooltip","listItemToString","listener","logChanges","markdownHighlightStyle","markdownTags","markdownTagsExtensions","matchCompletion","mention","mobileSlots","modalStateEffect","modalStateField","moveItemDown","moveItemUp","navigateNextEffect","navigatePreviousEffect","outliner","outlinerTree","overlap","placeholder","preview","processEditorPayload","removeBlockquote","removeBookmark","removeCodeblock","removeLink","removeList","removeStyle","replacer","scrollPastEnd","scrollThreadIntoView","scrollToLine","scroller","scrollerCrawlEffect","scrollerLineEffect","selectionState","setBlockquote","setComments","setHeading","setSelection","setStyle","singleValueFacet","staticCompletion","submit","tabbable","table","tags","textRange","toggleBlockquote","toggleCodeblock","toggleEmphasis","toggleInlineCode","toggleList","toggleStrikethrough","toggleStrong","toggleStyle","toggleTask","traverse","treeFacet","typeahead","typewriter","wire","wireBypass","wrapWithCatch","xmlElementLength","xmlTagContextEffect","xmlTagResetEffect","xmlTagUpdateEffect","xmlTags"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":269},"src/defaults.ts":{"bytesInOutput":1017},"src/extensions/annotations.ts":{"bytesInOutput":1139},"src/extensions/autocomplete/autocomplete.ts":{"bytesInOutput":2775},"src/extensions/autocomplete/match.ts":{"bytesInOutput":684},"src/extensions/autocomplete/placeholder.ts":{"bytesInOutput":2505},"src/util/facet.ts":{"bytesInOutput":201},"src/util/cursor.ts":{"bytesInOutput":905},"src/util/decorations.ts":{"bytesInOutput":244},"src/util/debug.ts":{"bytesInOutput":1055},"src/util/dom.ts":{"bytesInOutput":609},"src/util/util.ts":{"bytesInOutput":656},"src/extensions/autocomplete/typeahead.ts":{"bytesInOutput":1682},"src/extensions/auto-scroll.ts":{"bytesInOutput":4224},"src/extensions/scroller.ts":{"bytesInOutput":4880},"src/extensions/automerge/automerge.ts":{"bytesInOutput":2612},"src/extensions/state.ts":{"bytesInOutput":109},"src/extensions/automerge/cursor.ts":{"bytesInOutput":755},"src/extensions/automerge/defs.ts":{"bytesInOutput":445},"src/extensions/automerge/sync.ts":{"bytesInOutput":1744},"src/extensions/automerge/update-automerge.ts":{"bytesInOutput":856},"src/extensions/automerge/update-codemirror.ts":{"bytesInOutput":2416},"src/extensions/automerge/index.ts":{"bytesInOutput":0},"src/extensions/awareness/awareness.ts":{"bytesInOutput":7138},"src/extensions/awareness/awareness-provider.ts":{"bytesInOutput":2708},"src/extensions/blast.ts":{"bytesInOutput":8616},"src/extensions/blocks.ts":{"bytesInOutput":3103},"src/extensions/bookmarks.ts":{"bytesInOutput":1875},"src/extensions/comments.ts":{"bytesInOutput":13244},"src/extensions/selection.ts":{"bytesInOutput":2627},"src/extensions/debug.ts":{"bytesInOutput":389},"src/extensions/dnd.ts":{"bytesInOutput":831},"src/extensions/factories.ts":{"bytesInOutput":6200},"src/styles/theme.ts":{"bytesInOutput":8021},"src/extensions/focus.ts":{"bytesInOutput":771},"src/extensions/scroll-past-end.ts":{"bytesInOutput":718},"src/extensions/folding.ts":{"bytesInOutput":966},"src/extensions/hashtag.ts":{"bytesInOutput":1232},"src/extensions/json.ts":{"bytesInOutput":1052},"src/extensions/listener.ts":{"bytesInOutput":612},"src/extensions/markdown/formatting.ts":{"bytesInOutput":35271},"src/extensions/markdown/action.ts":{"bytesInOutput":1462},"src/extensions/markdown/bundle.ts":{"bytesInOutput":2574},"src/extensions/markdown/highlight.ts":{"bytesInOutput":4559},"src/extensions/markdown/debug.ts":{"bytesInOutput":775},"src/extensions/markdown/decorate.ts":{"bytesInOutput":16720},"src/extensions/markdown/changes.ts":{"bytesInOutput":4055},"src/extensions/markdown/image.ts":{"bytesInOutput":2842},"src/extensions/markdown/styles.ts":{"bytesInOutput":3618},"src/extensions/markdown/table.ts":{"bytesInOutput":4042},"src/extensions/markdown/link.ts":{"bytesInOutput":1109},"src/extensions/mention.ts":{"bytesInOutput":1032},"src/extensions/modal.ts":{"bytesInOutput":413},"src/extensions/modes.ts":{"bytesInOutput":733},"src/extensions/outliner/commands.ts":{"bytesInOutput":5776},"src/extensions/outliner/selection.ts":{"bytesInOutput":910},"src/extensions/outliner/tree.ts":{"bytesInOutput":7758},"src/extensions/outliner/outliner.ts":{"bytesInOutput":3250},"src/extensions/outliner/editor.ts":{"bytesInOutput":5354},"src/extensions/outliner/menu.ts":{"bytesInOutput":2629},"src/extensions/preview/preview.ts":{"bytesInOutput":4757},"src/extensions/replacer.ts":{"bytesInOutput":1837},"src/extensions/submit.ts":{"bytesInOutput":1198},"src/extensions/tags/extended-markdown.ts":{"bytesInOutput":3279},"src/extensions/tags/fader.ts":{"bytesInOutput":5079},"src/extensions/tags/wire.ts":{"bytesInOutput":9795},"src/extensions/tags/xml-tags.ts":{"bytesInOutput":16103},"src/extensions/tags/xml-util.ts":{"bytesInOutput":2238},"src/extensions/typewriter.ts":{"bytesInOutput":1339}},"bytes":248215},"dist/lib/node-esm/types/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/node-esm/types/index.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-JRVJWKQF.mjs","kind":"import-statement"}],"exports":["EditorInputMode","EditorInputModes","EditorViewMode","EditorViewModes"],"entryPoint":"src/types/index.ts","inputs":{},"bytes":330},"dist/lib/node-esm/chunk-JRVJWKQF.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2004},"dist/lib/node-esm/chunk-JRVJWKQF.mjs":{"imports":[{"path":"effect/Schema","kind":"import-statement","external":true}],"exports":["EditorInputMode","EditorInputModes","EditorViewMode","EditorViewModes"],"inputs":{"src/types/types.ts":{"bytesInOutput":608},"src/types/index.ts":{"bytesInOutput":0}},"bytes":855}}}
1
+ {"inputs":{"src/defaults.ts":{"bytes":4287,"imports":[{"path":"@dxos/ui-theme","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/annotations.ts":{"bytes":5736,"imports":[{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/autocomplete/autocomplete.ts":{"bytes":12981,"imports":[{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/autocomplete/match.ts":{"bytes":3970,"imports":[],"format":"esm"},"src/util/facet.ts":{"bytes":1180,"imports":[{"path":"@codemirror/state","kind":"import-statement","external":true}],"format":"esm"},"src/util/cursor.ts":{"bytes":5453,"imports":[{"path":"src/util/facet.ts","kind":"import-statement","original":"./facet"}],"format":"esm"},"src/util/decorations.ts":{"bytes":1637,"imports":[],"format":"esm"},"src/util/debug.ts":{"bytes":4888,"imports":[{"path":"@dxos/log","kind":"import-statement","external":true}],"format":"esm"},"src/util/dom.ts":{"bytes":3396,"imports":[],"format":"esm"},"src/util/util.ts":{"bytes":3372,"imports":[],"format":"esm"},"src/util/index.ts":{"bytes":786,"imports":[{"path":"src/util/cursor.ts","kind":"import-statement","original":"./cursor"},{"path":"src/util/decorations.ts","kind":"import-statement","original":"./decorations"},{"path":"src/util/debug.ts","kind":"import-statement","original":"./debug"},{"path":"src/util/dom.ts","kind":"import-statement","original":"./dom"},{"path":"src/util/facet.ts","kind":"import-statement","original":"./facet"},{"path":"src/util/util.ts","kind":"import-statement","original":"./util"}],"format":"esm"},"src/extensions/autocomplete/placeholder.ts":{"bytes":14535,"imports":[{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"src/util/index.ts","kind":"import-statement","original":"../../util"}],"format":"esm"},"src/extensions/autocomplete/typeahead.ts":{"bytes":8035,"imports":[{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"src/extensions/autocomplete/placeholder.ts","kind":"import-statement","original":"./placeholder"}],"format":"esm"},"src/extensions/autocomplete/index.ts":{"bytes":657,"imports":[{"path":"src/extensions/autocomplete/autocomplete.ts","kind":"import-statement","original":"./autocomplete"},{"path":"src/extensions/autocomplete/match.ts","kind":"import-statement","original":"./match"},{"path":"src/extensions/autocomplete/placeholder.ts","kind":"import-statement","original":"./placeholder"},{"path":"src/extensions/autocomplete/typeahead.ts","kind":"import-statement","original":"./typeahead"}],"format":"esm"},"src/extensions/state.ts":{"bytes":742,"imports":[{"path":"@codemirror/state","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/automerge/cursor.ts":{"bytes":2750,"imports":[{"path":"@dxos/echo-client","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/automerge/defs.ts":{"bytes":3100,"imports":[{"path":"@codemirror/state","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/automerge/update-automerge.ts":{"bytes":5295,"imports":[{"path":"@automerge/automerge","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/automerge/update-codemirror.ts":{"bytes":11254,"imports":[{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"src/extensions/automerge/defs.ts","kind":"import-statement","original":"./defs"}],"format":"esm"},"src/extensions/automerge/sync.ts":{"bytes":8482,"imports":[{"path":"@automerge/automerge","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"src/extensions/automerge/defs.ts","kind":"import-statement","original":"./defs"},{"path":"src/extensions/automerge/update-automerge.ts","kind":"import-statement","original":"./update-automerge"},{"path":"src/extensions/automerge/update-codemirror.ts","kind":"import-statement","original":"./update-codemirror"}],"format":"esm"},"src/extensions/automerge/automerge.ts":{"bytes":11793,"imports":[{"path":"@automerge/automerge","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/echo-client","kind":"import-statement","external":true},{"path":"src/util/index.ts","kind":"import-statement","original":"../../util"},{"path":"src/extensions/state.ts","kind":"import-statement","original":"../state"},{"path":"src/extensions/automerge/cursor.ts","kind":"import-statement","original":"./cursor"},{"path":"src/extensions/automerge/defs.ts","kind":"import-statement","original":"./defs"},{"path":"src/extensions/automerge/sync.ts","kind":"import-statement","original":"./sync"}],"format":"esm"},"src/extensions/automerge/index.ts":{"bytes":437,"imports":[{"path":"src/extensions/automerge/automerge.ts","kind":"import-statement","original":"./automerge"}],"format":"esm"},"src/extensions/awareness/awareness.ts":{"bytes":30029,"imports":[{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"src/util/index.ts","kind":"import-statement","original":"../../util"}],"format":"esm"},"src/extensions/awareness/awareness-provider.ts":{"bytes":11240,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/awareness/index.ts":{"bytes":491,"imports":[{"path":"src/extensions/awareness/awareness.ts","kind":"import-statement","original":"./awareness"},{"path":"src/extensions/awareness/awareness-provider.ts","kind":"import-statement","original":"./awareness-provider"}],"format":"esm"},"src/extensions/blast.ts":{"bytes":38068,"imports":[{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"lodash.defaultsdeep","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/blocks.ts":{"bytes":13373,"imports":[{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/bookmarks.ts":{"bytes":7131,"imports":[{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/selection.ts":{"bytes":10576,"imports":[{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/util/index.ts","kind":"import-statement","original":"../util"}],"format":"esm"},"src/extensions/comments.ts":{"bytes":59976,"imports":[{"path":"@codemirror/commands","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"lodash.sortby","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/util/index.ts","kind":"import-statement","original":"../util"},{"path":"src/extensions/selection.ts","kind":"import-statement","original":"./selection"}],"format":"esm"},"src/extensions/debug.ts":{"bytes":2139,"imports":[{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/dnd.ts":{"bytes":3627,"imports":[{"path":"@codemirror/view","kind":"import-statement","external":true}],"format":"esm"},"src/styles/theme.ts":{"bytes":30105,"imports":[{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true}],"format":"esm"},"src/styles/index.ts":{"bytes":369,"imports":[{"path":"src/styles/theme.ts","kind":"import-statement","original":"./theme"}],"format":"esm"},"src/extensions/focus.ts":{"bytes":3292,"imports":[{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/scrolling/crawler.ts":{"bytes":29685,"imports":[{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/scrolling/auto-scroll.ts":{"bytes":32523,"imports":[{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"src/extensions/scrolling/crawler.ts","kind":"import-statement","original":"./crawler"}],"format":"esm"},"src/extensions/scrolling/scroll-past-end.ts":{"bytes":4054,"imports":[{"path":"@codemirror/view","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/scrolling/scrollbar-autohide.ts":{"bytes":7380,"imports":[{"path":"@codemirror/view","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/scrolling/scroller.ts":{"bytes":2546,"imports":[{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/extensions/scrolling/auto-scroll.ts","kind":"import-statement","original":"./auto-scroll"},{"path":"src/extensions/scrolling/crawler.ts","kind":"import-statement","original":"./crawler"}],"format":"esm"},"src/extensions/scrolling/index.ts":{"bytes":779,"imports":[{"path":"src/extensions/scrolling/auto-scroll.ts","kind":"import-statement","original":"./auto-scroll"},{"path":"src/extensions/scrolling/crawler.ts","kind":"import-statement","original":"./crawler"},{"path":"src/extensions/scrolling/scroll-past-end.ts","kind":"import-statement","original":"./scroll-past-end"},{"path":"src/extensions/scrolling/scrollbar-autohide.ts","kind":"import-statement","original":"./scrollbar-autohide"},{"path":"src/extensions/scrolling/scroller.ts","kind":"import-statement","original":"./scroller"}],"format":"esm"},"src/extensions/factories.ts":{"bytes":30083,"imports":[{"path":"@codemirror/autocomplete","kind":"import-statement","external":true},{"path":"@codemirror/commands","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/search","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@uiw/codemirror-theme-vscode","kind":"import-statement","external":true},{"path":"lodash.defaultsdeep","kind":"import-statement","external":true},{"path":"@dxos/display-name","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/styles/index.ts","kind":"import-statement","original":"../styles"},{"path":"src/extensions/automerge/index.ts","kind":"import-statement","original":"./automerge"},{"path":"src/extensions/awareness/index.ts","kind":"import-statement","original":"./awareness"},{"path":"src/extensions/focus.ts","kind":"import-statement","original":"./focus"},{"path":"src/extensions/scrolling/index.ts","kind":"import-statement","original":"./scrolling"}],"format":"esm"},"src/extensions/folding.ts":{"bytes":4149,"imports":[{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/ui","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/hashtag.ts":{"bytes":5635,"imports":[{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/json.ts":{"bytes":5441,"imports":[{"path":"@codemirror/lang-json","kind":"import-statement","external":true},{"path":"@codemirror/lint","kind":"import-statement","external":true},{"path":"ajv","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/listener.ts":{"bytes":3084,"imports":[{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/extensions/selection.ts","kind":"import-statement","original":"./selection"}],"format":"esm"},"src/extensions/markdown/formatting.ts":{"bytes":152345,"imports":[{"path":"@codemirror/autocomplete","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/markdown/action.ts":{"bytes":7993,"imports":[{"path":"src/extensions/comments.ts","kind":"import-statement","original":"../comments"},{"path":"src/extensions/markdown/formatting.ts","kind":"import-statement","original":"./formatting"}],"format":"esm"},"src/extensions/markdown/highlight.ts":{"bytes":19884,"imports":[{"path":"@codemirror/lang-markdown","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@lezer/highlight","kind":"import-statement","external":true},{"path":"@lezer/markdown","kind":"import-statement","external":true},{"path":"src/styles/index.ts","kind":"import-statement","original":"../../styles"}],"format":"esm"},"src/extensions/markdown/bundle.ts":{"bytes":11332,"imports":[{"path":"@codemirror/autocomplete","kind":"import-statement","external":true},{"path":"@codemirror/commands","kind":"import-statement","external":true},{"path":"@codemirror/lang-json","kind":"import-statement","external":true},{"path":"@codemirror/lang-markdown","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/language-data","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/extensions/markdown/highlight.ts","kind":"import-statement","original":"./highlight"}],"format":"esm"},"src/extensions/markdown/debug.ts":{"bytes":3831,"imports":[{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/markdown/changes.ts":{"bytes":18003,"imports":[{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/markdown/image.ts":{"bytes":20047,"imports":[{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"src/extensions/focus.ts","kind":"import-statement","original":"../focus"}],"format":"esm"},"src/extensions/markdown/styles.ts":{"bytes":12721,"imports":[{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"src/styles/index.ts","kind":"import-statement","original":"../../styles"}],"format":"esm"},"src/extensions/markdown/table.ts":{"bytes":17720,"imports":[{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/markdown/decorate.ts":{"bytes":70934,"imports":[{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"src/styles/index.ts","kind":"import-statement","original":"../../styles"},{"path":"src/util/index.ts","kind":"import-statement","original":"../../util"},{"path":"src/extensions/markdown/changes.ts","kind":"import-statement","original":"./changes"},{"path":"src/extensions/markdown/image.ts","kind":"import-statement","original":"./image"},{"path":"src/extensions/markdown/styles.ts","kind":"import-statement","original":"./styles"},{"path":"src/extensions/markdown/table.ts","kind":"import-statement","original":"./table"}],"format":"esm"},"src/extensions/markdown/link.ts":{"bytes":5365,"imports":[{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/markdown/index.ts":{"bytes":1046,"imports":[{"path":"src/extensions/markdown/action.ts","kind":"import-statement","original":"./action"},{"path":"src/extensions/markdown/bundle.ts","kind":"import-statement","original":"./bundle"},{"path":"src/extensions/markdown/debug.ts","kind":"import-statement","original":"./debug"},{"path":"src/extensions/markdown/decorate.ts","kind":"import-statement","original":"./decorate"},{"path":"src/extensions/markdown/formatting.ts","kind":"import-statement","original":"./formatting"},{"path":"src/extensions/markdown/highlight.ts","kind":"import-statement","original":"./highlight"},{"path":"src/extensions/markdown/image.ts","kind":"import-statement","original":"./image"},{"path":"src/extensions/markdown/link.ts","kind":"import-statement","original":"./link"},{"path":"src/extensions/markdown/table.ts","kind":"import-statement","original":"./table"}],"format":"esm"},"src/extensions/mention.ts":{"bytes":4276,"imports":[{"path":"@codemirror/autocomplete","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/modal.ts":{"bytes":2086,"imports":[{"path":"@codemirror/state","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/modes.ts":{"bytes":3564,"imports":[{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@replit/codemirror-vim","kind":"import-statement","external":true},{"path":"@replit/codemirror-vscode-keymap","kind":"import-statement","external":true},{"path":"src/util/index.ts","kind":"import-statement","original":"../util"}],"format":"esm"},"src/extensions/outliner/tree.ts":{"bytes":30834,"imports":[{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/outliner/selection.ts":{"bytes":5055,"imports":[{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"src/extensions/outliner/tree.ts","kind":"import-statement","original":"./tree"}],"format":"esm"},"src/extensions/outliner/commands.ts":{"bytes":24948,"imports":[{"path":"@codemirror/commands","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"src/extensions/outliner/selection.ts","kind":"import-statement","original":"./selection"},{"path":"src/extensions/outliner/tree.ts","kind":"import-statement","original":"./tree"}],"format":"esm"},"src/extensions/outliner/editor.ts":{"bytes":23808,"imports":[{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"src/extensions/outliner/selection.ts","kind":"import-statement","original":"./selection"},{"path":"src/extensions/outliner/tree.ts","kind":"import-statement","original":"./tree"}],"format":"esm"},"src/extensions/outliner/menu.ts":{"bytes":13241,"imports":[{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/outliner/outliner.ts":{"bytes":16756,"imports":[{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"src/extensions/markdown/index.ts","kind":"import-statement","original":"../markdown"},{"path":"src/extensions/outliner/commands.ts","kind":"import-statement","original":"./commands"},{"path":"src/extensions/outliner/editor.ts","kind":"import-statement","original":"./editor"},{"path":"src/extensions/outliner/menu.ts","kind":"import-statement","original":"./menu"},{"path":"src/extensions/outliner/selection.ts","kind":"import-statement","original":"./selection"},{"path":"src/extensions/outliner/tree.ts","kind":"import-statement","original":"./tree"}],"format":"esm"},"src/extensions/outliner/index.ts":{"bytes":544,"imports":[{"path":"src/extensions/outliner/commands.ts","kind":"import-statement","original":"./commands"},{"path":"src/extensions/outliner/outliner.ts","kind":"import-statement","original":"./outliner"},{"path":"src/extensions/outliner/tree.ts","kind":"import-statement","original":"./tree"}],"format":"esm"},"src/extensions/preview/preview.ts":{"bytes":22196,"imports":[{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/preview/index.ts":{"bytes":375,"imports":[{"path":"src/extensions/preview/preview.ts","kind":"import-statement","original":"./preview"}],"format":"esm"},"src/extensions/replacer.ts":{"bytes":8986,"imports":[{"path":"@codemirror/view","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/spacing.ts":{"bytes":1340,"imports":[{"path":"@codemirror/view","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/snippets.ts":{"bytes":6478,"imports":[{"path":"@codemirror/view","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/submit.ts":{"bytes":5676,"imports":[{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/tags/extended-markdown.ts":{"bytes":16267,"imports":[{"path":"@codemirror/lang-xml","kind":"import-statement","external":true},{"path":"@lezer/common","kind":"import-statement","external":true},{"path":"src/extensions/markdown/index.ts","kind":"import-statement","original":"../markdown"}],"format":"esm"},"src/extensions/tags/fader.ts":{"bytes":22242,"imports":[{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/tags/typewriter.ts":{"bytes":67677,"imports":[{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/ui","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/tags/xml-block-decoration.ts":{"bytes":12749,"imports":[{"path":"@codemirror/lang-xml","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/tags/xml-formatting.ts":{"bytes":14487,"imports":[{"path":"@codemirror/lang-xml","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/tags/xml-util.ts":{"bytes":16286,"imports":[{"path":"@dxos/invariant","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/tags/xml-tags.ts":{"bytes":70176,"imports":[{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/ui","kind":"import-statement","external":true},{"path":"src/util/index.ts","kind":"import-statement","original":"../../util"},{"path":"src/extensions/scrolling/index.ts","kind":"import-statement","original":"../scrolling"},{"path":"src/extensions/tags/xml-util.ts","kind":"import-statement","original":"./xml-util"}],"format":"esm"},"src/extensions/tags/index.ts":{"bytes":886,"imports":[{"path":"src/extensions/tags/extended-markdown.ts","kind":"import-statement","original":"./extended-markdown"},{"path":"src/extensions/tags/fader.ts","kind":"import-statement","original":"./fader"},{"path":"src/extensions/tags/typewriter.ts","kind":"import-statement","original":"./typewriter"},{"path":"src/extensions/tags/xml-block-decoration.ts","kind":"import-statement","original":"./xml-block-decoration"},{"path":"src/extensions/tags/xml-formatting.ts","kind":"import-statement","original":"./xml-formatting"},{"path":"src/extensions/tags/xml-tags.ts","kind":"import-statement","original":"./xml-tags"}],"format":"esm"},"src/extensions/index.ts":{"bytes":2869,"imports":[{"path":"src/extensions/annotations.ts","kind":"import-statement","original":"./annotations"},{"path":"src/extensions/autocomplete/index.ts","kind":"import-statement","original":"./autocomplete"},{"path":"src/extensions/automerge/index.ts","kind":"import-statement","original":"./automerge"},{"path":"src/extensions/awareness/index.ts","kind":"import-statement","original":"./awareness"},{"path":"src/extensions/blast.ts","kind":"import-statement","original":"./blast"},{"path":"src/extensions/blocks.ts","kind":"import-statement","original":"./blocks"},{"path":"src/extensions/bookmarks.ts","kind":"import-statement","original":"./bookmarks"},{"path":"src/extensions/comments.ts","kind":"import-statement","original":"./comments"},{"path":"src/extensions/debug.ts","kind":"import-statement","original":"./debug"},{"path":"src/extensions/dnd.ts","kind":"import-statement","original":"./dnd"},{"path":"src/extensions/factories.ts","kind":"import-statement","original":"./factories"},{"path":"src/extensions/focus.ts","kind":"import-statement","original":"./focus"},{"path":"src/extensions/folding.ts","kind":"import-statement","original":"./folding"},{"path":"src/extensions/hashtag.ts","kind":"import-statement","original":"./hashtag"},{"path":"src/extensions/json.ts","kind":"import-statement","original":"./json"},{"path":"src/extensions/listener.ts","kind":"import-statement","original":"./listener"},{"path":"src/extensions/markdown/index.ts","kind":"import-statement","original":"./markdown"},{"path":"src/extensions/mention.ts","kind":"import-statement","original":"./mention"},{"path":"src/extensions/modal.ts","kind":"import-statement","original":"./modal"},{"path":"src/extensions/modes.ts","kind":"import-statement","original":"./modes"},{"path":"src/extensions/outliner/index.ts","kind":"import-statement","original":"./outliner"},{"path":"src/extensions/preview/index.ts","kind":"import-statement","original":"./preview"},{"path":"src/extensions/replacer.ts","kind":"import-statement","original":"./replacer"},{"path":"src/extensions/scrolling/index.ts","kind":"import-statement","original":"./scrolling"},{"path":"src/extensions/selection.ts","kind":"import-statement","original":"./selection"},{"path":"src/extensions/spacing.ts","kind":"import-statement","original":"./spacing"},{"path":"src/extensions/snippets.ts","kind":"import-statement","original":"./snippets"},{"path":"src/extensions/state.ts","kind":"import-statement","original":"./state"},{"path":"src/extensions/submit.ts","kind":"import-statement","original":"./submit"},{"path":"src/extensions/tags/index.ts","kind":"import-statement","original":"./tags"}],"format":"esm"},"src/index.ts":{"bytes":1326,"imports":[{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@lezer/highlight","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/echo/model/text","kind":"import-statement","external":true},{"path":"src/defaults.ts","kind":"import-statement","original":"./defaults"},{"path":"src/extensions/index.ts","kind":"import-statement","original":"./extensions"},{"path":"src/util/index.ts","kind":"import-statement","original":"./util"}],"format":"esm"},"src/types/types.ts":{"bytes":3536,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true}],"format":"esm"},"src/types/index.ts":{"bytes":369,"imports":[{"path":"src/types/types.ts","kind":"import-statement","original":"./types"}],"format":"esm"}},"outputs":{"dist/lib/node-esm/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":562183},"dist/lib/node-esm/index.mjs":{"imports":[{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@lezer/highlight","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/echo/model/text","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@automerge/automerge","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/echo-client","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@dxos/echo-client","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@automerge/automerge","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@automerge/automerge","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"lodash.defaultsdeep","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@codemirror/commands","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"lodash.sortby","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@codemirror/autocomplete","kind":"import-statement","external":true},{"path":"@codemirror/commands","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/search","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@uiw/codemirror-theme-vscode","kind":"import-statement","external":true},{"path":"lodash.defaultsdeep","kind":"import-statement","external":true},{"path":"@dxos/display-name","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/ui","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@codemirror/lang-json","kind":"import-statement","external":true},{"path":"@codemirror/lint","kind":"import-statement","external":true},{"path":"ajv","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@codemirror/autocomplete","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@codemirror/autocomplete","kind":"import-statement","external":true},{"path":"@codemirror/commands","kind":"import-statement","external":true},{"path":"@codemirror/lang-json","kind":"import-statement","external":true},{"path":"@codemirror/lang-markdown","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/language-data","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@codemirror/lang-markdown","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@lezer/highlight","kind":"import-statement","external":true},{"path":"@lezer/markdown","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@codemirror/autocomplete","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@replit/codemirror-vim","kind":"import-statement","external":true},{"path":"@replit/codemirror-vscode-keymap","kind":"import-statement","external":true},{"path":"@codemirror/commands","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@codemirror/lang-xml","kind":"import-statement","external":true},{"path":"@lezer/common","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/ui","kind":"import-statement","external":true},{"path":"@codemirror/lang-xml","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@codemirror/lang-xml","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/ui","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true}],"exports":["Cursor","EditorState","EditorView","Inline","InputModeExtensions","List","PlaceholderWidget","RemoteSelectionsDecorator","SpaceAwarenessProvider","TextKind","Tree","addBlockquote","addBookmark","addCodeblock","addLink","addList","addStyle","annotations","autoScroll","autoScrollEffect","autocomplete","automerge","awareness","awarenessProvider","blast","blocks","bookmarks","clearBookmarks","clientRectsFor","commands","commentClickedEffect","comments","commentsState","compactSlots","convertTreeToJson","crawler","crawlerActiveEffect","crawlerLineEffect","createBasicExtensions","createComment","createCrawler","createDataExtensions","createEditorStateStore","createEditorStateTransaction","createExternalCommentSync","createJsonExtensions","createMarkdownExtensions","createThemeExtensions","debugDispatcher","debugNodeLogger","debugTree","decorateMarkdown","decorationSetToArray","defaultExtensions","defaultOptions","defaultReplacements","defaultStyles","defaultThemeSlots","deleteItem","documentId","documentSlots","dropFile","editorClassNames","editorInputMode","extendedMarkdown","fader","filterChars","flattenRect","focus","focusField","folding","formattingEquals","formattingKeymap","formattingListener","fullWidth","getFormatting","getLinkRef","getListItemContent","getRange","getXmlTextChild","grow","hashtag","image","indentItemLess","indentItemMore","initialSync","insertAtCursor","insertAtLineStart","insertTable","isRangeVisible","itemToJSON","join","keymap","lineSpacing","linkTooltip","listItemToString","listener","logChanges","markdownHighlightStyle","markdownTags","markdownTagsExtensions","matchCompletion","mention","mobileSlots","modalStateEffect","modalStateField","moveItemDown","moveItemUp","navigateNextEffect","navigatePreviousEffect","outliner","outlinerTree","overlap","placeholder","preview","processEditorPayload","removeBlockquote","removeBookmark","removeCodeblock","removeLink","removeList","removeStyle","replacer","scrollPastEnd","scrollThreadIntoView","scrollToLine","scrollbarAutohide","scroller","selectionState","setBlockquote","setComments","setHeading","setSelection","setStyle","singleValueFacet","snippets","staticCompletion","submit","tabbable","table","tags","textRange","toggleBlockquote","toggleCodeblock","toggleEmphasis","toggleInlineCode","toggleList","toggleStrikethrough","toggleStrong","toggleStyle","toggleTask","traverse","treeFacet","typeahead","typewriter","typewriterBypass","typewriterDrainingEffect","wrapWithCatch","xmlBlockDecoration","xmlElementLength","xmlFormatting","xmlTagContextEffect","xmlTagResetEffect","xmlTagUpdateEffect","xmlTags"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":269},"src/defaults.ts":{"bytesInOutput":1262},"src/extensions/annotations.ts":{"bytesInOutput":1139},"src/extensions/autocomplete/autocomplete.ts":{"bytesInOutput":2775},"src/extensions/autocomplete/match.ts":{"bytesInOutput":684},"src/extensions/autocomplete/placeholder.ts":{"bytesInOutput":2694},"src/util/facet.ts":{"bytesInOutput":201},"src/util/cursor.ts":{"bytesInOutput":905},"src/util/decorations.ts":{"bytesInOutput":244},"src/util/debug.ts":{"bytesInOutput":993},"src/util/dom.ts":{"bytesInOutput":609},"src/util/util.ts":{"bytesInOutput":656},"src/extensions/autocomplete/typeahead.ts":{"bytesInOutput":1682},"src/extensions/automerge/automerge.ts":{"bytesInOutput":2616},"src/extensions/state.ts":{"bytesInOutput":109},"src/extensions/automerge/cursor.ts":{"bytesInOutput":687},"src/extensions/automerge/defs.ts":{"bytesInOutput":428},"src/extensions/automerge/sync.ts":{"bytesInOutput":1692},"src/extensions/automerge/update-automerge.ts":{"bytesInOutput":856},"src/extensions/automerge/update-codemirror.ts":{"bytesInOutput":2416},"src/extensions/automerge/index.ts":{"bytesInOutput":0},"src/extensions/awareness/awareness.ts":{"bytesInOutput":7152},"src/extensions/awareness/awareness-provider.ts":{"bytesInOutput":2593},"src/extensions/blast.ts":{"bytesInOutput":8545},"src/extensions/blocks.ts":{"bytesInOutput":3103},"src/extensions/bookmarks.ts":{"bytesInOutput":1763},"src/extensions/comments.ts":{"bytesInOutput":13120},"src/extensions/selection.ts":{"bytesInOutput":2568},"src/extensions/debug.ts":{"bytesInOutput":389},"src/extensions/dnd.ts":{"bytesInOutput":831},"src/extensions/factories.ts":{"bytesInOutput":7025},"src/styles/theme.ts":{"bytesInOutput":8408},"src/extensions/focus.ts":{"bytesInOutput":771},"src/extensions/scrolling/auto-scroll.ts":{"bytesInOutput":6531},"src/extensions/scrolling/crawler.ts":{"bytesInOutput":5883},"src/extensions/scrolling/scroll-past-end.ts":{"bytesInOutput":735},"src/extensions/scrolling/scrollbar-autohide.ts":{"bytesInOutput":1766},"src/extensions/scrolling/scroller.ts":{"bytesInOutput":278},"src/extensions/folding.ts":{"bytesInOutput":966},"src/extensions/hashtag.ts":{"bytesInOutput":1232},"src/extensions/json.ts":{"bytesInOutput":1052},"src/extensions/listener.ts":{"bytesInOutput":612},"src/extensions/markdown/formatting.ts":{"bytesInOutput":35271},"src/extensions/markdown/action.ts":{"bytesInOutput":1462},"src/extensions/markdown/bundle.ts":{"bytesInOutput":2574},"src/extensions/markdown/highlight.ts":{"bytesInOutput":4559},"src/extensions/markdown/debug.ts":{"bytesInOutput":775},"src/extensions/markdown/decorate.ts":{"bytesInOutput":16740},"src/extensions/markdown/changes.ts":{"bytesInOutput":4055},"src/extensions/markdown/image.ts":{"bytesInOutput":4168},"src/extensions/markdown/styles.ts":{"bytesInOutput":3618},"src/extensions/markdown/table.ts":{"bytesInOutput":4042},"src/extensions/markdown/link.ts":{"bytesInOutput":1286},"src/extensions/mention.ts":{"bytesInOutput":986},"src/extensions/modal.ts":{"bytesInOutput":413},"src/extensions/modes.ts":{"bytesInOutput":733},"src/extensions/outliner/commands.ts":{"bytesInOutput":5776},"src/extensions/outliner/selection.ts":{"bytesInOutput":910},"src/extensions/outliner/tree.ts":{"bytesInOutput":7194},"src/extensions/outliner/outliner.ts":{"bytesInOutput":3244},"src/extensions/outliner/editor.ts":{"bytesInOutput":5236},"src/extensions/outliner/menu.ts":{"bytesInOutput":2629},"src/extensions/preview/preview.ts":{"bytesInOutput":4907},"src/extensions/replacer.ts":{"bytesInOutput":1837},"src/extensions/spacing.ts":{"bytesInOutput":255},"src/extensions/snippets.ts":{"bytesInOutput":1398},"src/extensions/submit.ts":{"bytesInOutput":1198},"src/extensions/tags/extended-markdown.ts":{"bytesInOutput":3279},"src/extensions/tags/fader.ts":{"bytesInOutput":5079},"src/extensions/tags/typewriter.ts":{"bytesInOutput":12327},"src/extensions/tags/xml-block-decoration.ts":{"bytesInOutput":2518},"src/extensions/tags/xml-formatting.ts":{"bytesInOutput":3019},"src/extensions/tags/xml-tags.ts":{"bytesInOutput":15351},"src/extensions/tags/xml-util.ts":{"bytesInOutput":3593}},"bytes":264689},"dist/lib/node-esm/types/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2007},"dist/lib/node-esm/types/index.mjs":{"imports":[{"path":"effect/Schema","kind":"import-statement","external":true}],"exports":["EditorInputMode","EditorInputModes","EditorViewMode","EditorViewModes"],"entryPoint":"src/types/index.ts","inputs":{"src/types/types.ts":{"bytesInOutput":608},"src/types/index.ts":{"bytesInOutput":0}},"bytes":845}}}
@@ -1,10 +1,31 @@
1
1
  import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
2
- import {
3
- EditorInputMode,
4
- EditorInputModes,
5
- EditorViewMode,
6
- EditorViewModes
7
- } from "../chunk-JRVJWKQF.mjs";
2
+
3
+ // src/types/types.ts
4
+ import * as Schema from "effect/Schema";
5
+ var EditorViewModes = [
6
+ "preview",
7
+ "readonly",
8
+ "source"
9
+ ];
10
+ var EditorViewMode = Schema.Union(Schema.Literal("preview").annotations({
11
+ title: "Preview"
12
+ }), Schema.Literal("readonly").annotations({
13
+ title: "Read-only"
14
+ }), Schema.Literal("source").annotations({
15
+ title: "Source"
16
+ }));
17
+ var EditorInputModes = [
18
+ "default",
19
+ "vim",
20
+ "vscode"
21
+ ];
22
+ var EditorInputMode = Schema.Union(Schema.Literal("default").annotations({
23
+ title: "Default"
24
+ }), Schema.Literal("vim").annotations({
25
+ title: "Vim"
26
+ }), Schema.Literal("vscode").annotations({
27
+ title: "VS Code"
28
+ }));
8
29
  export {
9
30
  EditorInputMode,
10
31
  EditorInputModes,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": [],
4
- "sourcesContent": [],
5
- "mappings": "",
6
- "names": []
3
+ "sources": ["../../../../src/types/types.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2024 DXOS.org\n//\n\nimport { type EditorView } from '@codemirror/view';\nimport * as Schema from 'effect/Schema';\n\n// Runtime data structure.\nexport type Range = {\n from: number;\n to: number;\n};\n\n// Persistent data structure.\n// TODO(burdon): Rename annotation?\nexport type Comment = {\n id: string;\n cursor?: string;\n};\n\n/**\n * Callback that renders into a DOM element within the editor.\n */\nexport type RenderCallback<Props extends object> = (el: HTMLElement, props: Props, view: EditorView) => void;\n\nexport const EditorViewModes = ['preview', 'readonly', 'source'] as const;\nexport const EditorViewMode = Schema.Union(\n Schema.Literal('preview').annotations({ title: 'Preview' }),\n Schema.Literal('readonly').annotations({ title: 'Read-only' }),\n Schema.Literal('source').annotations({ title: 'Source' }),\n);\nexport type EditorViewMode = Schema.Schema.Type<typeof EditorViewMode>;\n\nexport const EditorInputModes = ['default', 'vim', 'vscode'] as const;\nexport const EditorInputMode = Schema.Union(\n Schema.Literal('default').annotations({ title: 'Default' }),\n Schema.Literal('vim').annotations({ title: 'Vim' }),\n Schema.Literal('vscode').annotations({ title: 'VS Code' }),\n);\nexport type EditorInputMode = Schema.Schema.Type<typeof EditorInputMode>;\n"],
5
+ "mappings": ";;;AAKA,YAAYA,YAAY;AAoBjB,IAAMC,kBAAkB;EAAC;EAAW;EAAY;;AAChD,IAAMC,iBAAwBC,aAC5BC,eAAQ,SAAA,EAAWC,YAAY;EAAEC,OAAO;AAAU,CAAA,GAClDF,eAAQ,UAAA,EAAYC,YAAY;EAAEC,OAAO;AAAY,CAAA,GACrDF,eAAQ,QAAA,EAAUC,YAAY;EAAEC,OAAO;AAAS,CAAA,CAAA;AAIlD,IAAMC,mBAAmB;EAAC;EAAW;EAAO;;AAC5C,IAAMC,kBAAyBL,aAC7BC,eAAQ,SAAA,EAAWC,YAAY;EAAEC,OAAO;AAAU,CAAA,GAClDF,eAAQ,KAAA,EAAOC,YAAY;EAAEC,OAAO;AAAM,CAAA,GAC1CF,eAAQ,QAAA,EAAUC,YAAY;EAAEC,OAAO;AAAU,CAAA,CAAA;",
6
+ "names": ["Schema", "EditorViewModes", "EditorViewMode", "Union", "Literal", "annotations", "title", "EditorInputModes", "EditorInputMode"]
7
7
  }
@@ -1 +1 @@
1
- {"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../../src/defaults.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,cAAc,CAAC;AAG3D,eAAO,MAAM,gBAAgB,GAAI,OAAO,MAAM,WAI3C,CAAC;AAEJ,eAAO,MAAM,aAAa,EAAE,sBAAsB,CAAC,OAAO,CAgBzD,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,sBAAsB,CAAC,OAAO,CAIxD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,sBAAsB,CAAC,OAAO,CAIvD,CAAC"}
1
+ {"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../../src/defaults.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,cAAc,CAAC;AAE3D,eAAO,MAAM,gBAAgB,UAAW,MAAM,WAI3C,CAAC;AAEJ,eAAO,MAAM,aAAa,EAAE,sBAAsB,CAAC,OAAO,CAmBzD,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,sBAAsB,CAAC,OAAO,CAIxD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,sBAAsB,CAAC,OAAO,CAIvD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"annotations.d.ts","sourceRoot":"","sources":["../../../../src/extensions/annotations.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,SAAS,EAAmB,MAAM,mBAAmB,CAAC;AAKpE,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,GAAI,YAAW,iBAAsB,KAAG,SAsC/D,CAAC"}
1
+ {"version":3,"file":"annotations.d.ts","sourceRoot":"","sources":["../../../../src/extensions/annotations.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,SAAS,EAAmB,MAAM,mBAAmB,CAAC;AAKpE,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,eAAe,iBAAiB,KAAQ,SAsC/D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"autocomplete.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/autocomplete/autocomplete.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,SAAS,EAAQ,MAAM,mBAAmB,CAAC;AAWzD,MAAM,MAAM,mBAAmB,GAAG;IAChC;;;;OAIG;IACH,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,EAAE,CAAC;CACxC,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,YAAY,GAAI,gBAAe,mBAAwB,KAAG,SAuGtE,CAAC"}
1
+ {"version":3,"file":"autocomplete.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/autocomplete/autocomplete.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,SAAS,EAAQ,MAAM,mBAAmB,CAAC;AAWzD,MAAM,MAAM,mBAAmB,GAAG;IAChC;;;;OAIG;IACH,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,EAAE,CAAC;CACxC,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,YAAY,mBAAmB,mBAAmB,KAAQ,SAuGtE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"match.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/autocomplete/match.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,iBAAiB,GAAG;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AAEjD,MAAM,MAAM,iBAAiB,GAAG;IAC9B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gBAAgB,GAC1B,aAAa,MAAM,EAAE,EAAE,UAAS,iBAAsB,MACtD,UAAU,iBAAiB,uBAiB3B,CAAC;AAEJ,eAAO,MAAM,eAAe,GAAI,YAAY,MAAM,EAAE,KAAK,MAAM,EAAE,kBAAa,KAAG,MAAM,GAAG,SAUzF,CAAC"}
1
+ {"version":3,"file":"match.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/autocomplete/match.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,iBAAiB,GAAG;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AAEjD,MAAM,MAAM,iBAAiB,GAAG;IAC9B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gBAAgB,gBACb,MAAM,EAAE,YAAW,iBAAiB,gBACvC,iBAAiB,uBAiB3B,CAAC;AAEJ,eAAO,MAAM,eAAe,eAAgB,MAAM,OAAO,MAAM,yBAAkB,MAAM,GAAG,SAUzF,CAAC"}
@@ -4,11 +4,14 @@ type Content = string | HTMLElement | ((view: EditorView) => HTMLElement);
4
4
  export type PlaceholderOptions = {
5
5
  content: Content;
6
6
  delay?: number;
7
+ focusOnly?: boolean;
7
8
  };
8
9
  /**
9
- * Shows a transient placeholder at the current cursor position.
10
+ * Shows a transient placeholder at the current cursor position. When
11
+ * `focusOnly` is set the placeholder is suppressed unless the editor has DOM
12
+ * focus, and is hidden again when focus is lost.
10
13
  */
11
- export declare const placeholder: ({ content, delay }: PlaceholderOptions) => Extension;
14
+ export declare const placeholder: ({ content, delay, focusOnly }: PlaceholderOptions) => Extension;
12
15
  export declare class PlaceholderWidget extends WidgetType {
13
16
  readonly content: Content;
14
17
  constructor(content: Content);
@@ -1 +1 @@
1
- {"version":3,"file":"placeholder.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/autocomplete/placeholder.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAc,UAAU,EAA+B,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAInG,KAAK,OAAO,GAAG,MAAM,GAAG,WAAW,GAAG,CAAC,CAAC,IAAI,EAAE,UAAU,KAAK,WAAW,CAAC,CAAC;AAE1E,MAAM,MAAM,kBAAkB,GAAG;IAC/B,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,GAAI,oBAA4B,kBAAkB,KAAG,SAiD5E,CAAC;AAEF,qBAAa,iBAAkB,SAAQ,UAAU;IACnC,QAAQ,CAAC,OAAO,EAAE,OAAO;gBAAhB,OAAO,EAAE,OAAO;IAIrC,KAAK,CAAC,IAAI,EAAE,UAAU;IAgBb,QAAQ,CAAC,GAAG,EAAE,WAAW;IAqBzB,WAAW;CAGrB"}
1
+ {"version":3,"file":"placeholder.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/autocomplete/placeholder.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAc,UAAU,EAA+B,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAInG,KAAK,OAAO,GAAG,MAAM,GAAG,WAAW,GAAG,CAAC,CAAC,IAAI,EAAE,UAAU,KAAK,WAAW,CAAC,CAAC;AAE1E,MAAM,MAAM,kBAAkB,GAAG;IAC/B,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,WAAW,kCAAmD,kBAAkB,KAAG,SAiE/F,CAAC;AAEF,qBAAa,iBAAkB,SAAQ,UAAU;IACnC,QAAQ,CAAC,OAAO,EAAE,OAAO;IAArC,YAAqB,OAAO,EAAE,OAAO,EAEpC;IAED,KAAK,CAAC,IAAI,EAAE,UAAU,mBAcrB;IAEQ,QAAQ,CAAC,GAAG,EAAE,WAAW,+BAmBjC;IAEQ,WAAW,YAEnB;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"typeahead.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/autocomplete/typeahead.ts"],"names":[],"mappings":"AAIA,OAAO,EAAmB,KAAK,SAAS,EAAyB,MAAM,mBAAmB,CAAC;AAW3F,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAIjD,MAAM,MAAM,gBAAgB,GAAG;IAC7B,UAAU,CAAC,EAAE,CAAC,OAAO,EAAE,iBAAiB,KAAK,MAAM,GAAG,SAAS,CAAC;CACjE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,SAAS,GAAI,iBAAgB,gBAAqB,KAAG,SA4DjE,CAAC"}
1
+ {"version":3,"file":"typeahead.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/autocomplete/typeahead.ts"],"names":[],"mappings":"AAIA,OAAO,EAAmB,KAAK,SAAS,EAAyB,MAAM,mBAAmB,CAAC;AAW3F,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAIjD,MAAM,MAAM,gBAAgB,GAAG;IAC7B,UAAU,CAAC,EAAE,CAAC,OAAO,EAAE,iBAAiB,KAAK,MAAM,GAAG,SAAS,CAAC;CACjE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,SAAS,oBAAoB,gBAAgB,KAAQ,SA4DjE,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import { type Extension } from '@codemirror/state';
2
- import { DocAccessor } from '@dxos/echo-db';
2
+ import { DocAccessor } from '@dxos/echo-client';
3
3
  export declare const automerge: (accessor: DocAccessor) => Extension;
4
4
  //# sourceMappingURL=automerge.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"automerge.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/automerge/automerge.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,SAAS,EAA2B,MAAM,mBAAmB,CAAC;AAG5E,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAQ5C,eAAO,MAAM,SAAS,GAAI,UAAU,WAAW,KAAG,SAoFjD,CAAC"}
1
+ {"version":3,"file":"automerge.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/automerge/automerge.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,SAAS,EAA2B,MAAM,mBAAmB,CAAC;AAG5E,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAQhD,eAAO,MAAM,SAAS,aAAc,WAAW,KAAG,SAoFjD,CAAC"}
@@ -1,4 +1,4 @@
1
- import { type DocAccessor } from '@dxos/echo-db';
1
+ import { type DocAccessor } from '@dxos/echo-client';
2
2
  import { type CursorConverter } from '../../util';
3
3
  export declare const cursorConverter: (accessor: DocAccessor) => CursorConverter;
4
4
  //# sourceMappingURL=cursor.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"cursor.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/automerge/cursor.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,WAAW,EAAwB,MAAM,eAAe,CAAC;AAGvE,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,YAAY,CAAC;AAElD,eAAO,MAAM,eAAe,GAAI,UAAU,WAAW,KAAG,eAkBtD,CAAC"}
1
+ {"version":3,"file":"cursor.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/automerge/cursor.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,WAAW,EAAwB,MAAM,mBAAmB,CAAC;AAG3E,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,YAAY,CAAC;AAElD,eAAO,MAAM,eAAe,aAAc,WAAW,KAAG,eAkBtD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/automerge/defs.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,KAAK,EAAE,KAAK,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAc,KAAK,WAAW,EAAE,WAAW,EAAE,KAAK,UAAU,EAAE,KAAK,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEjH,MAAM,MAAM,KAAK,GAAG;IAClB,IAAI,EAAE,IAAI,EAAE,CAAC;IACb,SAAS,EAAE,KAAK,CAAC;IACjB,wBAAwB,EAAE,WAAW,EAAE,CAAC;CACzC,CAAC;AAEF,eAAO,MAAM,OAAO,GAAI,OAAO,WAAW,EAAE,OAAO,UAAU,CAAC,KAAK,CAAC,KAAG,IAAI,EAA6B,CAAC;AACzG,eAAO,MAAM,YAAY,GAAI,OAAO,WAAW,EAAE,OAAO,UAAU,CAAC,KAAK,CAAC,KAAG,KAAqC,CAAC;AAElH,MAAM,MAAM,WAAW,GAAG;IACxB,QAAQ,EAAE,KAAK,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,iBAAiB,0DAAsC,CAAC;AAErE,eAAO,MAAM,WAAW,GAAI,UAAU,KAAK,KAAG,WAAW,CAAC,WAAW,CAAuC,CAAC;AAE7G,eAAO,MAAM,mBAAmB,qDAA+B,CAAC;AAEhE,eAAO,MAAM,WAAW,GAAI,IAAI,WAAW,KAAG,OAE7C,CAAC"}
1
+ {"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/automerge/defs.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,KAAK,EAAE,KAAK,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAc,KAAK,WAAW,EAAE,WAAW,EAAE,KAAK,UAAU,EAAE,KAAK,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEjH,MAAM,MAAM,KAAK,GAAG;IAClB,IAAI,EAAE,IAAI,EAAE,CAAC;IACb,SAAS,EAAE,KAAK,CAAC;IACjB,wBAAwB,EAAE,WAAW,EAAE,CAAC;CACzC,CAAC;AAEF,eAAO,MAAM,OAAO,UAAW,WAAW,SAAS,UAAU,CAAC,KAAK,CAAC,KAAG,IAAI,EAA6B,CAAC;AACzG,eAAO,MAAM,YAAY,UAAW,WAAW,SAAS,UAAU,CAAC,KAAK,CAAC,KAAG,KAAqC,CAAC;AAElH,MAAM,MAAM,WAAW,GAAG;IACxB,QAAQ,EAAE,KAAK,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,iBAAiB,0DAAsC,CAAC;AAErE,eAAO,MAAM,WAAW,aAAc,KAAK,KAAG,WAAW,CAAC,WAAW,CAAuC,CAAC;AAE7G,eAAO,MAAM,mBAAmB,qDAA+B,CAAC;AAEhE,eAAO,MAAM,WAAW,OAAQ,WAAW,KAAG,OAE7C,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { type StateField } from '@codemirror/state';
2
2
  import { type EditorView } from '@codemirror/view';
3
- import { type IDocHandle } from '@dxos/echo-db';
3
+ import { type IDocHandle } from '@dxos/echo-client';
4
4
  import { type State } from './defs';
5
5
  /**
6
6
  * Implements three-way merge (on each mutation).
@@ -1 +1 @@
1
- {"version":3,"file":"sync.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/automerge/sync.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEnD,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,eAAe,CAAC;AAGhD,OAAO,EAAE,KAAK,KAAK,EAAwE,MAAM,QAAQ,CAAC;AAI1G;;GAEG;AACH,qBAAa,MAAM;IAKf,OAAO,CAAC,QAAQ,CAAC,OAAO;IACxB,OAAO,CAAC,QAAQ,CAAC,MAAM;IALzB,OAAO,CAAC,QAAQ,CAAS;gBAIN,OAAO,EAAE,UAAU,EACnB,MAAM,EAAE,UAAU,CAAC,KAAK,CAAC;IAG5C,SAAS,CAAC,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,GAAG,IAAI;IAclD,OAAO,CAAC,cAAc;IAetB,OAAO,CAAC,iBAAiB;CAoB1B"}
1
+ {"version":3,"file":"sync.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/automerge/sync.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEnD,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAGpD,OAAO,EAAE,KAAK,KAAK,EAAwE,MAAM,QAAQ,CAAC;AAI1G;;GAEG;AACH,qBAAa,MAAM;IAKf,OAAO,CAAC,QAAQ,CAAC,OAAO;IACxB,OAAO,CAAC,QAAQ,CAAC,MAAM;IALzB,OAAO,CAAC,QAAQ,CAAS;IAGzB,YACmB,OAAO,EAAE,UAAU,EACnB,MAAM,EAAE,UAAU,CAAC,KAAK,CAAC,EACxC;IAEJ,SAAS,CAAC,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,GAAG,IAAI,CAYjD;IAED,OAAO,CAAC,cAAc;IAetB,OAAO,CAAC,iBAAiB;CAoB1B"}
@@ -1,6 +1,6 @@
1
1
  import { type Heads } from '@automerge/automerge';
2
2
  import { type EditorState, type StateField, type Transaction } from '@codemirror/state';
3
- import { type IDocHandle } from '@dxos/echo-db';
3
+ import { type IDocHandle } from '@dxos/echo-client';
4
4
  import { type State } from './defs';
5
5
  export declare const updateAutomerge: (field: StateField<State>, handle: IDocHandle, transactions: Transaction[], state: EditorState) => Heads | undefined;
6
6
  //# sourceMappingURL=update-automerge.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-automerge.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/automerge/update-automerge.ts"],"names":[],"mappings":"AAMA,OAAO,EAAa,KAAK,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,UAAU,EAAa,KAAK,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEnG,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,QAAQ,CAAC;AAEpC,eAAO,MAAM,eAAe,GAC1B,OAAO,UAAU,CAAC,KAAK,CAAC,EACxB,QAAQ,UAAU,EAClB,cAAc,WAAW,EAAE,EAC3B,OAAO,WAAW,KACjB,KAAK,GAAG,SA+BV,CAAC"}
1
+ {"version":3,"file":"update-automerge.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/automerge/update-automerge.ts"],"names":[],"mappings":"AAMA,OAAO,EAAa,KAAK,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,UAAU,EAAa,KAAK,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEnG,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAEpD,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,QAAQ,CAAC;AAEpC,eAAO,MAAM,eAAe,UACnB,UAAU,CAAC,KAAK,CAAC,UAChB,UAAU,gBACJ,WAAW,EAAE,SACpB,WAAW,KACjB,KAAK,GAAG,SA+BV,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"update-codemirror.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/automerge/update-codemirror.ts"],"names":[],"mappings":"AAMA,OAAO,EAGL,KAAK,KAAK,EACV,KAAK,IAAI,EAGV,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAA8B,KAAK,eAAe,EAAoB,MAAM,mBAAmB,CAAC;AACvG,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAInD,eAAO,MAAM,gBAAgB,GAAI,MAAM,UAAU,EAAE,WAAW,eAAe,EAAE,QAAQ,IAAI,EAAE,EAAE,SAAS,KAAK,EAAE,SAiB9G,CAAC"}
1
+ {"version":3,"file":"update-codemirror.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/automerge/update-codemirror.ts"],"names":[],"mappings":"AAMA,OAAO,EAGL,KAAK,KAAK,EACV,KAAK,IAAI,EAGV,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAA8B,KAAK,eAAe,EAAoB,MAAM,mBAAmB,CAAC;AACvG,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAInD,eAAO,MAAM,gBAAgB,SAAU,UAAU,aAAa,eAAe,UAAU,IAAI,EAAE,WAAW,KAAK,EAAE,SAiB9G,CAAC"}