@kedataindo/docflow-plugins 0.0.34 → 0.0.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -1,29 +1,13 @@
1
1
  import * as _kedata_indonesia_docflow_core from '@kedataindo/docflow-core';
2
2
  import { AIAction, DocsEditorPlugin } from '@kedataindo/docflow-core';
3
3
  export { DocsEditorPlugin, FontSizeExtension, SlashCommand, ToolbarItem } from '@kedataindo/docflow-core';
4
- import { Extension, Node, Editor, Mark } from '@tiptap/core';
4
+ import { Node, Editor, Extension, Mark } from '@tiptap/core';
5
5
  import { CiteEngine } from './citations.cjs';
6
6
  export { CSL_LOCALE_EN_US, CSL_STYLES, CitationAttrs, CitationCluster, CitationMode, CiteEngineOptions, CslStyleInfo, DEFAULT_CSL_STYLE, buildCitationNodes, nextCitationId, sanitizeCiteprocHtml } from './citations.cjs';
7
7
  import { PluginKey } from '@tiptap/pm/state';
8
8
  import { Fragment } from '@tiptap/pm/model';
9
9
  import { EditorView } from '@tiptap/pm/view';
10
10
 
11
- declare function getCitationEngine(editor: Editor): CiteEngine | null;
12
- /**
13
- * Carries the document-scoped CiteEngine in editor storage. The engine is
14
- * created by citationPlugin.hooks.onInit (from the injected CitationPort) and
15
- * disposed on destroy — one instance per editor, never per node.
16
- */
17
- declare const CitationEngineExtension: Extension<any, any>;
18
- /**
19
- * Inline citation — `{ sourceId, locator, … }` only. The visible text is
20
- * derived by the CiteEngine at render time and is NEVER stored in the
21
- * document (the #1 correctness invariant of the phase-6 design: two clients
22
- * with the same sources + style derive identical output through Yjs).
23
- */
24
- declare const CitationNode: Node<any, any>;
25
- declare const citationPlugin: _kedata_indonesia_docflow_core.DocsEditorPlugin;
26
-
27
11
  declare const formattingPlugin: _kedata_indonesia_docflow_core.DocsEditorPlugin;
28
12
 
29
13
  declare const headingsPlugin: _kedata_indonesia_docflow_core.DocsEditorPlugin;
@@ -116,6 +100,22 @@ declare const textColorPlugin: _kedata_indonesia_docflow_core.DocsEditorPlugin;
116
100
 
117
101
  declare const highlightPlugin: _kedata_indonesia_docflow_core.DocsEditorPlugin;
118
102
 
103
+ declare function getCitationEngine(editor: Editor): CiteEngine | null;
104
+ /**
105
+ * Carries the document-scoped CiteEngine in editor storage. The engine is
106
+ * created by citationPlugin.hooks.onInit (from the injected CitationPort) and
107
+ * disposed on destroy — one instance per editor, never per node.
108
+ */
109
+ declare const CitationEngineExtension: Extension<any, any>;
110
+ /**
111
+ * Inline citation — `{ sourceId, locator, … }` only. The visible text is
112
+ * derived by the CiteEngine at render time and is NEVER stored in the
113
+ * document (the #1 correctness invariant of the phase-6 design: two clients
114
+ * with the same sources + style derive identical output through Yjs).
115
+ */
116
+ declare const CitationNode: Node<any, any>;
117
+ declare const citationPlugin: _kedata_indonesia_docflow_core.DocsEditorPlugin;
118
+
119
119
  /**
120
120
  * AI writing assistance (Phase 7B inline transforms + 7C generation at cursor).
121
121
  *
package/dist/index.d.ts CHANGED
@@ -1,29 +1,13 @@
1
1
  import * as _kedata_indonesia_docflow_core from '@kedataindo/docflow-core';
2
2
  import { AIAction, DocsEditorPlugin } from '@kedataindo/docflow-core';
3
3
  export { DocsEditorPlugin, FontSizeExtension, SlashCommand, ToolbarItem } from '@kedataindo/docflow-core';
4
- import { Extension, Node, Editor, Mark } from '@tiptap/core';
4
+ import { Node, Editor, Extension, Mark } from '@tiptap/core';
5
5
  import { CiteEngine } from './citations.js';
6
6
  export { CSL_LOCALE_EN_US, CSL_STYLES, CitationAttrs, CitationCluster, CitationMode, CiteEngineOptions, CslStyleInfo, DEFAULT_CSL_STYLE, buildCitationNodes, nextCitationId, sanitizeCiteprocHtml } from './citations.js';
7
7
  import { PluginKey } from '@tiptap/pm/state';
8
8
  import { Fragment } from '@tiptap/pm/model';
9
9
  import { EditorView } from '@tiptap/pm/view';
10
10
 
11
- declare function getCitationEngine(editor: Editor): CiteEngine | null;
12
- /**
13
- * Carries the document-scoped CiteEngine in editor storage. The engine is
14
- * created by citationPlugin.hooks.onInit (from the injected CitationPort) and
15
- * disposed on destroy — one instance per editor, never per node.
16
- */
17
- declare const CitationEngineExtension: Extension<any, any>;
18
- /**
19
- * Inline citation — `{ sourceId, locator, … }` only. The visible text is
20
- * derived by the CiteEngine at render time and is NEVER stored in the
21
- * document (the #1 correctness invariant of the phase-6 design: two clients
22
- * with the same sources + style derive identical output through Yjs).
23
- */
24
- declare const CitationNode: Node<any, any>;
25
- declare const citationPlugin: _kedata_indonesia_docflow_core.DocsEditorPlugin;
26
-
27
11
  declare const formattingPlugin: _kedata_indonesia_docflow_core.DocsEditorPlugin;
28
12
 
29
13
  declare const headingsPlugin: _kedata_indonesia_docflow_core.DocsEditorPlugin;
@@ -116,6 +100,22 @@ declare const textColorPlugin: _kedata_indonesia_docflow_core.DocsEditorPlugin;
116
100
 
117
101
  declare const highlightPlugin: _kedata_indonesia_docflow_core.DocsEditorPlugin;
118
102
 
103
+ declare function getCitationEngine(editor: Editor): CiteEngine | null;
104
+ /**
105
+ * Carries the document-scoped CiteEngine in editor storage. The engine is
106
+ * created by citationPlugin.hooks.onInit (from the injected CitationPort) and
107
+ * disposed on destroy — one instance per editor, never per node.
108
+ */
109
+ declare const CitationEngineExtension: Extension<any, any>;
110
+ /**
111
+ * Inline citation — `{ sourceId, locator, … }` only. The visible text is
112
+ * derived by the CiteEngine at render time and is NEVER stored in the
113
+ * document (the #1 correctness invariant of the phase-6 design: two clients
114
+ * with the same sources + style derive identical output through Yjs).
115
+ */
116
+ declare const CitationNode: Node<any, any>;
117
+ declare const citationPlugin: _kedata_indonesia_docflow_core.DocsEditorPlugin;
118
+
119
119
  /**
120
120
  * AI writing assistance (Phase 7B inline transforms + 7C generation at cursor).
121
121
  *