@jvs-milkdown/prose 1.0.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 (119) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +11 -0
  3. package/lib/changeset.d.ts +2 -0
  4. package/lib/changeset.d.ts.map +1 -0
  5. package/lib/changeset.js +2 -0
  6. package/lib/changeset.js.map +1 -0
  7. package/lib/commands.d.ts +2 -0
  8. package/lib/commands.d.ts.map +1 -0
  9. package/lib/commands.js +2 -0
  10. package/lib/commands.js.map +1 -0
  11. package/lib/dropcursor.d.ts +2 -0
  12. package/lib/dropcursor.d.ts.map +1 -0
  13. package/lib/dropcursor.js +2 -0
  14. package/lib/dropcursor.js.map +1 -0
  15. package/lib/gapcursor.d.ts +2 -0
  16. package/lib/gapcursor.d.ts.map +1 -0
  17. package/lib/gapcursor.js +2 -0
  18. package/lib/gapcursor.js.map +1 -0
  19. package/lib/history.d.ts +2 -0
  20. package/lib/history.d.ts.map +1 -0
  21. package/lib/history.js +2 -0
  22. package/lib/history.js.map +1 -0
  23. package/lib/index.d.ts +132 -0
  24. package/lib/index.d.ts.map +1 -0
  25. package/lib/index.js +402 -0
  26. package/lib/index.js.map +1 -0
  27. package/lib/inputrules.d.ts +2 -0
  28. package/lib/inputrules.d.ts.map +1 -0
  29. package/lib/inputrules.js +2 -0
  30. package/lib/inputrules.js.map +1 -0
  31. package/lib/keymap.d.ts +2 -0
  32. package/lib/keymap.d.ts.map +1 -0
  33. package/lib/keymap.js +2 -0
  34. package/lib/keymap.js.map +1 -0
  35. package/lib/model.d.ts +2 -0
  36. package/lib/model.d.ts.map +1 -0
  37. package/lib/model.js +2 -0
  38. package/lib/model.js.map +1 -0
  39. package/lib/schema-list.d.ts +2 -0
  40. package/lib/schema-list.d.ts.map +1 -0
  41. package/lib/schema-list.js +2 -0
  42. package/lib/schema-list.js.map +1 -0
  43. package/lib/state.d.ts +2 -0
  44. package/lib/state.d.ts.map +1 -0
  45. package/lib/state.js +2 -0
  46. package/lib/state.js.map +1 -0
  47. package/lib/style/gapcursor.css +25 -0
  48. package/lib/style/prosemirror.css +54 -0
  49. package/lib/style/tables.css +48 -0
  50. package/lib/tables.d.ts +2 -0
  51. package/lib/tables.d.ts.map +1 -0
  52. package/lib/tables.js +2 -0
  53. package/lib/tables.js.map +1 -0
  54. package/lib/toolkit/browser.d.ts +17 -0
  55. package/lib/toolkit/browser.d.ts.map +1 -0
  56. package/lib/toolkit/index.d.ts +5 -0
  57. package/lib/toolkit/index.d.ts.map +1 -0
  58. package/lib/toolkit/input-rules/common.d.ts +20 -0
  59. package/lib/toolkit/input-rules/common.d.ts.map +1 -0
  60. package/lib/toolkit/input-rules/custom-input-rules.d.ts +7 -0
  61. package/lib/toolkit/input-rules/custom-input-rules.d.ts.map +1 -0
  62. package/lib/toolkit/input-rules/index.d.ts +5 -0
  63. package/lib/toolkit/input-rules/index.d.ts.map +1 -0
  64. package/lib/toolkit/input-rules/mark-rule.d.ts +5 -0
  65. package/lib/toolkit/input-rules/mark-rule.d.ts.map +1 -0
  66. package/lib/toolkit/input-rules/node-rule.d.ts +5 -0
  67. package/lib/toolkit/input-rules/node-rule.d.ts.map +1 -0
  68. package/lib/toolkit/position/index.d.ts +13 -0
  69. package/lib/toolkit/position/index.d.ts.map +1 -0
  70. package/lib/toolkit/prose/helper.d.ts +6 -0
  71. package/lib/toolkit/prose/helper.d.ts.map +1 -0
  72. package/lib/toolkit/prose/index.d.ts +5 -0
  73. package/lib/toolkit/prose/index.d.ts.map +1 -0
  74. package/lib/toolkit/prose/node.d.ts +17 -0
  75. package/lib/toolkit/prose/node.d.ts.map +1 -0
  76. package/lib/toolkit/prose/schema.d.ts +4 -0
  77. package/lib/toolkit/prose/schema.d.ts.map +1 -0
  78. package/lib/toolkit/prose/selection.d.ts +19 -0
  79. package/lib/toolkit/prose/selection.d.ts.map +1 -0
  80. package/lib/toolkit/prose/types.d.ts +3 -0
  81. package/lib/toolkit/prose/types.d.ts.map +1 -0
  82. package/lib/transform.d.ts +2 -0
  83. package/lib/transform.d.ts.map +1 -0
  84. package/lib/transform.js +2 -0
  85. package/lib/transform.js.map +1 -0
  86. package/lib/tsconfig.tsbuildinfo +1 -0
  87. package/lib/view.d.ts +2 -0
  88. package/lib/view.d.ts.map +1 -0
  89. package/lib/view.js +2 -0
  90. package/lib/view.js.map +1 -0
  91. package/package.json +141 -0
  92. package/src/changeset.ts +1 -0
  93. package/src/commands.ts +1 -0
  94. package/src/dropcursor.ts +1 -0
  95. package/src/gapcursor.ts +1 -0
  96. package/src/history.ts +1 -0
  97. package/src/index.ts +1 -0
  98. package/src/inputrules.ts +1 -0
  99. package/src/keymap.ts +1 -0
  100. package/src/model.ts +1 -0
  101. package/src/schema-list.ts +1 -0
  102. package/src/state.ts +1 -0
  103. package/src/tables.ts +1 -0
  104. package/src/toolkit/browser.ts +39 -0
  105. package/src/toolkit/index.ts +4 -0
  106. package/src/toolkit/input-rules/common.ts +25 -0
  107. package/src/toolkit/input-rules/custom-input-rules.ts +113 -0
  108. package/src/toolkit/input-rules/index.ts +4 -0
  109. package/src/toolkit/input-rules/mark-rule.ts +60 -0
  110. package/src/toolkit/input-rules/node-rule.ts +51 -0
  111. package/src/toolkit/position/index.ts +108 -0
  112. package/src/toolkit/prose/helper.ts +30 -0
  113. package/src/toolkit/prose/index.ts +4 -0
  114. package/src/toolkit/prose/node.ts +63 -0
  115. package/src/toolkit/prose/schema.ts +19 -0
  116. package/src/toolkit/prose/selection.ts +97 -0
  117. package/src/toolkit/prose/types.ts +3 -0
  118. package/src/transform.ts +1 -0
  119. package/src/view.ts +1 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../src/toolkit/browser.ts","../src/toolkit/input-rules/custom-input-rules.ts","../src/toolkit/input-rules/mark-rule.ts","../src/toolkit/input-rules/node-rule.ts","../src/toolkit/position/index.ts","../src/toolkit/prose/helper.ts","../src/toolkit/prose/node.ts","../src/toolkit/prose/schema.ts","../src/toolkit/prose/selection.ts"],"sourcesContent":["/**\n * Copy paste from:\n * https://github.com/ProseMirror/prosemirror-view/blob/master/src/browser.ts\n */\n\nconst nav = typeof navigator != 'undefined' ? navigator : null\nconst doc = typeof document != 'undefined' ? document : null\nconst agent = (nav && nav.userAgent) || ''\n\nconst ie_edge = /Edge\\/(\\d+)/.exec(agent)\nconst ie_upto10 = /MSIE \\d/.exec(agent)\nconst ie_11up = /Trident\\/(?:[7-9]|\\d{2,})\\..*rv:(\\d+)/.exec(agent)\n\nexport const ie = !!(ie_upto10 || ie_11up || ie_edge)\nexport const ie_version = ie_upto10\n ? (document as typeof document & { documentMode: unknown }).documentMode\n : ie_11up\n ? +ie_11up[1]!\n : ie_edge\n ? +ie_edge[1]!\n : 0\nexport const gecko = !ie && /gecko\\/(\\d+)/i.test(agent)\nexport const gecko_version =\n gecko && +(/Firefox\\/(\\d+)/.exec(agent) || [0, 0])[1]\n\nconst _chrome = !ie && /Chrome\\/(\\d+)/.exec(agent)\nexport const chrome = !!_chrome\nexport const chrome_version = _chrome ? +_chrome[1]! : 0\nexport const safari = !ie && !!nav && /Apple Computer/.test(nav.vendor)\n// Is true for both iOS and iPadOS for convenience\nexport const ios =\n safari && (/Mobile\\/\\w+/.test(agent) || (!!nav && nav.maxTouchPoints > 2))\nexport const mac = ios || (nav ? /Mac/.test(nav.platform) : false)\nexport const android = /Android \\d/.test(agent)\nexport const webkit =\n !!doc && 'webkitFontSmoothing' in doc.documentElement.style\nexport const webkit_version = webkit\n ? +(/\\bAppleWebKit\\/(\\d+)/.exec(navigator.userAgent) || [0, 0])[1]\n : 0\n","import type { InputRule } from '../../inputrules'\nimport type { EditorState, TextSelection, Transaction } from '../../state'\nimport type { EditorView } from '../../view'\n\nimport { Plugin, PluginKey } from '../../state'\nimport { android, chrome } from '../browser'\n\nfunction run(\n view: EditorView,\n from: number,\n to: number,\n text: string,\n rules: InputRule[],\n plugin: Plugin\n) {\n if (view.composing) return false\n const state = view.state\n const $from = state.doc.resolve(from)\n if ($from.parent.type.spec.code) return false\n const textBefore =\n $from.parent.textBetween(\n Math.max(0, $from.parentOffset - 500),\n $from.parentOffset,\n undefined,\n '\\uFFFC'\n ) + text\n for (let _matcher of rules) {\n const matcher = _matcher as unknown as {\n match: RegExp\n handler: (\n state: EditorState,\n match: string[],\n from: number,\n to: number\n ) => Transaction\n undoable?: boolean\n }\n const match = matcher.match.exec(textBefore)\n const tr =\n match &&\n match[0] &&\n matcher.handler(state, match, from - (match[0].length - text.length), to)\n if (!tr) continue\n if (matcher.undoable !== false)\n tr.setMeta(plugin, { transform: tr, from, to, text })\n view.dispatch(tr)\n return true\n }\n return false\n}\n\nexport const customInputRulesKey = new PluginKey('MILKDOWN_CUSTOM_INPUTRULES')\nexport function customInputRules({ rules }: { rules: InputRule[] }): Plugin {\n const plugin: Plugin = new Plugin({\n key: customInputRulesKey,\n isInputRules: true,\n\n state: {\n init() {\n return null\n },\n apply(this: typeof plugin, tr, prev) {\n const stored = tr.getMeta(this)\n if (stored) return stored\n return tr.selectionSet || tr.docChanged ? null : prev\n },\n },\n props: {\n handleTextInput(view, from, to, text) {\n return run(view, from, to, text, rules, plugin)\n },\n handleDOMEvents: {\n compositionend: (view) => {\n setTimeout(() => {\n const { $cursor } = view.state.selection as TextSelection\n if ($cursor) run(view, $cursor.pos, $cursor.pos, '', rules, plugin)\n })\n return false\n },\n keydown: (view, event) => {\n // On Chrome Android, prosemirror-view suppresses Enter keydown events\n // to avoid input corruption during composition. It then relies on DOM\n // mutation detection to retroactively handle Enter. However, this\n // fallback fails with custom node views (e.g. list-item-block) whose\n // wrapper DOM structure prevents the Enter detection heuristics from\n // recognizing the mutation. We intercept Enter here — before\n // prosemirror-view's suppression — and manually route it through\n // handleKeyDown so that keymaps (splitListItem, etc.) work correctly.\n if (!(android && chrome && (event as KeyboardEvent).key === 'Enter'))\n return false\n if (view.composing) return false\n if (\n view.someProp('handleKeyDown', (f) =>\n f(view, event as KeyboardEvent)\n )\n ) {\n event.preventDefault()\n return true\n }\n return false\n },\n },\n handleKeyDown(view, event) {\n if (event.key !== 'Enter') return false\n const { $cursor } = view.state.selection as TextSelection\n if ($cursor)\n return run(view, $cursor.pos, $cursor.pos, '\\n', rules, plugin)\n return false\n },\n },\n })\n return plugin\n}\n","import type { Mark, MarkType } from '../../model'\nimport type { Captured, Options } from './common'\n\nimport { InputRule } from '../../inputrules'\n\n/// Create an input rule for a mark.\nexport function markRule(\n regexp: RegExp,\n markType: MarkType,\n options: Options = {}\n): InputRule {\n return new InputRule(regexp, (state, match, start, end) => {\n const { tr } = state\n const matchLength = match.length\n\n let group = match[matchLength - 1]\n let fullMatch = match[0]\n let initialStoredMarks: readonly Mark[] = []\n\n let markEnd: number\n\n const captured: Captured = {\n group,\n fullMatch,\n start,\n end,\n }\n\n const result = options.updateCaptured?.(captured)\n Object.assign(captured, result)\n ;({ group, fullMatch, start, end } = captured)\n\n if (fullMatch === null) return null\n\n if (group?.trim() === '') return null\n\n if (group) {\n const startSpaces = fullMatch.search(/\\S/)\n const textStart = start + fullMatch.indexOf(group)\n const textEnd = textStart + group.length\n\n initialStoredMarks = tr.storedMarks ?? []\n\n if (textEnd < end) tr.delete(textEnd, end)\n\n if (textStart > start) tr.delete(start + startSpaces, textStart)\n\n markEnd = start + startSpaces + group.length\n\n const attrs = options.getAttr?.(match)\n\n tr.addMark(start, markEnd, markType.create(attrs))\n tr.setStoredMarks(initialStoredMarks)\n\n options.beforeDispatch?.({ match, start, end, tr })\n }\n\n return tr\n })\n}\n","import type { NodeType } from '../../model'\nimport type { Captured, Options } from './common'\n\nimport { InputRule } from '../../inputrules'\n\n/// Create an input rule for a node.\nexport function nodeRule(\n regexp: RegExp,\n nodeType: NodeType,\n options: Options = {}\n): InputRule {\n return new InputRule(regexp, (state, match, start, end) => {\n const { tr } = state\n let group: string | undefined = match[1]\n let fullMatch = match[0]\n\n const captured: Captured = {\n group,\n fullMatch,\n start,\n end,\n }\n\n const result = options.updateCaptured?.(captured)\n Object.assign(captured, result)\n ;({ group, fullMatch, start, end } = captured)\n\n if (fullMatch === null) return null\n\n if (!group || group.trim() === '') return null\n\n const attrs = options.getAttr?.(match)\n const node = nodeType.createAndFill(attrs)\n\n if (node) {\n tr.replaceRangeWith(\n nodeType.isBlock ? tr.doc.resolve(start).before() : start,\n end,\n node\n )\n options.beforeDispatch?.({\n match: [fullMatch, group],\n start,\n end,\n tr,\n })\n }\n\n return tr\n })\n}\n","import { expectDomTypeError, missingRootElement } from '@jvs-milkdown/exception'\n\nimport type { EditorView } from '../../view'\n\ntype Point = [top: number, left: number]\n\nexport function calculateNodePosition(\n view: EditorView,\n target: HTMLElement,\n handler: (\n selectedRect: DOMRect,\n targetRect: DOMRect,\n parentRect: DOMRect\n ) => Point\n) {\n const state = view.state\n const { from } = state.selection\n\n const { node } = view.domAtPos(from)\n const element = node instanceof Text ? node.parentElement : node\n if (!(element instanceof HTMLElement)) throw expectDomTypeError(element)\n\n const selectedNodeRect = element.getBoundingClientRect()\n const targetNodeRect = target.getBoundingClientRect()\n const parent = target.parentElement\n if (!parent) throw expectDomTypeError(parent)\n\n const parentNodeRect = parent.getBoundingClientRect()\n\n const [top, left] = handler(selectedNodeRect, targetNodeRect, parentNodeRect)\n\n target.style.top = `${top}px`\n target.style.left = `${left}px`\n}\n\ninterface Rect {\n left: number\n right: number\n top: number\n bottom: number\n}\n\nexport function calculateTextPosition(\n view: EditorView,\n target: HTMLElement,\n handler: (\n start: Rect,\n end: Rect,\n targetRect: DOMRect,\n parentRect: DOMRect\n ) => Point\n) {\n const state = view.state\n const { from, to } = state.selection\n const start = view.coordsAtPos(from)\n const end = view.coordsAtPos(to)\n\n const targetNodeRect = target.getBoundingClientRect()\n const parent = target.parentElement\n if (!parent) throw missingRootElement()\n\n const parentNodeRect = parent.getBoundingClientRect()\n\n const [top, left] = handler(start, end, targetNodeRect, parentNodeRect)\n\n target.style.top = `${top}px`\n target.style.left = `${left}px`\n}\n\nfunction minMax(value = 0, min = 0, max = 0): number {\n return Math.min(Math.max(value, min), max)\n}\n\nexport function posToDOMRect(\n view: EditorView,\n from: number,\n to: number\n): DOMRect {\n const minPos = 0\n const maxPos = view.state.doc.content.size\n const resolvedFrom = minMax(from, minPos, maxPos)\n const resolvedEnd = minMax(to, minPos, maxPos)\n const start = view.coordsAtPos(resolvedFrom)\n const end = view.coordsAtPos(resolvedEnd, -1)\n const top = Math.min(start.top, end.top)\n const bottom = Math.max(start.bottom, end.bottom)\n const left = Math.min(start.left, end.left)\n const right = Math.max(start.right, end.right)\n const width = right - left\n const height = bottom - top\n const x = left\n const y = top\n const data = {\n top,\n bottom,\n left,\n right,\n width,\n height,\n x,\n y,\n }\n\n return {\n ...data,\n toJSON: () => data,\n }\n}\n","import type { Slice, NodeType, Node as ProseNode } from '../../model'\nimport type { Transaction } from '../../state'\n\nexport function cloneTr(tr: Transaction): Transaction {\n return Object.assign(Object.create(tr), tr).setTime(Date.now())\n}\n\nexport function equalNodeType(\n nodeType: NodeType | NodeType[],\n node: ProseNode\n) {\n return (\n (Array.isArray(nodeType) && nodeType.includes(node.type)) ||\n node.type === nodeType\n )\n}\n\nexport function isTextOnlySlice(slice: Slice): ProseNode | false {\n if (slice.content.childCount === 1) {\n const node = slice.content.firstChild\n if (node?.type.name === 'text' && node.marks.length === 0) return node\n\n if (node?.type.name === 'paragraph' && node.childCount === 1) {\n const _node = node.firstChild\n if (_node?.type.name === 'text' && _node.marks.length === 0) return _node\n }\n }\n\n return false\n}\n","import type { MarkType, Node, NodeType, ResolvedPos } from '../../model'\nimport type { Predicate } from './types'\n\nexport interface NodeWithPos {\n pos: number\n node: Node\n}\nexport interface NodeWithFromTo {\n from: number\n to: number\n node: Node\n}\n\nexport function flatten(node: Node, descend = true): NodeWithPos[] {\n const result: NodeWithPos[] = []\n node.descendants((child, pos) => {\n result.push({ node: child, pos })\n if (!descend) return false\n\n return undefined\n })\n return result\n}\n\nexport function findChildren(predicate: Predicate) {\n return (node: Node, descend?: boolean): NodeWithPos[] =>\n flatten(node, descend).filter((child) => predicate(child.node))\n}\n\nexport function findChildrenByMark(\n node: Node,\n markType: MarkType,\n descend?: boolean\n): NodeWithPos[] {\n return findChildren((child) => Boolean(markType.isInSet(child.marks)))(\n node,\n descend\n )\n}\n\nexport function findParent(predicate: Predicate) {\n return ($pos: ResolvedPos): NodeWithFromTo | undefined => {\n for (let depth = $pos.depth; depth > 0; depth -= 1) {\n const node = $pos.node(depth)\n\n if (predicate(node)) {\n const from = $pos.before(depth)\n const to = $pos.after(depth)\n return {\n from,\n to,\n node,\n }\n }\n }\n\n return undefined\n }\n}\n\nexport function findParentNodeType($pos: ResolvedPos, nodeType: NodeType) {\n return findParent((node) => node.type === nodeType)($pos)\n}\n","import { getAtomFromSchemaFail } from '@jvs-milkdown/exception'\n\nimport type { MarkType, NodeType, Schema } from '../../model'\n\nexport function getNodeFromSchema(type: string, schema: Schema): NodeType {\n const target = schema.nodes[type]\n\n if (!target) throw getAtomFromSchemaFail('node', type)\n\n return target\n}\n\nexport function getMarkFromSchema(type: string, schema: Schema): MarkType {\n const target = schema.marks[type]\n\n if (!target) throw getAtomFromSchemaFail('mark', type)\n\n return target\n}\n","import type { NodeType, Node as ProseNode, ResolvedPos } from '../../model'\nimport type { EditorState, Selection } from '../../state'\nimport type { Predicate } from './types'\n\nimport { NodeSelection } from '../../state'\nimport { equalNodeType } from './helper'\n\nexport interface ContentNodeWithPos {\n pos: number\n start: number\n depth: number\n node: ProseNode\n}\n\nexport function findParentNodeClosestToPos(predicate: Predicate) {\n return ($pos: ResolvedPos): ContentNodeWithPos | undefined => {\n for (let i = $pos.depth; i > 0; i--) {\n const node = $pos.node(i)\n if (predicate(node)) {\n return {\n pos: $pos.before(i),\n start: $pos.start(i),\n depth: i,\n node,\n }\n }\n }\n\n return undefined\n }\n}\n\nexport function findParentNode(predicate: Predicate) {\n return (selection: Selection): ContentNodeWithPos | undefined => {\n return findParentNodeClosestToPos(predicate)(selection.$from)\n }\n}\n\nexport function findSelectedNodeOfType(\n selection: Selection,\n nodeType: NodeType\n): ContentNodeWithPos | undefined {\n if (!(selection instanceof NodeSelection)) return\n\n const { node, $from } = selection\n if (equalNodeType(nodeType, node))\n return {\n node,\n pos: $from.pos,\n start: $from.start($from.depth),\n depth: $from.depth,\n }\n\n return undefined\n}\n\nexport type FindNodeInSelectionResult = {\n hasNode: boolean\n pos: number\n target: ProseNode | null\n}\n\nexport const findNodeInSelection = (\n state: EditorState,\n node: NodeType\n): FindNodeInSelectionResult => {\n const { selection, doc } = state\n if (selection instanceof NodeSelection) {\n return {\n hasNode: selection.node.type === node,\n pos: selection.from,\n target: selection.node,\n }\n }\n\n const { from, to } = selection\n\n let hasNode = false\n let pos = -1\n let target: ProseNode | null = null\n doc.nodesBetween(from, to, (n, p) => {\n if (target) return false\n if (n.type === node) {\n hasNode = true\n pos = p\n target = n\n return false\n }\n return true\n })\n\n return {\n hasNode,\n pos,\n target,\n }\n}\n"],"names":[],"mappings":";;;;AAKA,MAAM,GAAA,GAAM,OAAO,SAAA,IAAa,WAAA,GAAc,SAAA,GAAY,IAAA;AAC1D,MAAM,GAAA,GAAM,OAAO,QAAA,IAAY,WAAA,GAAc,QAAA,GAAW,IAAA;AACxD,MAAM,KAAA,GAAS,GAAA,IAAO,GAAA,CAAI,SAAA,IAAc,EAAA;AAExC,MAAM,OAAA,GAAU,aAAA,CAAc,IAAA,CAAK,KAAK,CAAA;AACxC,MAAM,SAAA,GAAY,SAAA,CAAU,IAAA,CAAK,KAAK,CAAA;AACtC,MAAM,OAAA,GAAU,uCAAA,CAAwC,IAAA,CAAK,KAAK,CAAA;AAE3D,MAAM,EAAA,GAAK,CAAC,EAAE,SAAA,IAAa,OAAA,IAAW,OAAA,CAAA;AACtC,MAAM,UAAA,GAAa,SAAA,GACrB,QAAA,CAAyD,YAAA,GAC1D,OAAA,GACE,CAAC,OAAA,CAAQ,CAAC,CAAA,GACV,OAAA,GACE,CAAC,OAAA,CAAQ,CAAC,CAAA,GACV,CAAA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,KAAA;AAAA,IACT;AACA,IAAA,OAAO,IAAA;AAAA,EACT,CAAC,CAAA;AAED,EAAA,OAAO;AAAA,IACL,OAAA;AAAA,IACA,GAAA;AAAA,IACA;AAAA,GACF;AACF;;;;"}
