hexagon-editor 0.1.8 → 0.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +145 -118
- package/dist/MarkdownEditor.vue.d.ts +21 -883
- package/dist/MarkdownEditor.vue.d.ts.map +1 -1
- package/dist/{MarkdownEditorLinkForm-nx1gDLpK.js → MarkdownEditorLinkForm-BAIb4QJp.js} +95 -92
- package/dist/background-color-DJ1tENTK.js +80 -0
- package/dist/{base-BOV5nzwj.js → base-B5Cf0K33.js} +9 -6
- package/dist/classname.d.ts.map +1 -1
- package/dist/{color-7y9Yd6c7.js → color-DYgeN76h.js} +268 -267
- package/dist/components/MarkdownEditorFloatingMenus.vue.d.ts +14 -17
- package/dist/components/MarkdownEditorFloatingMenus.vue.d.ts.map +1 -1
- package/dist/components/MarkdownEditorImageActions.vue.d.ts +8 -9
- package/dist/components/MarkdownEditorImageActions.vue.d.ts.map +1 -1
- package/dist/components/MarkdownEditorToolbar.vue.d.ts +27 -22
- package/dist/components/MarkdownEditorToolbar.vue.d.ts.map +1 -1
- package/dist/components/MarkdownEditorToolbarIcon.vue.d.ts +2 -1
- package/dist/components/MarkdownEditorToolbarIcon.vue.d.ts.map +1 -1
- package/dist/composables/useFloatingPanel.d.ts +2 -2
- package/dist/composables/useFloatingPanel.d.ts.map +1 -1
- package/dist/composables/useMarkdownEditorValue.d.ts +1 -1
- package/dist/composables/useMarkdownEditorValue.d.ts.map +1 -1
- package/dist/configure.d.ts.map +1 -1
- package/dist/core/actions.d.ts.map +1 -1
- package/dist/core/basic-editor-atomic-source.d.ts +1 -1
- package/dist/core/basic-editor-atomic-source.d.ts.map +1 -1
- package/dist/core/basic-editor-command-helpers.d.ts +8 -6
- package/dist/core/basic-editor-command-helpers.d.ts.map +1 -1
- package/dist/core/basic-editor-markdown.d.ts +4 -2
- package/dist/core/basic-editor-markdown.d.ts.map +1 -1
- package/dist/core/basic-editor-renderers.d.ts +2 -2
- package/dist/core/basic-editor-renderers.d.ts.map +1 -1
- package/dist/core/basic-editor-runtime-plugins.d.ts +3 -3
- package/dist/core/basic-editor-runtime-plugins.d.ts.map +1 -1
- package/dist/core/basic-editor-selection.d.ts +3 -3
- package/dist/core/basic-editor-selection.d.ts.map +1 -1
- package/dist/core/basic-editor-types.d.ts +10 -8
- package/dist/core/basic-editor-types.d.ts.map +1 -1
- package/dist/core/basic-editor.d.ts +7 -4
- package/dist/core/basic-editor.d.ts.map +1 -1
- package/dist/core/content-handler.d.ts +2 -2
- package/dist/core/content-handler.d.ts.map +1 -1
- package/dist/core/editor-instance.d.ts +2 -2
- package/dist/core/editor-instance.d.ts.map +1 -1
- package/dist/core/events.d.ts.map +1 -1
- package/dist/core/extension-builder.d.ts +4 -4
- package/dist/core/extension-builder.d.ts.map +1 -1
- package/dist/core/extensions-manager.d.ts +7 -5
- package/dist/core/extensions-manager.d.ts.map +1 -1
- package/dist/core/index.d.ts +1 -1
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/lists.d.ts +3 -2
- package/dist/core/lists.d.ts.map +1 -1
- package/dist/core/logger.d.ts +1 -1
- package/dist/core/logger.d.ts.map +1 -1
- package/dist/core/markdown-parser.d.ts +3 -3
- package/dist/core/markdown-parser.d.ts.map +1 -1
- package/dist/core/markdown.d.ts +3 -2
- package/dist/core/markdown.d.ts.map +1 -1
- package/dist/core/markup-commands.d.ts +1 -1
- package/dist/core/markup-commands.d.ts.map +1 -1
- package/dist/core/markup-editor.d.ts +1 -1
- package/dist/core/markup-editor.d.ts.map +1 -1
- package/dist/core/registries.d.ts +6 -3
- package/dist/core/registries.d.ts.map +1 -1
- package/dist/core/schema-dynamic-modifier.d.ts +1 -1
- package/dist/core/schema-dynamic-modifier.d.ts.map +1 -1
- package/dist/core/vue-renderer.d.ts +6 -4
- package/dist/core/vue-renderer.d.ts.map +1 -1
- package/dist/core.d.ts +1 -0
- package/dist/core.js +17 -16
- package/dist/directives-CqalziGj.js +11 -0
- package/dist/directives.d.ts +23 -4
- package/dist/directives.d.ts.map +1 -1
- package/dist/extensions/additional/folding-heading.d.ts +3 -2
- package/dist/extensions/additional/folding-heading.d.ts.map +1 -1
- package/dist/extensions/additional/math.d.ts +7 -5
- package/dist/extensions/additional/math.d.ts.map +1 -1
- package/dist/extensions/additional/mermaid.d.ts +7 -5
- package/dist/extensions/additional/mermaid.d.ts.map +1 -1
- package/dist/extensions/additional/quote-link.d.ts +7 -5
- package/dist/extensions/additional/quote-link.d.ts.map +1 -1
- package/dist/extensions/additional/yfm-html-block.d.ts +7 -5
- package/dist/extensions/additional/yfm-html-block.d.ts.map +1 -1
- package/dist/extensions/base.d.ts +1 -1
- package/dist/extensions/base.d.ts.map +1 -1
- package/dist/extensions/behavior/clicks-on-edges.d.ts +2 -2
- package/dist/extensions/behavior/clicks-on-edges.d.ts.map +1 -1
- package/dist/extensions/behavior/clipboard.d.ts +2 -2
- package/dist/extensions/behavior/cursor.d.ts +4 -3
- package/dist/extensions/behavior/cursor.d.ts.map +1 -1
- package/dist/extensions/behavior/editor-mode-keymap.d.ts +1 -1
- package/dist/extensions/behavior/editor-mode-keymap.d.ts.map +1 -1
- package/dist/extensions/behavior/history.d.ts +2 -2
- package/dist/extensions/behavior/history.d.ts.map +1 -1
- package/dist/extensions/behavior/placeholder.d.ts +1 -1
- package/dist/extensions/behavior/placeholder.d.ts.map +1 -1
- package/dist/extensions/behavior/resizable.d.ts +1 -1
- package/dist/extensions/behavior/selection-commands.d.ts +3 -2
- package/dist/extensions/behavior/selection-commands.d.ts.map +1 -1
- package/dist/extensions/behavior/selection-context.d.ts +3 -3
- package/dist/extensions/behavior/selection-context.d.ts.map +1 -1
- package/dist/extensions/behavior/selection.d.ts +1 -1
- package/dist/extensions/behavior/selection.d.ts.map +1 -1
- package/dist/extensions/index.d.ts +1 -0
- package/dist/extensions/index.d.ts.map +1 -1
- package/dist/extensions/markdown/background-color.d.ts +17 -0
- package/dist/extensions/markdown/background-color.d.ts.map +1 -0
- package/dist/extensions/markdown/blockquote-specs.d.ts +4 -3
- package/dist/extensions/markdown/blockquote-specs.d.ts.map +1 -1
- package/dist/extensions/markdown/blockquote.d.ts +3 -3
- package/dist/extensions/markdown/blockquote.d.ts.map +1 -1
- package/dist/extensions/markdown/bold-specs.d.ts +4 -3
- package/dist/extensions/markdown/bold.d.ts +3 -3
- package/dist/extensions/markdown/bold.d.ts.map +1 -1
- package/dist/extensions/markdown/breaks-specs.d.ts +4 -3
- package/dist/extensions/markdown/breaks-specs.d.ts.map +1 -1
- package/dist/extensions/markdown/breaks.d.ts +2 -2
- package/dist/extensions/markdown/breaks.d.ts.map +1 -1
- package/dist/extensions/markdown/code-block-specs.d.ts +4 -3
- package/dist/extensions/markdown/code-block.d.ts +3 -3
- package/dist/extensions/markdown/code-block.d.ts.map +1 -1
- package/dist/extensions/markdown/code-specs.d.ts +4 -3
- package/dist/extensions/markdown/code.d.ts +4 -3
- package/dist/extensions/markdown/code.d.ts.map +1 -1
- package/dist/extensions/markdown/color.d.ts +9 -7
- package/dist/extensions/markdown/color.d.ts.map +1 -1
- package/dist/extensions/markdown/deflist-specs.d.ts +4 -3
- package/dist/extensions/markdown/deflist-specs.d.ts.map +1 -1
- package/dist/extensions/markdown/deflist.d.ts +5 -5
- package/dist/extensions/markdown/deflist.d.ts.map +1 -1
- package/dist/extensions/markdown/heading-specs.d.ts +4 -3
- package/dist/extensions/markdown/heading.d.ts +3 -3
- package/dist/extensions/markdown/heading.d.ts.map +1 -1
- package/dist/extensions/markdown/horizontal-rule-specs.d.ts +4 -3
- package/dist/extensions/markdown/horizontal-rule.d.ts +3 -3
- package/dist/extensions/markdown/horizontal-rule.d.ts.map +1 -1
- package/dist/extensions/markdown/html.d.ts +4 -3
- package/dist/extensions/markdown/html.d.ts.map +1 -1
- package/dist/extensions/markdown/image.d.ts +7 -6
- package/dist/extensions/markdown/image.d.ts.map +1 -1
- package/dist/extensions/markdown/italic-specs.d.ts +4 -3
- package/dist/extensions/markdown/italic.d.ts +3 -3
- package/dist/extensions/markdown/italic.d.ts.map +1 -1
- package/dist/extensions/markdown/link-specs.d.ts +5 -4
- package/dist/extensions/markdown/link.d.ts +3 -3
- package/dist/extensions/markdown/link.d.ts.map +1 -1
- package/dist/extensions/markdown/list-specs.d.ts +3 -2
- package/dist/extensions/markdown/list-specs.d.ts.map +1 -1
- package/dist/extensions/markdown/lists.d.ts +3 -3
- package/dist/extensions/markdown/lists.d.ts.map +1 -1
- package/dist/extensions/markdown/mark.d.ts +5 -4
- package/dist/extensions/markdown/mark.d.ts.map +1 -1
- package/dist/extensions/markdown/strike.d.ts +5 -4
- package/dist/extensions/markdown/strike.d.ts.map +1 -1
- package/dist/extensions/markdown/subscript.d.ts +5 -4
- package/dist/extensions/markdown/subscript.d.ts.map +1 -1
- package/dist/extensions/markdown/table-actions.d.ts +2 -2
- package/dist/extensions/markdown/table-actions.d.ts.map +1 -1
- package/dist/extensions/markdown/table-specs.d.ts +4 -3
- package/dist/extensions/markdown/table-specs.d.ts.map +1 -1
- package/dist/extensions/markdown/table.d.ts +1 -1
- package/dist/extensions/markdown/table.d.ts.map +1 -1
- package/dist/extensions/markdown/underline.d.ts +5 -4
- package/dist/extensions/markdown/underline.d.ts.map +1 -1
- package/dist/extensions.d.ts +1 -0
- package/dist/extensions.js +121 -111
- package/dist/forms/MarkdownEditorForm.vue.d.ts +14 -21
- package/dist/forms/MarkdownEditorForm.vue.d.ts.map +1 -1
- package/dist/forms/MarkdownEditorImageForm.vue.d.ts +13 -81
- package/dist/forms/MarkdownEditorImageForm.vue.d.ts.map +1 -1
- package/dist/forms/MarkdownEditorLinkForm.vue.d.ts +9 -79
- package/dist/forms/MarkdownEditorLinkForm.vue.d.ts.map +1 -1
- package/dist/forms/MarkdownEditorTextInput.vue.d.ts +8 -9
- package/dist/forms/MarkdownEditorTextInput.vue.d.ts.map +1 -1
- package/dist/forms.d.ts +1 -0
- package/dist/forms.js +1 -1
- package/dist/{full-s-sYdwp2.js → full-DakJ7Z5o.js} +1 -1
- package/dist/{full-specs-Cm3QffD5.js → full-specs-CE16SWE6.js} +1 -1
- package/dist/i18n/index.d.ts +11 -1
- package/dist/i18n/index.d.ts.map +1 -1
- package/dist/i18n.d.ts +1 -0
- package/dist/i18n.js +24 -4
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +963 -862
- package/dist/{markup-commands-uq7LBcNQ.js → markup-commands-C-IL6Ajf.js} +2340 -2268
- package/dist/presets/commonmark-specs.d.ts +2 -2
- package/dist/presets/commonmark.d.ts +11 -11
- package/dist/presets/commonmark.d.ts.map +1 -1
- package/dist/presets/default.d.ts +2 -2
- package/dist/presets/full-specs.d.ts +2 -2
- package/dist/presets/full.d.ts +7 -7
- package/dist/presets/full.d.ts.map +1 -1
- package/dist/presets/zero.d.ts +2 -2
- package/dist/presets/zero.d.ts.map +1 -1
- package/dist/presets.d.ts +1 -0
- package/dist/presets.js +2 -2
- package/dist/public-types.d.ts +1 -1
- package/dist/public-types.d.ts.map +1 -1
- package/dist/renderer/MarkdownRenderer.vue.d.ts +11 -9
- package/dist/renderer/MarkdownRenderer.vue.d.ts.map +1 -1
- package/dist/renderer/index.d.ts +1 -1
- package/dist/renderer/index.d.ts.map +1 -1
- package/dist/renderer/markdown.d.ts +3 -2
- package/dist/renderer/markdown.d.ts.map +1 -1
- package/dist/renderer.css +1 -1
- package/dist/renderer.d.ts +1 -0
- package/dist/renderer.js +872 -800
- package/dist/toolbar/config.d.ts +3 -3
- package/dist/toolbar/config.d.ts.map +1 -1
- package/dist/toolbar/index.d.ts.map +1 -1
- package/dist/toolbar.d.ts +1 -0
- package/dist/toolbar.js +21 -20
- package/dist/use-markdown-editor.d.ts +3 -3
- package/dist/use-markdown-editor.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +104 -105
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { MarkSpec, MarkType } from 'prosemirror-model';
|
|
2
|
-
import { ParseSpec
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import type { MarkSpec, MarkType } from 'prosemirror-model';
|
|
2
|
+
import type { ParseSpec } from 'prosemirror-markdown';
|
|
3
|
+
import type { MarkdownSerializer } from 'prosemirror-markdown';
|
|
4
|
+
import type { Command } from 'prosemirror-state';
|
|
5
|
+
import type { ExtensionAuto } from '../../core/extension-builder';
|
|
5
6
|
export declare const strikeMarkName = "strike";
|
|
6
7
|
export declare const strikeMarkSpec: MarkSpec;
|
|
7
8
|
export declare const strikeTokenSpec: ParseSpec;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"strike.d.ts","sourceRoot":"","sources":["../../../src/extensions/markdown/strike.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAElE,eAAO,MAAM,cAAc,WAAW,CAAC;AACvC,eAAO,MAAM,cAAc,EAAE,QAG5B,CAAC;AACF,eAAO,MAAM,eAAe,EAAE,SAAoC,CAAC;AACnE,eAAO,MAAM,eAAe,EAAE,qBAAqB,CAAC,OAAO,kBAAkB,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAKvF,CAAC;AACF,wBAAgB,aAAa,CAAC,MAAM,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,GAAG,QAAQ,CAIhF;AACD,eAAO,MAAM,YAAY,EAAE,
|
|
1
|
+
{"version":3,"file":"strike.d.ts","sourceRoot":"","sources":["../../../src/extensions/markdown/strike.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAElE,eAAO,MAAM,cAAc,WAAW,CAAC;AACvC,eAAO,MAAM,cAAc,EAAE,QAG5B,CAAC;AACF,eAAO,MAAM,eAAe,EAAE,SAAoC,CAAC;AACnE,eAAO,MAAM,eAAe,EAAE,qBAAqB,CAAC,OAAO,kBAAkB,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAKvF,CAAC;AACF,wBAAgB,aAAa,CAAC,MAAM,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,GAAG,QAAQ,CAIhF;AACD,eAAO,MAAM,YAAY,EAAE,OACqC,CAAC;AACjE,eAAO,MAAM,MAAM,EAAE,aAQd,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { MarkSpec, MarkType } from 'prosemirror-model';
|
|
2
|
-
import { ParseSpec
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import type { MarkSpec, MarkType } from 'prosemirror-model';
|
|
2
|
+
import type { ParseSpec } from 'prosemirror-markdown';
|
|
3
|
+
import type { MarkdownSerializer } from 'prosemirror-markdown';
|
|
4
|
+
import type { Command } from 'prosemirror-state';
|
|
5
|
+
import type { ExtensionAuto } from '../../core/extension-builder';
|
|
5
6
|
export declare const subscriptMarkName = "sub";
|
|
6
7
|
export declare const subscriptMarkSpec: MarkSpec;
|
|
7
8
|
export declare const subscriptTokenSpec: ParseSpec;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscript.d.ts","sourceRoot":"","sources":["../../../src/extensions/markdown/subscript.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAElE,eAAO,MAAM,iBAAiB,QAAQ,CAAC;AACvC,eAAO,MAAM,iBAAiB,EAAE,QAI/B,CAAC;AACF,eAAO,MAAM,kBAAkB,EAAE,SAAuC,CAAC;AACzE,eAAO,MAAM,kBAAkB,EAAE,qBAAqB,CAAC,OAAO,kBAAkB,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAW1F,CAAC;AACF,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,GAAG,QAAQ,CAInF;AACD,eAAO,MAAM,eAAe,EAAE,
|
|
1
|
+
{"version":3,"file":"subscript.d.ts","sourceRoot":"","sources":["../../../src/extensions/markdown/subscript.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAElE,eAAO,MAAM,iBAAiB,QAAQ,CAAC;AACvC,eAAO,MAAM,iBAAiB,EAAE,QAI/B,CAAC;AACF,eAAO,MAAM,kBAAkB,EAAE,SAAuC,CAAC;AACzE,eAAO,MAAM,kBAAkB,EAAE,qBAAqB,CAAC,OAAO,kBAAkB,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAW1F,CAAC;AACF,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,GAAG,QAAQ,CAInF;AACD,eAAO,MAAM,eAAe,EAAE,OACqC,CAAC;AACpE,eAAO,MAAM,SAAS,EAAE,aAQjB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Node as ProseMirrorNode } from 'prosemirror-model';
|
|
2
|
-
import { Command, EditorState } from 'prosemirror-state';
|
|
1
|
+
import type { Node as ProseMirrorNode } from 'prosemirror-model';
|
|
2
|
+
import type { Command, EditorState } from 'prosemirror-state';
|
|
3
3
|
import { TableCellAlign } from './table-specs';
|
|
4
4
|
export declare function createTable(schema: EditorState['schema'], rows?: number, columns?: number): ProseMirrorNode;
|
|
5
5
|
export declare const insertTable: (rows?: number, columns?: number) => Command;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-actions.d.ts","sourceRoot":"","sources":["../../../src/extensions/markdown/table-actions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,IAAI,eAAe,EAAY,MAAM,mBAAmB,CAAC;AAE3E,OAAO,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,EAAc,cAAc,EAAa,MAAM,eAAe,CAAC;AAetE,wBAAgB,WAAW,CAAC,MAAM,EAAE,WAAW,CAAC,QAAQ,CAAC,EAAE,IAAI,SAAI,EAAE,OAAO,SAAI,GAAG,eAAe,CAajG;AAED,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"table-actions.d.ts","sourceRoot":"","sources":["../../../src/extensions/markdown/table-actions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,IAAI,eAAe,EAAY,MAAM,mBAAmB,CAAC;AAE3E,OAAO,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,EAAc,cAAc,EAAa,MAAM,eAAe,CAAC;AAetE,wBAAgB,WAAW,CAAC,MAAM,EAAE,WAAW,CAAC,QAAQ,CAAC,EAAE,IAAI,SAAI,EAAE,OAAO,SAAI,GAAG,eAAe,CAajG;AAED,eAAO,MAAM,WAAW,GACrB,aAAQ,EAAE,gBAAW,KAAG,OAKxB,CAAC;AAkEJ,eAAO,MAAM,WAAW,EAAE,OAUzB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,OAW5B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,OAOzB,CAAC;AAUF,eAAO,MAAM,cAAc,EAAE,OAgB5B,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,OAkB/B,CAAC;AAEF,eAAO,MAAM,uBAAuB,GACjC,WAAW,cAAc,KAAG,OAgB5B,CAAC;AAYJ,eAAO,MAAM,aAAa,GACvB,WAAW,MAAM,GAAG,MAAM,KAAG,OAiB7B,CAAC;AAEJ,eAAO,MAAM,kBAAkB,EAAE,OAoBhC,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { NodeSpec } from 'prosemirror-model';
|
|
2
|
-
import { ParseSpec
|
|
3
|
-
import {
|
|
1
|
+
import type { NodeSpec } from 'prosemirror-model';
|
|
2
|
+
import type { ParseSpec } from 'prosemirror-markdown';
|
|
3
|
+
import type { MarkdownSerializer } from 'prosemirror-markdown';
|
|
4
|
+
import type { ExtensionAuto } from '../../core/extension-builder';
|
|
4
5
|
export declare enum TableNode {
|
|
5
6
|
Table = "table",
|
|
6
7
|
Head = "thead",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-specs.d.ts","sourceRoot":"","sources":["../../../src/extensions/markdown/table-specs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAElE,oBAAY,SAAS;
|
|
1
|
+
{"version":3,"file":"table-specs.d.ts","sourceRoot":"","sources":["../../../src/extensions/markdown/table-specs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAElE,oBAAY,SAAS;IACnB,KAAK,UAAU;IACf,IAAI,UAAU;IACd,IAAI,UAAU;IACd,GAAG,OAAO;IACV,UAAU,OAAO;IACjB,QAAQ,OAAO;CAChB;AAED,oBAAY,UAAU;IACpB,SAAS,eAAe;IACxB,IAAI,cAAc;CACnB;AAED,oBAAY,cAAc;IACxB,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,KAAK,UAAU;CAChB;AAED,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,SAAS,EAAE,QAAQ,CAiCtD,CAAC;AA2BF,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,SAAS,EAAE,SAAS,CAexD,CAAC;AAWF,eAAO,MAAM,oBAAoB,EAAE,MAAM,CAAC,SAAS,EAAE,qBAAqB,CAAC,OAAO,kBAAkB,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAkC/G,CAAC;AAUF,eAAO,MAAM,UAAU,EAAE,aAOxB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExtensionAuto } from '../../core/extension-builder';
|
|
1
|
+
import type { ExtensionAuto } from '../../core/extension-builder';
|
|
2
2
|
/** CommonMark table schema and Markdown codec registrations. */
|
|
3
3
|
export declare const Table: ExtensionAuto;
|
|
4
4
|
export { TableAttrs, TableCellAlign, TableNode, TableSpecs, tableNodeSpecs, tableSerializerNodes, tableTokenSpecs, } from './table-specs';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../../src/extensions/markdown/table.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAKlE,gEAAgE;AAChE,eAAO,MAAM,KAAK,EAAE,aAUnB,CAAC;AAEF,OAAO,
|
|
1
|
+
{"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../../src/extensions/markdown/table.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAKlE,gEAAgE;AAChE,eAAO,MAAM,KAAK,EAAE,aAUnB,CAAC;AAEF,OAAO,EACL,UAAU,EACV,cAAc,EACd,SAAS,EACT,UAAU,EACV,cAAc,EACd,oBAAoB,EACpB,eAAe,GAChB,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,cAAc,EACd,WAAW,EACX,WAAW,EACX,WAAW,EACX,iBAAiB,EACjB,cAAc,EACd,aAAa,EACb,WAAW,EACX,kBAAkB,EAClB,uBAAuB,GACxB,MAAM,iBAAiB,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { MarkSpec, MarkType } from 'prosemirror-model';
|
|
2
|
-
import { ParseSpec
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import type { MarkSpec, MarkType } from 'prosemirror-model';
|
|
2
|
+
import type { ParseSpec } from 'prosemirror-markdown';
|
|
3
|
+
import type { MarkdownSerializer } from 'prosemirror-markdown';
|
|
4
|
+
import type { Command } from 'prosemirror-state';
|
|
5
|
+
import type { ExtensionAuto } from '../../core/extension-builder';
|
|
5
6
|
export declare const underlineMarkName = "ins";
|
|
6
7
|
export declare const underlineMarkSpec: MarkSpec;
|
|
7
8
|
export declare const underlineTokenSpec: ParseSpec;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"underline.d.ts","sourceRoot":"","sources":["../../../src/extensions/markdown/underline.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAElE,eAAO,MAAM,iBAAiB,QAAQ,CAAC;AACvC,eAAO,MAAM,iBAAiB,EAAE,QAG/B,CAAC;AACF,eAAO,MAAM,kBAAkB,EAAE,SAAuC,CAAC;AACzE,eAAO,MAAM,kBAAkB,EAAE,qBAAqB,CAAC,OAAO,kBAAkB,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAK1F,CAAC;AACF,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,GAAG,QAAQ,CAInF;AACD,eAAO,MAAM,eAAe,EAAE,
|
|
1
|
+
{"version":3,"file":"underline.d.ts","sourceRoot":"","sources":["../../../src/extensions/markdown/underline.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAElE,eAAO,MAAM,iBAAiB,QAAQ,CAAC;AACvC,eAAO,MAAM,iBAAiB,EAAE,QAG/B,CAAC;AACF,eAAO,MAAM,kBAAkB,EAAE,SAAuC,CAAC;AACzE,eAAO,MAAM,kBAAkB,EAAE,qBAAqB,CAAC,OAAO,kBAAkB,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAK1F,CAAC;AACF,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,GAAG,QAAQ,CAInF;AACD,eAAO,MAAM,eAAe,EAAE,OACqC,CAAC;AACpE,eAAO,MAAM,SAAS,EAAE,aAQjB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './extensions/index';
|
package/dist/extensions.js
CHANGED
|
@@ -1,66 +1,67 @@
|
|
|
1
|
-
import { B as s, g as o, h as t, i, k as l, n as
|
|
2
|
-
import {
|
|
1
|
+
import { B as s, g as o, h as t, i as r, k as l, n as i, C as n, o as c, p as d, q as k, r as m, D as b, E as p, F as g, G as u, H as S, u as N, v as T, w as B, x as M, y as f, z as C, I as h, A as H, J as z, L, K as y, M as A, N as I, O as x, P as R, Q as w, R as D, S as q, T as v, U as P, V as Q, W as E, X as F, Y as O, Z as Y, _ as U, $ as G, a0 as K, a1 as V, a2 as j, a3 as J, a4 as W, a5 as X, a6 as Z, a7 as _, a8 as $, a9 as aa, aa as ea, ab as sa, ac as oa, ad as ta, ae as ra, af as la, ag as ia, ah as na, ai as ca, aj as da, ak as ka, al as ma, am as ba, an as pa, ao as ga, ap as ua, aq as Sa, ar as Na, as as Ta, at as Ba, au as Ma, av as fa, aw as Ca, ax as ha, ay as Ha, az as za, aA as La, aB as ya, aC as Aa, aD as Ia, aE as xa, aF as Ra, aG as wa, aH as Da, aI as qa, aJ as va, aK as Pa, aL as Qa, aM as Ea, aN as Fa, aO as Oa, aP as Ya, aQ as Ua, aR as Ga, aS as Ka, aT as Va, aU as ja, aV as Ja, aW as Wa, aX as Xa, aY as Za, aZ as _a, a_ as $a, a$ as ae, b0 as ee, b1 as se, b2 as oe, b3 as te, b4 as re, b5 as le, b6 as ie, b7 as ne, b8 as ce, b9 as de, ba as ke, bb as me, bc as be, bd as pe, be as ge, bf as ue, bg as Se, bh as Ne, bi as Te, bj as Be, bk as Me, bl as fe, bm as Ce, bn as he, bo as He, bp as ze, bq as Le, br as ye, bs as Ae, bt as Ie, bu as xe, bv as Re, bw as we, bx as De, by as qe, bz as ve, bA as Pe, bB as Qe, bC as Ee, bD as Fe, bE as Oe, bF as Ye, bG as Ue, bH as Ge, bI as Ke, bJ as Ve, bK as je, bL as Je, bM as We, bN as Xe, bO as Ze, bP as _e, bQ as $e, bR as as, bS as es, bT as ss, bU as os, bV as ts, bW as rs, bX as ls, bY as is, bZ as ns, b_ as cs, b$ as ds, c0 as ks, c1 as ms, c2 as bs, c3 as ps } from "./base-B5Cf0K33.js";
|
|
2
|
+
import { b as us, a as Ss, c as Ns, g as Ts, i as Bs, t as Ms, d as fs, e as Cs, f as hs } from "./background-color-DJ1tENTK.js";
|
|
3
|
+
import { B as zs, a as Ls, b as ys, c as As, d as Is, C as xs, e as Rs, f as ws, D as Ds, g as qs, h as vs, H as Ps, i as Qs, I as Es, j as Fs, L as Os, k as Ys, T as Us, l as Gs, m as Ks, n as Vs, o as js, p as Js, q as Ws, r as Xs, s as Zs, t as _s, u as $s, v as ao, w as eo, x as so, y as oo, z as to, A as ro, E as lo, F as io, G as no, J as co, K as ko, M as mo, N as bo, O as po, P as go, Q as uo, R as So, S as No, U as To, V as Bo, W as Mo, X as fo, Y as Co, Z as ho, _ as Ho, $ as zo, a0 as Lo, a1 as yo, a2 as Ao, a3 as Io, a4 as xo, a5 as Ro, a6 as wo, a7 as Do, a8 as qo, a9 as vo, aa as Po, ab as Qo, ac as Eo, ad as Fo } from "./heading-specs-Dnjn5FYs.js";
|
|
3
4
|
export {
|
|
4
5
|
s as BaseInputRules,
|
|
5
6
|
o as BaseKeymap,
|
|
6
7
|
t as BaseSchema,
|
|
7
|
-
|
|
8
|
-
|
|
8
|
+
r as Blockquote,
|
|
9
|
+
zs as BlockquoteSpecs,
|
|
9
10
|
l as Bold,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
Ls as BoldAttrs,
|
|
12
|
+
ys as BoldSpecs,
|
|
13
|
+
As as BreakNodeName,
|
|
14
|
+
i as Breaks,
|
|
15
|
+
Is as BreaksSpecs,
|
|
15
16
|
n as ClicksOnEdges,
|
|
16
17
|
c as Clipboard,
|
|
17
18
|
d as Code,
|
|
18
19
|
k as CodeBlock,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
xs as CodeBlockAttrs,
|
|
21
|
+
Rs as CodeBlockSpecs,
|
|
22
|
+
ws as CodeSpecs,
|
|
22
23
|
m as Cursor,
|
|
23
24
|
b as Deflist,
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
Ds as DeflistAttr,
|
|
26
|
+
qs as DeflistNode,
|
|
27
|
+
vs as DeflistSpecs,
|
|
27
28
|
p as EditorModeKeymap,
|
|
28
29
|
g as FoldingHeading,
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
u as GapCursorSelection,
|
|
31
|
+
S as Heading,
|
|
32
|
+
Ps as HeadingSpecs,
|
|
32
33
|
N as History,
|
|
33
34
|
T as HistoryAction,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
B as HorizontalRule,
|
|
36
|
+
Qs as HorizontalRuleSpecs,
|
|
37
|
+
M as Html,
|
|
37
38
|
f as HtmlAttr,
|
|
38
|
-
|
|
39
|
-
|
|
39
|
+
C as HtmlNode,
|
|
40
|
+
h as Image,
|
|
40
41
|
H as ImageAttr,
|
|
41
42
|
z as Italic,
|
|
42
|
-
|
|
43
|
-
|
|
43
|
+
Es as ItalicAttrs,
|
|
44
|
+
Fs as ItalicSpecs,
|
|
44
45
|
L as Link,
|
|
45
|
-
|
|
46
|
-
|
|
46
|
+
Os as LinkAttr,
|
|
47
|
+
Ys as LinkSpecs,
|
|
47
48
|
y as Lists,
|
|
48
49
|
A as Mark,
|
|
49
50
|
I as Math,
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
51
|
+
x as MathNode,
|
|
52
|
+
R as Mermaid,
|
|
53
|
+
w as Placeholder,
|
|
54
|
+
D as QuoteLink,
|
|
55
|
+
q as Resizable,
|
|
55
56
|
v as Selection,
|
|
56
57
|
P as SelectionContext,
|
|
57
58
|
Q as Strike,
|
|
58
59
|
E as Subscript,
|
|
59
60
|
F as Table,
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
61
|
+
Us as TableAttrs,
|
|
62
|
+
Gs as TableCellAlign,
|
|
63
|
+
Ks as TableNode,
|
|
64
|
+
Vs as TableSpecs,
|
|
64
65
|
O as Underline,
|
|
65
66
|
Y as YfmHtmlBlock,
|
|
66
67
|
U as addBreak,
|
|
@@ -72,30 +73,33 @@ export {
|
|
|
72
73
|
W as addParagraphToStart,
|
|
73
74
|
X as addTableColumn,
|
|
74
75
|
Z as addTableRow,
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
76
|
+
us as backgroundColorMarkSpec,
|
|
77
|
+
Ss as backgroundColorTokenSpec,
|
|
78
|
+
js as blockquoteNodeName,
|
|
79
|
+
Js as blockquoteNodeSpec,
|
|
80
|
+
Ws as blockquoteTokenSpec,
|
|
81
|
+
Xs as boldMarkName,
|
|
82
|
+
Zs as boldMarkSpec,
|
|
83
|
+
_s as boldTokenSpec,
|
|
84
|
+
$s as breakTokenSpecs,
|
|
85
|
+
ao as codeBlockNodeName,
|
|
86
|
+
eo as codeBlockNodeSpec,
|
|
87
|
+
so as codeBlockTokenSpecs,
|
|
88
|
+
oo as codeMarkName,
|
|
89
|
+
to as codeMarkSpec,
|
|
90
|
+
ro as codeTokenSpec,
|
|
91
|
+
Ns as configureBackgroundColorMarkdown,
|
|
88
92
|
_ as configureImageMarkdown,
|
|
89
|
-
|
|
93
|
+
lo as configureLinkMarkdown,
|
|
90
94
|
$ as configureMathMarkdown,
|
|
91
95
|
aa as configureMermaidMarkdown,
|
|
92
96
|
ea as configureQuoteLinkMarkdown,
|
|
93
97
|
sa as configureYfmHtmlBlockMarkdown,
|
|
94
98
|
oa as createGapCursorPlugin,
|
|
95
99
|
ta as createHistoryActions,
|
|
96
|
-
|
|
100
|
+
ra as createLatexPastePlugin,
|
|
97
101
|
la as createListActions,
|
|
98
|
-
|
|
102
|
+
ia as createMarkdownMarkInputRule,
|
|
99
103
|
na as createMathInlineInputRule,
|
|
100
104
|
ca as createMathNodeSpecs,
|
|
101
105
|
da as createMermaidNodeSpec,
|
|
@@ -104,40 +108,41 @@ export {
|
|
|
104
108
|
ba as defaultMathLatex,
|
|
105
109
|
pa as defaultMermaidSource,
|
|
106
110
|
ga as defaultYfmHtml,
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
111
|
+
io as deflistNodeSpecs,
|
|
112
|
+
no as deflistSerializerNodes,
|
|
113
|
+
co as deflistTokenSpecs,
|
|
114
|
+
ua as deleteTable,
|
|
115
|
+
Sa as deleteTableColumn,
|
|
112
116
|
Na as deleteTableRow,
|
|
113
117
|
Ta as getBlockquoteType,
|
|
114
|
-
|
|
115
|
-
|
|
118
|
+
Ba as getBoldType,
|
|
119
|
+
Ma as getCodeBlockType,
|
|
116
120
|
fa as getCodeType,
|
|
117
|
-
|
|
118
|
-
|
|
121
|
+
Ca as getCurrentLink,
|
|
122
|
+
ha as getDeflistTypes,
|
|
119
123
|
Ha as getHeadingType,
|
|
120
124
|
za as getHorizontalRuleType,
|
|
121
125
|
La as getImageType,
|
|
122
126
|
ya as getItalicType,
|
|
123
127
|
Aa as getLinkType,
|
|
124
128
|
Ia as getMarkType,
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
129
|
+
xa as getMathNodeType,
|
|
130
|
+
Ra as getQuoteLinkType,
|
|
131
|
+
wa as getStrikeType,
|
|
132
|
+
Da as getSubscriptType,
|
|
133
|
+
Ts as getTextBackgroundColorCssValue,
|
|
134
|
+
qa as getUnderlineType,
|
|
130
135
|
va as goToTableCell,
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
136
|
+
ko as hardBreakNodeSpec,
|
|
137
|
+
mo as headingLevelAttr,
|
|
138
|
+
bo as headingLineNumberAttr,
|
|
139
|
+
po as headingNodeName,
|
|
140
|
+
go as headingNodeSpec,
|
|
141
|
+
uo as headingTokenSpec,
|
|
142
|
+
So as horizontalRuleMarkupAttr,
|
|
143
|
+
No as horizontalRuleNodeName,
|
|
144
|
+
To as horizontalRuleNodeSpec,
|
|
145
|
+
Bo as horizontalRuleTokenSpec,
|
|
141
146
|
Pa as htmlNodeSpecs,
|
|
142
147
|
Qa as htmlSerializerNodes,
|
|
143
148
|
Ea as htmlTokenSpecs,
|
|
@@ -154,21 +159,22 @@ export {
|
|
|
154
159
|
Xa as isGapCursorSelection,
|
|
155
160
|
Za as isInsideCode,
|
|
156
161
|
_a as isLatexMode,
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
162
|
+
Bs as isTextBackgroundColorName,
|
|
163
|
+
Mo as italicMarkName,
|
|
164
|
+
fo as italicMarkSpec,
|
|
165
|
+
Co as italicTokenSpec,
|
|
160
166
|
$a as liftFromQuote,
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
167
|
+
ho as linkMarkName,
|
|
168
|
+
Ho as linkMarkSpec,
|
|
169
|
+
zo as linkTokenSpec,
|
|
164
170
|
ae as markMarkName,
|
|
165
171
|
ee as markMarkSpec,
|
|
166
172
|
se as markTokenSpec,
|
|
167
173
|
oe as mathBlockActionName,
|
|
168
174
|
te as mathInlineActionName,
|
|
169
|
-
|
|
175
|
+
re as mathNodeSpecs,
|
|
170
176
|
le as mathSerializerNodes,
|
|
171
|
-
|
|
177
|
+
ie as mathTokenSpecs,
|
|
172
178
|
ne as mermaidActionName,
|
|
173
179
|
ce as mermaidNodeName,
|
|
174
180
|
de as mermaidNodeSpec,
|
|
@@ -177,42 +183,42 @@ export {
|
|
|
177
183
|
be as moveCursorRightOfMathInline,
|
|
178
184
|
pe as moveToNextTableRow,
|
|
179
185
|
ge as newlineInCode,
|
|
180
|
-
|
|
181
|
-
|
|
186
|
+
ue as openHeadingAndCreateParagraphAfter,
|
|
187
|
+
Se as parseLatexFormulas,
|
|
182
188
|
Ne as quoteLinkActionName,
|
|
183
189
|
Te as quoteLinkNodeName,
|
|
184
|
-
|
|
185
|
-
|
|
190
|
+
Be as quoteLinkNodeSpec,
|
|
191
|
+
Me as quoteLinkTokenSpec,
|
|
186
192
|
fe as removeCurrentLink,
|
|
187
|
-
|
|
188
|
-
|
|
193
|
+
Ce as removeFoldingAtHeadingStart,
|
|
194
|
+
he as removeLink,
|
|
189
195
|
He as resetCodeBlock,
|
|
190
196
|
ze as resetHeading,
|
|
191
197
|
Le as selectMathInlineBeforeCursor,
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
198
|
+
Lo as serializeBlockquote,
|
|
199
|
+
yo as serializeBold,
|
|
200
|
+
Ao as serializeCode,
|
|
201
|
+
Io as serializeCodeBlock,
|
|
202
|
+
xo as serializeHardBreak,
|
|
203
|
+
Ro as serializeHeading,
|
|
204
|
+
wo as serializeHorizontalRule,
|
|
199
205
|
ye as serializeImage,
|
|
200
|
-
|
|
201
|
-
|
|
206
|
+
Do as serializeItalic,
|
|
207
|
+
qo as serializeLink,
|
|
202
208
|
Ae as serializeMark,
|
|
203
209
|
Ie as serializeMermaid,
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
+
xe as serializeQuoteLink,
|
|
211
|
+
vo as serializeSoftBreak,
|
|
212
|
+
Re as serializeStrike,
|
|
213
|
+
we as serializeSubscript,
|
|
214
|
+
De as serializeUnderline,
|
|
215
|
+
qe as serializeYfmHtmlBlock,
|
|
210
216
|
ve as setCodeBlock,
|
|
211
217
|
Pe as setCodeBlockLanguage,
|
|
212
218
|
Qe as setImageDisplay,
|
|
213
219
|
Ee as setLink,
|
|
214
220
|
Fe as setTableColumnAlignment,
|
|
215
|
-
|
|
221
|
+
Po as softBreakNodeSpec,
|
|
216
222
|
Oe as splitDeflist,
|
|
217
223
|
Ye as strikeMarkName,
|
|
218
224
|
Ue as strikeMarkSpec,
|
|
@@ -220,9 +226,13 @@ export {
|
|
|
220
226
|
Ke as subscriptMarkName,
|
|
221
227
|
Ve as subscriptMarkSpec,
|
|
222
228
|
je as subscriptTokenSpec,
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
229
|
+
Qo as tableNodeSpecs,
|
|
230
|
+
Eo as tableSerializerNodes,
|
|
231
|
+
Fo as tableTokenSpecs,
|
|
232
|
+
Ms as textBackgroundColorCssVariables,
|
|
233
|
+
fs as textBackgroundColorMenuNames,
|
|
234
|
+
Cs as textBackgroundColorMessageKeys,
|
|
235
|
+
hs as textBackgroundColorNames,
|
|
226
236
|
Je as toHeading,
|
|
227
237
|
We as toMathBlock,
|
|
228
238
|
Xe as toggleBold,
|
|
@@ -234,9 +244,9 @@ export {
|
|
|
234
244
|
ss as toggleQuote,
|
|
235
245
|
os as toggleQuoteLink,
|
|
236
246
|
ts as toggleStrike,
|
|
237
|
-
|
|
247
|
+
rs as toggleSubscript,
|
|
238
248
|
ls as toggleUnderline,
|
|
239
|
-
|
|
249
|
+
is as underlineMarkName,
|
|
240
250
|
ns as underlineMarkSpec,
|
|
241
251
|
cs as underlineTokenSpec,
|
|
242
252
|
ds as wrapToDeflist,
|
|
@@ -1,35 +1,28 @@
|
|
|
1
|
-
import { MarkdownEditorTheme } from '../public-types';
|
|
1
|
+
import type { MarkdownEditorTheme } from '../public-types';
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
disabled?: boolean;
|
|
4
4
|
theme?: MarkdownEditorTheme;
|
|
5
5
|
};
|
|
6
|
-
declare
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
};
|
|
12
|
-
refs: {
|
|
13
|
-
element: HTMLFormElement;
|
|
14
|
-
};
|
|
15
|
-
rootEl: HTMLFormElement;
|
|
6
|
+
declare var __VLS_1: {}, __VLS_3: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_1) => any;
|
|
9
|
+
} & {
|
|
10
|
+
footer?: (props: typeof __VLS_3) => any;
|
|
16
11
|
};
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
13
|
+
element: import("vue").Ref<HTMLFormElement | undefined, HTMLFormElement | undefined>;
|
|
14
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
21
15
|
submit: () => any;
|
|
22
|
-
}, string, import(
|
|
16
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
23
17
|
onSubmit?: (() => any) | undefined;
|
|
24
18
|
}>, {
|
|
25
19
|
disabled: boolean;
|
|
26
20
|
theme: MarkdownEditorTheme;
|
|
27
|
-
}, {}, {}, {}, string, import(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
21
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
23
|
+
declare const _default: typeof __VLS_export;
|
|
31
24
|
export default _default;
|
|
32
|
-
type
|
|
25
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
33
26
|
new (): {
|
|
34
27
|
$slots: S;
|
|
35
28
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MarkdownEditorForm.vue.d.ts","sourceRoot":"","sources":["../../src/forms/MarkdownEditorForm.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MarkdownEditorForm.vue.d.ts","sourceRoot":"","sources":["../../src/forms/MarkdownEditorForm.vue"],"names":[],"mappings":"AAiKA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAI3D,KAAK,WAAW,GAAG;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,mBAAmB,CAAC;CAC7B,CAAC;AA0DJ,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAW,CAAE;AAC3C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC5C;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAO9C,QAAA,MAAM,UAAU;;;;;;;cAtED,OAAO;WACV,mBAAmB;6EA0E7B,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|