@@ -0,0 +1,2 @@
1
+ export * from 'prosemirror-inputrules';
2
+ //# sourceMappingURL=inputrules.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inputrules.d.ts","sources":[],"mappings":"","names":[]}
@@ -0,0 +1,2 @@
1
+ export * from 'prosemirror-inputrules';
2
+ //# sourceMappingURL=inputrules.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inputrules.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export * from 'prosemirror-keymap';
2
+ //# sourceMappingURL=keymap.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"keymap.d.ts","sources":[],"mappings":"","names":[]}
package/lib/keymap.js ADDED
@@ -0,0 +1,2 @@
1
+ export * from 'prosemirror-keymap';
2
+ //# sourceMappingURL=keymap.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"keymap.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
package/lib/model.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export * from 'prosemirror-model';
2
+ //# sourceMappingURL=model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"model.d.ts","sources":[],"mappings":"","names":[]}
package/lib/model.js ADDED
@@ -0,0 +1,2 @@
1
+ export * from 'prosemirror-model';
2
+ //# sourceMappingURL=model.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"model.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export * from 'prosemirror-schema-list';
2
+ //# sourceMappingURL=schema-list.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema-list.d.ts","sources":[],"mappings":"","names":[]}
@@ -0,0 +1,2 @@
1
+ export * from 'prosemirror-schema-list';
2
+ //# sourceMappingURL=schema-list.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema-list.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
package/lib/state.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export * from 'prosemirror-state';
2
+ //# sourceMappingURL=state.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"state.d.ts","sources":[],"mappings":"","names":[]}
package/lib/state.js ADDED
@@ -0,0 +1,2 @@
1
+ export * from 'prosemirror-state';
2
+ //# sourceMappingURL=state.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"state.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,25 @@
1
+ .ProseMirror-gapcursor {
2
+ display: none;
3
+ pointer-events: none;
4
+ position: absolute;
5
+ }
6
+
7
+ .ProseMirror-gapcursor:after {
8
+ content: "";
9
+ display: block;
10
+ position: absolute;
11
+ top: -2px;
12
+ width: 20px;
13
+ border-top: 1px solid black;
14
+ animation: ProseMirror-cursor-blink 1.1s steps(2, start) infinite;
15
+ }
16
+
17
+ @keyframes ProseMirror-cursor-blink {
18
+ to {
19
+ visibility: hidden;
20
+ }
21
+ }
22
+
23
+ .ProseMirror-focused .ProseMirror-gapcursor {
24
+ display: block;
25
+ }
@@ -0,0 +1,54 @@
1
+ .ProseMirror {
2
+ position: relative;
3
+ }
4
+
5
+ .ProseMirror {
6
+ word-wrap: break-word;
7
+ white-space: pre-wrap;
8
+ white-space: break-spaces;
9
+ -webkit-font-variant-ligatures: none;
10
+ font-variant-ligatures: none;
11
+ font-feature-settings: "liga" 0; /* the above doesn't seem to work in Edge */
12
+ }
13
+
14
+ .ProseMirror pre {
15
+ white-space: pre-wrap;
16
+ }
17
+
18
+ .ProseMirror li {
19
+ position: relative;
20
+ }
21
+
22
+ .ProseMirror-hideselection *::selection { background: transparent; }
23
+ .ProseMirror-hideselection *::-moz-selection { background: transparent; }
24
+ .ProseMirror-hideselection { caret-color: transparent; }
25
+
26
+ /* See https://github.com/ProseMirror/prosemirror/issues/1421#issuecomment-1759320191 */
27
+ .ProseMirror [draggable][contenteditable=false] { user-select: text }
28
+
29
+ .ProseMirror-selectednode {
30
+ outline: 2px solid #8cf;
31
+ }
32
+
33
+ /* Make sure li selections wrap around markers */
34
+
35
+ li.ProseMirror-selectednode {
36
+ outline: none;
37
+ }
38
+
39
+ li.ProseMirror-selectednode:after {
40
+ content: "";
41
+ position: absolute;
42
+ left: -32px;
43
+ right: -2px; top: -2px; bottom: -2px;
44
+ border: 2px solid #8cf;
45
+ pointer-events: none;
46
+ }
47
+
48
+ /* Protect against generic img rules */
49
+
50
+ img.ProseMirror-separator {
51
+ display: inline !important;
52
+ border: none !important;
53
+ margin: 0 !important;
54
+ }
@@ -0,0 +1,48 @@
1
+ .ProseMirror .tableWrapper {
2
+ overflow-x: auto;
3
+ }
4
+ .ProseMirror table {
5
+ border-collapse: collapse;
6
+ table-layout: fixed;
7
+ width: 100%;
8
+ overflow: hidden;
9
+ }
10
+ .ProseMirror td,
11
+ .ProseMirror th {
12
+ vertical-align: top;
13
+ box-sizing: border-box;
14
+ position: relative;
15
+ }
16
+
17
+ .ProseMirror td:not([data-colwidth]):not(.column-resize-dragging),
18
+ .ProseMirror th:not([data-colwidth]):not(.column-resize-dragging) {
19
+ /* if there's no explicit width set and the column is not being resized, set a default width */
20
+ min-width: var(--default-cell-min-width);
21
+ }
22
+
23
+ .ProseMirror .column-resize-handle {
24
+ position: absolute;
25
+ right: -2px;
26
+ top: 0;
27
+ bottom: 0;
28
+ width: 4px;
29
+ z-index: 20;
30
+ background-color: #adf;
31
+ pointer-events: none;
32
+ }
33
+ .ProseMirror.resize-cursor {
34
+ cursor: ew-resize;
35
+ cursor: col-resize;
36
+ }
37
+ /* Give selected cells a blue overlay */
38
+ .ProseMirror .selectedCell:after {
39
+ z-index: 2;
40
+ position: absolute;
41
+ content: '';
42
+ left: 0;
43
+ right: 0;
44
+ top: 0;
45
+ bottom: 0;
46
+ background: rgba(200, 200, 255, 0.4);
47
+ pointer-events: none;
48
+ }
@@ -0,0 +1,2 @@
1
+ export * from 'prosemirror-tables';
2
+ //# sourceMappingURL=tables.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tables.d.ts","sources":[],"mappings":"","names":[]}
package/lib/tables.js ADDED
@@ -0,0 +1,2 @@
1
+ export * from 'prosemirror-tables';
2
+ //# sourceMappingURL=tables.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tables.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Copy paste from:
3
+ * https://github.com/ProseMirror/prosemirror-view/blob/master/src/browser.ts
4
+ */
5
+ export declare const ie: boolean;
6
+ export declare const ie_version: unknown;
7
+ export declare const gecko: boolean;
8
+ export declare const gecko_version: number | false;
9
+ export declare const chrome: boolean;
10
+ export declare const chrome_version: number;
11
+ export declare const safari: boolean;
12
+ export declare const ios: boolean;
13
+ export declare const mac: boolean;
14
+ export declare const android: boolean;
15
+ export declare const webkit: boolean;
16
+ export declare const webkit_version: number;
17
+ //# sourceMappingURL=browser.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"browser.d.ts","sourceRoot":"","sources":["../../src/toolkit/browser.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAUH,eAAO,MAAM,EAAE,SAAsC,CAAA;AACrD,eAAO,MAAM,UAAU,SAMd,CAAA;AACT,eAAO,MAAM,KAAK,SAAqC,CAAA;AACvD,eAAO,MAAM,aAAa,gBAC6B,CAAA;AAGvD,eAAO,MAAM,MAAM,SAAY,CAAA;AAC/B,eAAO,MAAM,cAAc,QAA6B,CAAA;AACxD,eAAO,MAAM,MAAM,SAAoD,CAAA;AAEvE,eAAO,MAAM,GAAG,SAC4D,CAAA;AAC5E,eAAO,MAAM,GAAG,SAAkD,CAAA;AAClE,eAAO,MAAM,OAAO,SAA2B,CAAA;AAC/C,eAAO,MAAM,MAAM,SAC0C,CAAA;AAC7D,eAAO,MAAM,cAAc,QAEtB,CAAA"}
@@ -0,0 +1,5 @@
1
+ export * as browser from './browser';
2
+ export * from './input-rules';
3
+ export * from './position';
4
+ export * from './prose';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/toolkit/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,WAAW,CAAA;AACpC,cAAc,eAAe,CAAA;AAC7B,cAAc,YAAY,CAAA;AAC1B,cAAc,SAAS,CAAA"}
@@ -0,0 +1,20 @@
1
+ import type { Attrs } from '../../model';
2
+ import type { Transaction } from '../../state';
3
+ export interface Captured {
4
+ group: string | undefined;
5
+ fullMatch: string;
6
+ start: number;
7
+ end: number;
8
+ }
9
+ export interface BeforeDispatch {
10
+ match: string[];
11
+ start: number;
12
+ end: number;
13
+ tr: Transaction;
14
+ }
15
+ export interface Options {
16
+ getAttr?: (match: RegExpMatchArray) => Attrs;
17
+ updateCaptured?: (captured: Captured) => Partial<Captured>;
18
+ beforeDispatch?: (options: BeforeDispatch) => void;
19
+ }
20
+ //# sourceMappingURL=common.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/toolkit/input-rules/common.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;AACxC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAG9C,MAAM,WAAW,QAAQ;IACvB,KAAK,EAAE,MAAM,GAAG,SAAS,CAAA;IACzB,SAAS,EAAE,MAAM,CAAA;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,GAAG,EAAE,MAAM,CAAA;CACZ;AAGD,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,EAAE,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;IACb,GAAG,EAAE,MAAM,CAAA;IACX,EAAE,EAAE,WAAW,CAAA;CAChB;AAGD,MAAM,WAAW,OAAO;IACtB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,gBAAgB,KAAK,KAAK,CAAA;IAC5C,cAAc,CAAC,EAAE,CAAC,QAAQ,EAAE,QAAQ,KAAK,OAAO,CAAC,QAAQ,CAAC,CAAA;IAC1D,cAAc,CAAC,EAAE,CAAC,OAAO,EAAE,cAAc,KAAK,IAAI,CAAA;CACnD"}
@@ -0,0 +1,7 @@
1
+ import type { InputRule } from '../../inputrules';
2
+ import { Plugin, PluginKey } from '../../state';
3
+ export declare const customInputRulesKey: PluginKey<any>;
4
+ export declare function customInputRules({ rules }: {
5
+ rules: InputRule[];
6
+ }): Plugin;
7
+ //# sourceMappingURL=custom-input-rules.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"custom-input-rules.d.ts","sourceRoot":"","sources":["../../../src/toolkit/input-rules/custom-input-rules.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAA;AAIjD,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AA+C/C,eAAO,MAAM,mBAAmB,gBAA8C,CAAA;AAC9E,wBAAgB,gBAAgB,CAAC,EAAE,KAAK,EAAE,EAAE;IAAE,KAAK,EAAE,SAAS,EAAE,CAAA;CAAE,GAAG,MAAM,CA4D1E"}
@@ -0,0 +1,5 @@
1
+ export * from './custom-input-rules';
2
+ export * from './mark-rule';
3
+ export * from './node-rule';
4
+ export * from './common';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/toolkit/input-rules/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA;AACpC,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,UAAU,CAAA"}
@@ -0,0 +1,5 @@
1
+ import type { MarkType } from '../../model';
2
+ import type { Options } from './common';
3
+ import { InputRule } from '../../inputrules';
4
+ export declare function markRule(regexp: RegExp, markType: MarkType, options?: Options): InputRule;
5
+ //# sourceMappingURL=mark-rule.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mark-rule.d.ts","sourceRoot":"","sources":["../../../src/toolkit/input-rules/mark-rule.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,aAAa,CAAA;AACjD,OAAO,KAAK,EAAY,OAAO,EAAE,MAAM,UAAU,CAAA;AAEjD,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAA;AAG5C,wBAAgB,QAAQ,CACtB,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,QAAQ,EAClB,OAAO,GAAE,OAAY,GACpB,SAAS,CAiDX"}
@@ -0,0 +1,5 @@
1
+ import type { NodeType } from '../../model';
2
+ import type { Options } from './common';
3
+ import { InputRule } from '../../inputrules';
4
+ export declare function nodeRule(regexp: RegExp, nodeType: NodeType, options?: Options): InputRule;
5
+ //# sourceMappingURL=node-rule.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"node-rule.d.ts","sourceRoot":"","sources":["../../../src/toolkit/input-rules/node-rule.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAC3C,OAAO,KAAK,EAAY,OAAO,EAAE,MAAM,UAAU,CAAA;AAEjD,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAA;AAG5C,wBAAgB,QAAQ,CACtB,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,QAAQ,EAClB,OAAO,GAAE,OAAY,GACpB,SAAS,CAwCX"}
@@ -0,0 +1,13 @@
1
+ import type { EditorView } from '../../view';
2
+ type Point = [top: number, left: number];
3
+ export declare function calculateNodePosition(view: EditorView, target: HTMLElement, handler: (selectedRect: DOMRect, targetRect: DOMRect, parentRect: DOMRect) => Point): void;
4
+ interface Rect {
5
+ left: number;
6
+ right: number;
7
+ top: number;
8
+ bottom: number;
9
+ }
10
+ export declare function calculateTextPosition(view: EditorView, target: HTMLElement, handler: (start: Rect, end: Rect, targetRect: DOMRect, parentRect: DOMRect) => Point): void;
11
+ export declare function posToDOMRect(view: EditorView, from: number, to: number): DOMRect;
12
+ export {};
13
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/toolkit/position/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;AAE5C,KAAK,KAAK,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,CAAA;AAExC,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,UAAU,EAChB,MAAM,EAAE,WAAW,EACnB,OAAO,EAAE,CACP,YAAY,EAAE,OAAO,EACrB,UAAU,EAAE,OAAO,EACnB,UAAU,EAAE,OAAO,KAChB,KAAK,QAoBX;AAED,UAAU,IAAI;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,GAAG,EAAE,MAAM,CAAA;IACX,MAAM,EAAE,MAAM,CAAA;CACf;AAED,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,UAAU,EAChB,MAAM,EAAE,WAAW,EACnB,OAAO,EAAE,CACP,KAAK,EAAE,IAAI,EACX,GAAG,EAAE,IAAI,EACT,UAAU,EAAE,OAAO,EACnB,UAAU,EAAE,OAAO,KAChB,KAAK,QAiBX;AAMD,wBAAgB,YAAY,CAC1B,IAAI,EAAE,UAAU,EAChB,IAAI,EAAE,MAAM,EACZ,EAAE,EAAE,MAAM,GACT,OAAO,CA8BT"}
@@ -0,0 +1,6 @@
1
+ import type { Slice, NodeType, Node as ProseNode } from '../../model';
2
+ import type { Transaction } from '../../state';
3
+ export declare function cloneTr(tr: Transaction): Transaction;
4
+ export declare function equalNodeType(nodeType: NodeType | NodeType[], node: ProseNode): boolean;
5
+ export declare function isTextOnlySlice(slice: Slice): ProseNode | false;
6
+ //# sourceMappingURL=helper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helper.d.ts","sourceRoot":"","sources":["../../../src/toolkit/prose/helper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,IAAI,SAAS,EAAE,MAAM,aAAa,CAAA;AACrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAE9C,wBAAgB,OAAO,CAAC,EAAE,EAAE,WAAW,GAAG,WAAW,CAEpD;AAED,wBAAgB,aAAa,CAC3B,QAAQ,EAAE,QAAQ,GAAG,QAAQ,EAAE,EAC/B,IAAI,EAAE,SAAS,WAMhB;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,KAAK,GAAG,SAAS,GAAG,KAAK,CAY/D"}
@@ -0,0 +1,5 @@
1
+ export * from './helper';
2
+ export * from './node';
3
+ export * from './schema';
4
+ export * from './selection';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/toolkit/prose/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,QAAQ,CAAA;AACtB,cAAc,UAAU,CAAA;AACxB,cAAc,aAAa,CAAA"}
@@ -0,0 +1,17 @@
1
+ import type { MarkType, Node, NodeType, ResolvedPos } from '../../model';
2
+ import type { Predicate } from './types';
3
+ export interface NodeWithPos {
4
+ pos: number;
5
+ node: Node;
6
+ }
7
+ export interface NodeWithFromTo {
8
+ from: number;
9
+ to: number;
10
+ node: Node;
11
+ }
12
+ export declare function flatten(node: Node, descend?: boolean): NodeWithPos[];
13
+ export declare function findChildren(predicate: Predicate): (node: Node, descend?: boolean) => NodeWithPos[];
14
+ export declare function findChildrenByMark(node: Node, markType: MarkType, descend?: boolean): NodeWithPos[];
15
+ export declare function findParent(predicate: Predicate): ($pos: ResolvedPos) => NodeWithFromTo | undefined;
16
+ export declare function findParentNodeType($pos: ResolvedPos, nodeType: NodeType): NodeWithFromTo | undefined;
17
+ //# sourceMappingURL=node.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../../src/toolkit/prose/node.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AACxE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAExC,MAAM,WAAW,WAAW;IAC1B,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,IAAI,CAAA;CACX;AACD,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAA;IACZ,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,IAAI,CAAA;CACX;AAED,wBAAgB,OAAO,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,UAAO,GAAG,WAAW,EAAE,CASjE;AAED,wBAAgB,YAAY,CAAC,SAAS,EAAE,SAAS,IACvC,MAAM,IAAI,EAAE,UAAU,OAAO,KAAG,WAAW,EAAE,CAEtD;AAED,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,QAAQ,EAClB,OAAO,CAAC,EAAE,OAAO,GAChB,WAAW,EAAE,CAKf;AAED,wBAAgB,UAAU,CAAC,SAAS,EAAE,SAAS,IACrC,MAAM,WAAW,KAAG,cAAc,GAAG,SAAS,CAiBvD;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,QAAQ,8BAEvE"}
@@ -0,0 +1,4 @@
1
+ import type { MarkType, NodeType, Schema } from '../../model';
2
+ export declare function getNodeFromSchema(type: string, schema: Schema): NodeType;
3
+ export declare function getMarkFromSchema(type: string, schema: Schema): MarkType;
4
+ //# sourceMappingURL=schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/toolkit/prose/schema.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AAE7D,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,QAAQ,CAMxE;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,QAAQ,CAMxE"}
@@ -0,0 +1,19 @@
1
+ import type { NodeType, Node as ProseNode, ResolvedPos } from '../../model';
2
+ import type { EditorState, Selection } from '../../state';
3
+ import type { Predicate } from './types';
4
+ export interface ContentNodeWithPos {
5
+ pos: number;
6
+ start: number;
7
+ depth: number;
8
+ node: ProseNode;
9
+ }
10
+ export declare function findParentNodeClosestToPos(predicate: Predicate): ($pos: ResolvedPos) => ContentNodeWithPos | undefined;
11
+ export declare function findParentNode(predicate: Predicate): (selection: Selection) => ContentNodeWithPos | undefined;
12
+ export declare function findSelectedNodeOfType(selection: Selection, nodeType: NodeType): ContentNodeWithPos | undefined;
13
+ export type FindNodeInSelectionResult = {
14
+ hasNode: boolean;
15
+ pos: number;
16
+ target: ProseNode | null;
17
+ };
18
+ export declare const findNodeInSelection: (state: EditorState, node: NodeType) => FindNodeInSelectionResult;
19
+ //# sourceMappingURL=selection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"selection.d.ts","sourceRoot":"","sources":["../../../src/toolkit/prose/selection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,IAAI,IAAI,SAAS,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAC3E,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACzD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAKxC,MAAM,WAAW,kBAAkB;IACjC,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,SAAS,CAAA;CAChB;AAED,wBAAgB,0BAA0B,CAAC,SAAS,EAAE,SAAS,IACrD,MAAM,WAAW,KAAG,kBAAkB,GAAG,SAAS,CAe3D;AAED,wBAAgB,cAAc,CAAC,SAAS,EAAE,SAAS,IACzC,WAAW,SAAS,KAAG,kBAAkB,GAAG,SAAS,CAG9D;AAED,wBAAgB,sBAAsB,CACpC,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,QAAQ,GACjB,kBAAkB,GAAG,SAAS,CAahC;AAED,MAAM,MAAM,yBAAyB,GAAG;IACtC,OAAO,EAAE,OAAO,CAAA;IAChB,GAAG,EAAE,MAAM,CAAA;IACX,MAAM,EAAE,SAAS,GAAG,IAAI,CAAA;CACzB,CAAA;AAED,eAAO,MAAM,mBAAmB,GAC9B,OAAO,WAAW,EAClB,MAAM,QAAQ,KACb,yBA+BF,CAAA"}
@@ -0,0 +1,3 @@
1
+ import type { Node } from '../../model';
2
+ export type Predicate = (node: Node) => boolean;
3
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/toolkit/prose/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAEvC,MAAM,MAAM,SAAS,GAAG,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO,CAAA"}
@@ -0,0 +1,2 @@
1
+ export * from 'prosemirror-transform';
2
+ //# sourceMappingURL=transform.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transform.d.ts","sources":[],"mappings":"","names":[]}
@@ -0,0 +1,2 @@
1
+ export * from 'prosemirror-transform';
2
+ //# sourceMappingURL=transform.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transform.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"fileNames":["../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/.pnpm/orderedmap@2.1.1/node_modules/orderedmap/dist/index.d.ts","../../../node_modules/.pnpm/prosemirror-model@1.25.4/node_modules/prosemirror-model/dist/index.d.ts","../../../node_modules/.pnpm/prosemirror-transform@1.11.0/node_modules/prosemirror-transform/dist/index.d.ts","../../../node_modules/.pnpm/prosemirror-changeset@2.4.0/node_modules/prosemirror-changeset/dist/index.d.ts","../src/changeset.ts","../../../node_modules/.pnpm/prosemirror-view@1.41.7/node_modules/prosemirror-view/dist/index.d.ts","../../../node_modules/.pnpm/prosemirror-state@1.4.4/node_modules/prosemirror-state/dist/index.d.ts","../../../node_modules/.pnpm/prosemirror-commands@1.7.1/node_modules/prosemirror-commands/dist/index.d.ts","../src/commands.ts","../../../node_modules/.pnpm/prosemirror-dropcursor@1.8.2/node_modules/prosemirror-dropcursor/dist/index.d.ts","../src/dropcursor.ts","../../../node_modules/.pnpm/prosemirror-gapcursor@1.4.1/node_modules/prosemirror-gapcursor/dist/index.d.ts","../src/gapcursor.ts","../../../node_modules/.pnpm/prosemirror-history@1.5.0/node_modules/prosemirror-history/dist/index.d.ts","../src/history.ts","../src/toolkit/browser.ts","../../../node_modules/.pnpm/prosemirror-inputrules@1.5.1/node_modules/prosemirror-inputrules/dist/index.d.ts","../src/inputrules.ts","../src/state.ts","../src/view.ts","../src/toolkit/input-rules/custom-input-rules.ts","../src/model.ts","../src/toolkit/input-rules/common.ts","../src/toolkit/input-rules/mark-rule.ts","../src/toolkit/input-rules/node-rule.ts","../src/toolkit/input-rules/index.ts","../../exception/lib/code.d.ts","../../exception/lib/error.d.ts","../../exception/lib/index.d.ts","../src/toolkit/position/index.ts","../src/toolkit/prose/helper.ts","../src/toolkit/prose/types.ts","../src/toolkit/prose/node.ts","../src/toolkit/prose/schema.ts","../src/toolkit/prose/selection.ts","../src/toolkit/prose/index.ts","../src/toolkit/index.ts","../src/index.ts","../../../node_modules/.pnpm/prosemirror-keymap@1.2.3/node_modules/prosemirror-keymap/dist/index.d.ts","../src/keymap.ts","../../../node_modules/.pnpm/prosemirror-schema-list@1.5.1/node_modules/prosemirror-schema-list/dist/index.d.ts","../src/schema-list.ts","../../../node_modules/.pnpm/prosemirror-tables@1.8.5/node_modules/prosemirror-tables/dist/index.d.ts","../src/tables.ts","../src/transform.ts"],"fileIdsList":[[60,61,68],[60,65,68],[60,64,65],[60,61,65,68],[65],[64,65],[59],[59,60,65,68],[60,61,64,68],[60,61,64,65,68],[60,68],[85],[86],[62],[66],[68],[70],[72],[95],[75],[97],[99],[101],[74,84,88,94],[77,80],[74,76,77,78],[79,81,82,83],[76,80,81],[78,87],[89,91,92,93],[80,90],[80,87],[77,80,89,90],[80],[61],[64]],"fileInfos":[{"version":"bcd24271a113971ba9eb71ff8cb01bc6b0f872a85c23fdbe5d93065b375933cd","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f88bedbeb09c6f5a6645cb24c7c55f1aa22d19ae96c8e6959cbd8b85a707bc6","impliedFormat":1},{"version":"7fe93b39b810eadd916be8db880dd7f0f7012a5cc6ffb62de8f62a2117fa6f1f","impliedFormat":1},{"version":"bb0074cc08b84a2374af33d8bf044b80851ccc9e719a5e202eacf40db2c31600","impliedFormat":1},{"version":"1a7daebe4f45fb03d9ec53d60008fbf9ac45a697fdc89e4ce218bc94b94f94d6","impliedFormat":1},{"version":"f94b133a3cb14a288803be545ac2683e0d0ff6661bcd37e31aaaec54fc382aed","impliedFormat":1},{"version":"f59d0650799f8782fd74cf73c19223730c6d1b9198671b1c5b3a38e1188b5953","impliedFormat":1},{"version":"8a15b4607d9a499e2dbeed9ec0d3c0d7372c850b2d5f1fb259e8f6d41d468a84","impliedFormat":1},{"version":"26e0fe14baee4e127f4365d1ae0b276f400562e45e19e35fd2d4c296684715e6","impliedFormat":1},{"version":"d6b1eba8496bdd0eed6fc8a685768fe01b2da4a0388b5fe7df558290bffcf32f","affectsGlobalScope":true,"impliedFormat":1},{"version":"eadcffda2aa84802c73938e589b9e58248d74c59cb7fcbca6474e3435ac15504","affectsGlobalScope":true,"impliedFormat":1},{"version":"105ba8ff7ba746404fe1a2e189d1d3d2e0eb29a08c18dded791af02f29fb4711","affectsGlobalScope":true,"impliedFormat":1},{"version":"00343ca5b2e3d48fa5df1db6e32ea2a59afab09590274a6cccb1dbae82e60c7c","affectsGlobalScope":true,"impliedFormat":1},{"version":"ebd9f816d4002697cb2864bea1f0b70a103124e18a8cd9645eeccc09bdf80ab4","affectsGlobalScope":true,"impliedFormat":1},{"version":"2c1afac30a01772cd2a9a298a7ce7706b5892e447bb46bdbeef720f7b5da77ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"7b0225f483e4fa685625ebe43dd584bb7973bbd84e66a6ba7bbe175ee1048b4f","affectsGlobalScope":true,"impliedFormat":1},{"version":"c0a4b8ac6ce74679c1da2b3795296f5896e31c38e888469a8e0f99dc3305de60","affectsGlobalScope":true,"impliedFormat":1},{"version":"3084a7b5f569088e0146533a00830e206565de65cae2239509168b11434cd84f","affectsGlobalScope":true,"impliedFormat":1},{"version":"c5079c53f0f141a0698faa903e76cb41cd664e3efb01cc17a5c46ec2eb0bef42","affectsGlobalScope":true,"impliedFormat":1},{"version":"32cafbc484dea6b0ab62cf8473182bbcb23020d70845b406f80b7526f38ae862","affectsGlobalScope":true,"impliedFormat":1},{"version":"fca4cdcb6d6c5ef18a869003d02c9f0fd95df8cfaf6eb431cd3376bc034cad36","affectsGlobalScope":true,"impliedFormat":1},{"version":"b93ec88115de9a9dc1b602291b85baf825c85666bf25985cc5f698073892b467","affectsGlobalScope":true,"impliedFormat":1},{"version":"f5c06dcc3fe849fcb297c247865a161f995cc29de7aa823afdd75aaaddc1419b","affectsGlobalScope":true,"impliedFormat":1},{"version":"b77e16112127a4b169ef0b8c3a4d730edf459c5f25fe52d5e436a6919206c4d7","affectsGlobalScope":true,"impliedFormat":1},{"version":"fbffd9337146eff822c7c00acbb78b01ea7ea23987f6c961eba689349e744f8c","affectsGlobalScope":true,"impliedFormat":1},{"version":"a995c0e49b721312f74fdfb89e4ba29bd9824c770bbb4021d74d2bf560e4c6bd","affectsGlobalScope":true,"impliedFormat":1},{"version":"c7b3542146734342e440a84b213384bfa188835537ddbda50d30766f0593aff9","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce6180fa19b1cccd07ee7f7dbb9a367ac19c0ed160573e4686425060b6df7f57","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f02e2476bccb9dbe21280d6090f0df17d2f66b74711489415a8aa4df73c9675","affectsGlobalScope":true,"impliedFormat":1},{"version":"45e3ab34c1c013c8ab2dc1ba4c80c780744b13b5676800ae2e3be27ae862c40c","affectsGlobalScope":true,"impliedFormat":1},{"version":"805c86f6cca8d7702a62a844856dbaa2a3fd2abef0536e65d48732441dde5b5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"e42e397f1a5a77994f0185fd1466520691456c772d06bf843e5084ceb879a0ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"f4c2b41f90c95b1c532ecc874bd3c111865793b23aebcc1c3cbbabcd5d76ffb0","affectsGlobalScope":true,"impliedFormat":1},{"version":"ab26191cfad5b66afa11b8bf935ef1cd88fabfcb28d30b2dfa6fad877d050332","affectsGlobalScope":true,"impliedFormat":1},{"version":"2088bc26531e38fb05eedac2951480db5309f6be3fa4a08d2221abb0f5b4200d","affectsGlobalScope":true,"impliedFormat":1},{"version":"cb9d366c425fea79716a8fb3af0d78e6b22ebbab3bd64d25063b42dc9f531c1e","affectsGlobalScope":true,"impliedFormat":1},{"version":"500934a8089c26d57ebdb688fc9757389bb6207a3c8f0674d68efa900d2abb34","affectsGlobalScope":true,"impliedFormat":1},{"version":"689da16f46e647cef0d64b0def88910e818a5877ca5379ede156ca3afb780ac3","affectsGlobalScope":true,"impliedFormat":1},{"version":"bc21cc8b6fee4f4c2440d08035b7ea3c06b3511314c8bab6bef7a92de58a2593","affectsGlobalScope":true,"impliedFormat":1},{"version":"7ca53d13d2957003abb47922a71866ba7cb2068f8d154877c596d63c359fed25","affectsGlobalScope":true,"impliedFormat":1},{"version":"54725f8c4df3d900cb4dac84b64689ce29548da0b4e9b7c2de61d41c79293611","affectsGlobalScope":true,"impliedFormat":1},{"version":"e5594bc3076ac29e6c1ebda77939bc4c8833de72f654b6e376862c0473199323","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f3eb332c2d73e729f3364fcc0c2b375e72a121e8157d25a82d67a138c83a95c","affectsGlobalScope":true,"impliedFormat":1},{"version":"6f4427f9642ce8d500970e4e69d1397f64072ab73b97e476b4002a646ac743b1","affectsGlobalScope":true,"impliedFormat":1},{"version":"48915f327cd1dea4d7bd358d9dc7732f58f9e1626a29cc0c05c8c692419d9bb7","affectsGlobalScope":true,"impliedFormat":1},{"version":"b7bf9377723203b5a6a4b920164df22d56a43f593269ba6ae1fdc97774b68855","affectsGlobalScope":true,"impliedFormat":1},{"version":"db9709688f82c9e5f65a119c64d835f906efe5f559d08b11642d56eb85b79357","affectsGlobalScope":true,"impliedFormat":1},{"version":"4b25b8c874acd1a4cf8444c3617e037d444d19080ac9f634b405583fd10ce1f7","affectsGlobalScope":true,"impliedFormat":1},{"version":"37be57d7c90cf1f8112ee2636a068d8fd181289f82b744160ec56a7dc158a9f5","affectsGlobalScope":true,"impliedFormat":1},{"version":"a917a49ac94cd26b754ab84e113369a75d1a47a710661d7cd25e961cc797065f","affectsGlobalScope":true,"impliedFormat":1},{"version":"6d3261badeb7843d157ef3e6f5d1427d0eeb0af0cf9df84a62cfd29fd47ac86e","affectsGlobalScope":true,"impliedFormat":1},{"version":"195daca651dde22f2167ac0d0a05e215308119a3100f5e6268e8317d05a92526","affectsGlobalScope":true,"impliedFormat":1},{"version":"8b11e4285cd2bb164a4dc09248bdec69e9842517db4ca47c1ba913011e44ff2f","affectsGlobalScope":true,"impliedFormat":1},{"version":"0508571a52475e245b02bc50fa1394065a0a3d05277fbf5120c3784b85651799","affectsGlobalScope":true,"impliedFormat":1},{"version":"8f9af488f510c3015af3cc8c267a9e9d96c4dd38a1fdff0e11dc5a544711415b","affectsGlobalScope":true,"impliedFormat":1},{"version":"fc611fea8d30ea72c6bbfb599c9b4d393ce22e2f5bfef2172534781e7d138104","affectsGlobalScope":true,"impliedFormat":1},{"version":"1ce14b81c5cc821994aa8ec1d42b220dd41b27fcc06373bce3958af7421b77d4","affectsGlobalScope":true,"impliedFormat":1},{"version":"b3a048b3e9302ef9a34ef4ebb9aecfb28b66abb3bce577206a79fee559c230da","affectsGlobalScope":true,"impliedFormat":1},{"version":"264f935450101e4b000eb351cf75c9d799ca20a278b260a9e5770303b5f2b6a3","impliedFormat":99},{"version":"f6f171b23ae6db93454343f1b788960f799c8f37043904874a752c0990c6fca6","impliedFormat":99},{"version":"089f9928e7ab1ca2c225e167a80ff1cb5ed0a71c98be7e81f040a51e2cc6bf5e","impliedFormat":99},{"version":"27da952fecf403cbf5862988610ac782b9f8f5c9457f3fa83ab421af7d4d9301","impliedFormat":99},{"version":"0ea7fae8629c1de332fc70b094cda59d2a6b9d44385373fe8d7be3c2a1a828b0","signature":"c9f8c7572b9e7b247c12f2cde9fcf991999831584b52420367bab692e49a3df9"},{"version":"b11acc27c280988d7256bbd8ffe9f1cb5a0e5ed17cddf5335289ee0e81500369","affectsGlobalScope":true,"impliedFormat":99},{"version":"02ab5dbcaa58da1d58c46c7cdfa7f94792c5ccf0fc7c0622ef33755fe415366c","impliedFormat":99},{"version":"c60e1b30f06db4bb8955ee847c28592af992e45f2b8db300c1b0edfc3329b9cb","impliedFormat":99},{"version":"dbfe1b8f1fc9cb127fd04a45285164817bebcadd2ee3936cac8a262adaf8bd14","signature":"61a03f64adcb31f88db8ab9dceb0ce4fa239e8e725edd308d6f2ca94e1de82cc"},{"version":"ee3c72e3ed28b2209edd6377abddd114fa3559c0f73e10b354157bc7afb18c26","impliedFormat":99},{"version":"892e195378d9374ed50f8a30728de77be9b5641847fa1b4129eb8a445a43347a","signature":"1a464ef3384b22874e7b65018fe0fc05ee3f8adbd1c0199396c172694552e7d2"},{"version":"b081fb50ede6d895e0aa56df631560582fd0ee9699150c6234673c479a844e7d","impliedFormat":99},{"version":"46e9092ce7160e5482b4644db24daa218caa545941688aceee893c9a1c53b224","signature":"093150714823146fe085332a615c3ed54e290f21c0f0d70b2d4df7b3476775dc"},{"version":"6bc145cfcbe48644fb57e116fb2d41affe804a4e3fb14e1199a44f744a7130fb","impliedFormat":99},{"version":"bb236afe567ac47b553eb2ec6445225c76db45ca9d557f9cce8e804e901fcd30","signature":"b3ac1bcb6dae1e6307e77ab6eb70412606cbba296c86f51b856f8a4275a5433e"},{"version":"3b20171eda4ac70bd6cb7dc4e90a81fe5b07d800d490767c7a74f1dbc30278fd","signature":"d9fc24b35b002a548f4414e49fe3793d9a5b35ee52005272caf4318f2e4f8365"},{"version":"2a04530c2579ddcf996e1cf017caaba573e0ebf8a5b9e45d3bc25ba4489fb5a3","impliedFormat":99},{"version":"de011bab6acfa02251eb63ec161dddfa8f37cf58adde8d0c9362b827c1db465d","signature":"f41d91b2db1112fcc673a6862fe68cadcbdd0a66ed16b47ac74a0a6da8932bb4"},{"version":"c0f459e1d76873baf23005e9f8f4f20528d32150693fff04d3641f88d6397006","signature":"e689cc8cd8a102d31c9d3a7b0db0028594202093c4aca25982b425e8ae744556"},{"version":"fe9bc9578d3406159da92e5335d7085fba1f344f84b16c650f0d83fefc6ee08c","signature":"1b4ed9deaba72d4bc8495bf46db690dbf91040da0cb2401db10bad162732c0e2"},{"version":"8cad2741e0b752c69365aeeecab48f4b3d5925369de09f21f43abc5a271f46dc","signature":"38815495490dbe68097e68af671c9f38d7b7becdc86046701caf27b3aefc1238"},{"version":"e5786d7b503e912eaa797bfdf14ee347b9922dcc2ed3f214326e221ec61e91c7","signature":"478e59ac0830a0f6360236632d0d589fb0211183aa1ab82292fbca529c0cce35"},{"version":"74d4de4ab9c2c80a6a1c40efd8b5ce0138405e55d8a5d4cc3528d15e7aa80080","signature":"4f5fa1f41df5934999037079798a183a672f6a51bf00fecd8a58a40bf8a6ab4b"},{"version":"b6cfbe4d39b4ed36e6ae9f754aedd74bb4c7f15c8e53b50fedf647a82662e74b","signature":"9228f51f27ecf7b4ea783d9a8ad6fa0b04aedd65f15765ef2e2b4fa993230c71"},{"version":"3a914d75b0d27478c25fdd6e177deda10e78c8e718bdca500f4fb3274c380311","signature":"a4a6eecc3b94a291ecd8001af8bc77860553c1cd0539b7df753db546b90957f1"},{"version":"440c89b3e167e98f8f27ef37aef3c94206570f6fc354def46d1ff0da338b82b1","signature":"531aa8b58051f4a06c342c0e058080be43e46ec8caeb686e988f01506dd86e8b"},"16976e5481a0abbe56fa82010ecd47c152e76d9c7ecb5977d68a1b2c4a785c91","749f3bd08d4fc5cc1c95e3c3b07dede327898a51cf6fa7f156456c0d46aae680","7797184093e9b9f6203d001829de6f91d142497913c67a8d0c2a5b25de005a68",{"version":"832dfd68c4acc41a971dd50c871bfe7bffa84837c1c8ac68a3efdb6272099848","signature":"830ef6b30732865e6c28f3a1a5ab6b2d912705dde825638ac06b125ec43d21d0"},{"version":"2ed81c2b61ff09b44a0b4959cca1766996a1f346deb6965f2286b1498c19a87f","signature":"36a26b110dcea31cd8bab601c2b73930f04e8b5417f9749d9f5fb1eab2a763b6"},{"version":"c83a38836c423f94658b74c0ba5fba57d17e6b52115fc01ec68bf41bc76b44c0","signature":"4c5e77be4579c26825232a95edbf67c1fe38ef7af273b3829831e95cbeb86bb1"},{"version":"d6da6432a121b49695468cf605a39e948d7f839855c6fd70fb57f154c852e4bf","signature":"fe92ca191d247c305b79d52f46a30ba4d7c93dd1c3e92d7c6c613d330b3da187"},{"version":"2736de07e5ba7427b2b8042832d91cd1a873935d757f3d1ad79b02b9b3c09048","signature":"89854e488820d88a1b94cf1fd4f156c48859af845d09130f81d516c1aa5db130"},{"version":"44c14d45f5e2a2ea9b2888c03edcb4fb029c2dd10452e81a236815c88a60c1f9","signature":"0b91eff2dfe722ddce2e4541b66db7b80b83c9912ddd338906bff6e0d1b992c9"},{"version":"a96e32b92909501d55be112849c4b2e8918d65afccfa2aa60092b04e1792adfe","signature":"7c746be7d0a5cd1a23a4b9f9290669f7c49ca4b315e19c103b1c8ede5037b984"},{"version":"7b248727004acae27e97c3f85b8350b2d69831251d5444090ec03aef4e06eefe","signature":"40bcee342fdfb92c1e899d6eb5dfe6e4b1d7c22ec66ddefaec6e287a182e2d9b"},{"version":"eec324d0e11d7cffadfc055cc8d6e6054a01f66ac9970629e3c3d0887bd6276c","signature":"717d62319839b9544128ebd5d5d414a2ef6aca2068d40045336d838e2872bdc9"},{"version":"c18f616b098332f45b312f3c1385de32e7b3dba6a3da8a778547dcd7ed264649","impliedFormat":99},{"version":"49334084900a060b98771a0991e227120590c3bf5097519edf19e20367179b60","signature":"8218396f3bd9e5724bc2fb6592a1da7d2254fd1d4459f0117ef8d27084e15fd4"},{"version":"3bbc718988d8e71dfd6e66190184211e0026b363c6bc75463a8693c1b593b0ed","impliedFormat":99},{"version":"f9208ff2ce978af8d3e9d12882163509ea149282028d43ccbab0604469539a10","signature":"1e174cdac977fd33e44469939c0a0dc32e49bae37f68e7fd6c11fdef8c3b02b0"},{"version":"9c993053a43756ef18faff1b230ffc632fc2371244440e789ce56f3198b627a7","impliedFormat":99},{"version":"0d2670c8c0f10e28356723dc0195678c87919eaac234d32dd09ba9e830898633","signature":"cedbe9237d7fd9bf04a39837057c73f8645cf3ad70ff81666175cdc5862b6e2d"},{"version":"c054f89fae1c3212eefabbd51413390342f5c2b4683cb02fd7de27a94c10a4ec","signature":"3e94295f73335c9122308a858445d2348949842579ac2bacd30728ab46fe75a7"}],"root":[63,67,69,71,73,74,[76,84],[88,96],98,100,102,103],"options":{"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":99,"noEmitOnError":true,"noFallthroughCasesInSwitch":true,"noImplicitOverride":true,"noImplicitReturns":true,"noPropertyAccessFromIndexSignature":false,"noUncheckedIndexedAccess":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":5,"tsBuildInfoFile":"./tsconfig.tsbuildinfo","useUnknownInCatchVariables":true,"verbatimModuleSyntax":true},"referencedMap":[[62,1],[66,2],[68,3],[70,4],[72,5],[75,2],[97,6],[60,7],[99,8],[65,9],[101,10],[61,11],[64,4],[86,12],[87,13],[63,14],[67,15],[69,16],[71,17],[73,18],[96,19],[76,20],[98,21],[80,11],[100,22],[77,5],[102,23],[95,24],[81,25],[79,26],[84,27],[82,28],[83,28],[88,29],[89,25],[94,30],[91,31],[92,32],[93,33],[90,34],[103,35],[78,36]],"latestChangedDtsFile":"./transform.d.ts","version":"6.0.2"}
package/lib/view.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export * from 'prosemirror-view';
2
+ //# sourceMappingURL=view.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"view.d.ts","sources":[],"mappings":"","names":[]}