@harbour-enterprises/superdoc 0.10.71 → 0.10.72
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/chunks/{eventemitter3-DmT5PYHc.es.js → eventemitter3-CGDu2RxU.es.js} +1 -1
- package/dist/chunks/{index-BN5TDoeo.es.js → index-BF-lC4S6.es.js} +2 -2
- package/dist/chunks/{index-BavEbpBI.es.js → index-DcSLQU3f.es.js} +4 -4
- package/dist/chunks/{jszip-Clbt_EEu.es.js → jszip-CxAhBy-b.es.js} +1 -1
- package/dist/chunks/{super-editor.es-C-h-154n.es.js → super-editor.es-C7j1iePP.es.js} +9656 -10254
- package/dist/chunks/super-editor.es-CIYZ5Y6P.cjs +459 -0
- package/dist/chunks/{url-BhdilvzC.es.js → url-_K71OnFe.es.js} +2 -2
- package/dist/chunks/{vue-B11Xj7yz.es.js → vue-fDwoASPl.es.js} +18 -18
- package/dist/chunks/{xml-js-DxzxwFYn.es.js → xml-js--d8FG5HY.es.js} +2 -2
- package/dist/components/CommentsLayer/comment-schemas.d.ts +17 -0
- package/dist/components/CommentsLayer/comment-schemas.d.ts.map +1 -0
- package/dist/components/CommentsLayer/commentsList/super-comments-list.d.ts +22 -0
- package/dist/components/CommentsLayer/commentsList/super-comments-list.d.ts.map +1 -0
- package/dist/components/CommentsLayer/helpers.d.ts +8 -0
- package/dist/components/CommentsLayer/helpers.d.ts.map +1 -0
- package/dist/components/CommentsLayer/use-comment.d.ts +8 -0
- package/dist/components/CommentsLayer/use-comment.d.ts.map +1 -0
- package/dist/components/CommentsLayer/use-conversation.d.ts +23 -0
- package/dist/components/CommentsLayer/use-conversation.d.ts.map +1 -0
- package/dist/components/CommentsLayer/use-floating-comment.d.ts +12 -0
- package/dist/components/CommentsLayer/use-floating-comment.d.ts.map +1 -0
- package/dist/components/CommentsLayer/use-tracked-change.d.ts +1 -0
- package/dist/components/CommentsLayer/use-tracked-change.d.ts.map +1 -0
- package/dist/components/PdfViewer/helpers/pdfjs-worker.d.ts +3 -0
- package/dist/components/PdfViewer/helpers/pdfjs-worker.d.ts.map +1 -0
- package/dist/components/PdfViewer/helpers/range.d.ts +2 -0
- package/dist/components/PdfViewer/helpers/range.d.ts.map +1 -0
- package/dist/components/PdfViewer/pdfjs.d.ts +3 -0
- package/dist/components/PdfViewer/pdfjs.d.ts.map +1 -0
- package/dist/components/PdfViewer/worker.d.ts +3 -0
- package/dist/components/PdfViewer/worker.d.ts.map +1 -0
- package/dist/composables/use-ai.d.ts +13 -0
- package/dist/composables/use-ai.d.ts.map +1 -0
- package/dist/composables/use-document.d.ts +28 -0
- package/dist/composables/use-document.d.ts.map +1 -0
- package/dist/composables/use-field.d.ts +34 -0
- package/dist/composables/use-field.d.ts.map +1 -0
- package/dist/composables/use-selected-text.d.ts +8 -0
- package/dist/composables/use-selected-text.d.ts.map +1 -0
- package/dist/core/SuperDoc.d.ts +373 -0
- package/dist/core/SuperDoc.d.ts.map +1 -0
- package/dist/core/collaboration/collaboration-comments.d.ts +5 -0
- package/dist/core/collaboration/collaboration-comments.d.ts.map +1 -0
- package/dist/core/collaboration/collaboration.d.ts +27 -0
- package/dist/core/collaboration/collaboration.d.ts.map +1 -0
- package/dist/core/collaboration/helpers.d.ts +5 -0
- package/dist/core/collaboration/helpers.d.ts.map +1 -0
- package/dist/core/collaboration/permissions.d.ts +14 -0
- package/dist/core/collaboration/permissions.d.ts.map +1 -0
- package/dist/core/create-app.d.ts +2 -0
- package/dist/core/create-app.d.ts.map +1 -0
- package/dist/core/helpers/export.d.ts +3 -0
- package/dist/core/helpers/export.d.ts.map +1 -0
- package/dist/core/index.d.ts +2 -0
- package/dist/{super-editor/extensions/search → core}/index.d.ts.map +1 -1
- package/dist/helpers/use-selection.d.ts +18 -0
- package/dist/helpers/use-selection.d.ts.map +1 -0
- package/dist/icons.d.ts +11 -0
- package/dist/icons.d.ts.map +1 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/main.d.ts +2 -0
- package/dist/main.d.ts.map +1 -0
- package/dist/stores/comments-store.d.ts +248 -0
- package/dist/stores/comments-store.d.ts.map +1 -0
- package/dist/stores/hrbr-fields-store.d.ts +44 -0
- package/dist/stores/hrbr-fields-store.d.ts.map +1 -0
- package/dist/stores/superdoc-store.d.ts +881 -0
- package/dist/stores/superdoc-store.d.ts.map +1 -0
- package/dist/style.css +3466 -1
- package/dist/super-editor/ai-writer.es.js +1 -1
- package/dist/super-editor/chunks/{converter-DKAFrp3H.js → converter-DdoplIcH.js} +1353 -1446
- package/dist/super-editor/chunks/{docx-zipper-DpRWSvIy.js → docx-zipper-BuLg2ivg.js} +1 -1
- package/dist/super-editor/chunks/{editor-Bv24RlYz.js → editor-CzUrA6Jd.js} +6079 -6532
- package/dist/super-editor/chunks/{toolbar-DwveODMd.js → toolbar-DfKr9n4m.js} +872 -866
- package/dist/super-editor/components/toolbar/defaultItems.d.ts.map +1 -1
- package/dist/super-editor/components/toolbar/super-toolbar.d.ts +0 -2
- package/dist/super-editor/components/toolbar/super-toolbar.d.ts.map +1 -1
- package/dist/super-editor/components/toolbar/toolbarIcons.d.ts +0 -1
- package/dist/super-editor/components/toolbar/use-toolbar-item.d.ts +0 -1
- package/dist/super-editor/components/toolbar/use-toolbar-item.d.ts.map +1 -1
- package/dist/super-editor/converter.es.js +1 -1
- package/dist/super-editor/core/super-converter/exporter.d.ts.map +1 -1
- package/dist/super-editor/core/super-converter/v2/importer/imageImporter.d.ts.map +1 -1
- package/dist/super-editor/docx-zipper.es.js +2 -2
- package/dist/super-editor/editor.es.js +3 -3
- package/dist/super-editor/extensions/field-annotation/field-annotation.d.ts.map +1 -1
- package/dist/super-editor/extensions/image/image.d.ts.map +1 -1
- package/dist/super-editor/extensions/index.d.ts +1 -2
- package/dist/super-editor/extensions/index.d.ts.map +1 -1
- package/dist/super-editor/extensions/table/table.d.ts.map +1 -1
- package/dist/super-editor/file-zipper.es.js +1 -1
- package/dist/super-editor/style.css +1 -1
- package/dist/super-editor/super-editor.es.js +722 -780
- package/dist/super-editor/toolbar.es.js +2 -2
- package/dist/super-editor.cjs +1 -1
- package/dist/super-editor.d.ts +2 -0
- package/dist/super-editor.d.ts.map +1 -0
- package/dist/super-editor.es.js +11 -11
- package/dist/superdoc.cjs +58 -58
- package/dist/superdoc.es.js +1075 -1108
- package/dist/superdoc.umd.js +70456 -0
- package/dist/superdoc.umd.js.map +1 -0
- package/package.json +1 -1
- package/dist/chunks/super-editor.es-BeujGZGI.cjs +0 -462
- package/dist/super-editor/extensions/image/imageHelpers/imagePositionPlugin.d.ts +0 -6
- package/dist/super-editor/extensions/image/imageHelpers/imagePositionPlugin.d.ts.map +0 -1
- package/dist/super-editor/extensions/search/index.d.ts +0 -2
- package/dist/super-editor/extensions/search/search.d.ts +0 -2
- package/dist/super-editor/extensions/search/search.d.ts.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as pe, g as gr, a as Qr } from "./jszip-
|
|
2
|
-
import { t as $e, g as wr, c as Sr } from "./xml-js
|
|
1
|
+
import { c as pe, g as gr, a as Qr } from "./jszip-CxAhBy-b.es.js";
|
|
2
|
+
import { t as $e, g as wr, c as Sr } from "./xml-js--d8FG5HY.es.js";
|
|
3
3
|
import { _ as Gr } from "./__vite-browser-external-YbutIfMq.es.js";
|
|
4
4
|
var Ee = { exports: {} };
|
|
5
5
|
/*! https://mths.be/punycode v1.4.1 by @mathias */
|
|
@@ -5759,23 +5759,23 @@ u.env.NODE_ENV !== "production" && _u();
|
|
|
5759
5759
|
export {
|
|
5760
5760
|
ie as $,
|
|
5761
5761
|
Yo as A,
|
|
5762
|
-
|
|
5763
|
-
|
|
5764
|
-
|
|
5765
|
-
|
|
5762
|
+
Pf as B,
|
|
5763
|
+
Du as C,
|
|
5764
|
+
Bc as D,
|
|
5765
|
+
yf as E,
|
|
5766
5766
|
we as F,
|
|
5767
|
-
|
|
5767
|
+
Ge as G,
|
|
5768
5768
|
wu as H,
|
|
5769
|
-
|
|
5770
|
-
|
|
5771
|
-
|
|
5772
|
-
|
|
5769
|
+
Mu as I,
|
|
5770
|
+
yu as J,
|
|
5771
|
+
Fu as K,
|
|
5772
|
+
ju as L,
|
|
5773
5773
|
tr as M,
|
|
5774
5774
|
Ri as N,
|
|
5775
|
-
|
|
5776
|
-
|
|
5777
|
-
|
|
5778
|
-
|
|
5775
|
+
Ru as O,
|
|
5776
|
+
qf as P,
|
|
5777
|
+
le as Q,
|
|
5778
|
+
ec as R,
|
|
5779
5779
|
Au as S,
|
|
5780
5780
|
En as T,
|
|
5781
5781
|
Nc as U,
|
|
@@ -5812,10 +5812,10 @@ export {
|
|
|
5812
5812
|
Fl as r,
|
|
5813
5813
|
bc as s,
|
|
5814
5814
|
hl as t,
|
|
5815
|
-
|
|
5816
|
-
|
|
5815
|
+
ko as u,
|
|
5816
|
+
Ve as v,
|
|
5817
5817
|
Lu as w,
|
|
5818
|
-
|
|
5819
|
-
|
|
5820
|
-
|
|
5818
|
+
jl as x,
|
|
5819
|
+
hc as y,
|
|
5820
|
+
bf as z
|
|
5821
5821
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as gt, d as vt, c as Oe } from "./jszip-
|
|
2
|
-
import { p as C } from "./vue-
|
|
1
|
+
import { a as gt, d as vt, c as Oe } from "./jszip-CxAhBy-b.es.js";
|
|
2
|
+
import { p as C } from "./vue-fDwoASPl.es.js";
|
|
3
3
|
var Je = { exports: {} };
|
|
4
4
|
typeof Object.create == "function" ? Je.exports = function(e, t) {
|
|
5
5
|
t && (e.super_ = t, e.prototype = Object.create(t.prototype, {
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export namespace conversation {
|
|
2
|
+
let conversationId: any;
|
|
3
|
+
let documentId: any;
|
|
4
|
+
let creatorEmail: any;
|
|
5
|
+
let creatorName: any;
|
|
6
|
+
let comments: any[];
|
|
7
|
+
let selection: any;
|
|
8
|
+
}
|
|
9
|
+
export namespace comment {
|
|
10
|
+
let comment: any;
|
|
11
|
+
namespace user {
|
|
12
|
+
let name: any;
|
|
13
|
+
let email: any;
|
|
14
|
+
}
|
|
15
|
+
let timestamp: any;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=comment-schemas.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"comment-schemas.d.ts","sourceRoot":"","sources":["../../../src/components/CommentsLayer/comment-schemas.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Comments list renderer (not floating comments)
|
|
3
|
+
*
|
|
4
|
+
* This renders a list of comments into an element, connected to main SuperDoc instance
|
|
5
|
+
*/
|
|
6
|
+
export class SuperComments extends EventEmitter<string | symbol, any> {
|
|
7
|
+
constructor(options: any, superdoc: any);
|
|
8
|
+
element: any;
|
|
9
|
+
config: {
|
|
10
|
+
comments: any[];
|
|
11
|
+
element: any;
|
|
12
|
+
commentsStore: any;
|
|
13
|
+
};
|
|
14
|
+
app: import("vue").App<Element>;
|
|
15
|
+
superdoc: any;
|
|
16
|
+
createVueApp(): void;
|
|
17
|
+
container: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions>, {}, {}, "", {}, any>;
|
|
18
|
+
close(): void;
|
|
19
|
+
open(): void;
|
|
20
|
+
}
|
|
21
|
+
import EventEmitter from 'eventemitter3';
|
|
22
|
+
//# sourceMappingURL=super-comments-list.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"super-comments-list.d.ts","sourceRoot":"","sources":["../../../../src/components/CommentsLayer/commentsList/super-comments-list.js"],"names":[],"mappings":"AAMA;;;;GAIG;AACH;IAUE,yCAOC;IAfD,aAAQ;IAER;;;;MAIE;IAMA,gCAAe;IACf,cAAwB;IAI1B,qBAUC;IADC,yQAA6C;IAG/C,cAOC;IAED,aAIC;CACF;yBAxDwB,eAAe"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../src/components/CommentsLayer/helpers.js"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,sDAYC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-comment.d.ts","sourceRoot":"","sources":["../../../src/components/CommentsLayer/use-comment.js"],"names":[],"mappings":"AAOA;;;;;GAKG;AACH,qDA+QC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export default function useConversation(params: any): {
|
|
2
|
+
getValues: () => any;
|
|
3
|
+
markDone: (email: any, name: any) => void;
|
|
4
|
+
conversationId: any;
|
|
5
|
+
thread: import("vue").Ref<any, any>;
|
|
6
|
+
documentId: any;
|
|
7
|
+
creatorEmail: any;
|
|
8
|
+
creatorName: any;
|
|
9
|
+
comments: import("vue").Ref<any, any>;
|
|
10
|
+
selection: any;
|
|
11
|
+
markedDone: import("vue").Ref<any, any>;
|
|
12
|
+
markedDoneByEmail: import("vue").Ref<any, any>;
|
|
13
|
+
markedDoneByName: import("vue").Ref<any, any>;
|
|
14
|
+
isFocused: import("vue").Ref<any, any>;
|
|
15
|
+
group: import("vue").Ref<any, any>;
|
|
16
|
+
conversationElement: import("vue").Ref<any, any>;
|
|
17
|
+
suppressHighlight: import("vue").Ref<any, any>;
|
|
18
|
+
suppressClick: import("vue").Ref<any, any>;
|
|
19
|
+
isInternal: import("vue").Ref<any, any>;
|
|
20
|
+
isTrackedChange: import("vue").Ref<any, any>;
|
|
21
|
+
trackedChange: any;
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=use-conversation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-conversation.d.ts","sourceRoot":"","sources":["../../../src/components/CommentsLayer/use-conversation.js"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;;;;;;;;;EAsFC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export function useFloatingComment(params: any): {
|
|
2
|
+
id: any;
|
|
3
|
+
comment: import("vue").Ref<any, any>;
|
|
4
|
+
position: {
|
|
5
|
+
top: number;
|
|
6
|
+
left: number;
|
|
7
|
+
right: number;
|
|
8
|
+
bottom: number;
|
|
9
|
+
};
|
|
10
|
+
offset: import("vue").Ref<number, number>;
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=use-floating-comment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-floating-comment.d.ts","sourceRoot":"","sources":["../../../src/components/CommentsLayer/use-floating-comment.js"],"names":[],"mappings":"AAEA;;;;;;;;;;EAkBC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=use-tracked-change.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-tracked-change.d.ts","sourceRoot":"","sources":["../../../src/components/CommentsLayer/use-tracked-change.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pdfjs-worker.d.ts","sourceRoot":"","sources":["../../../../src/components/PdfViewer/helpers/pdfjs-worker.js"],"names":[],"mappings":";AAoB+12xC,oBAAgD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"range.d.ts","sourceRoot":"","sources":["../../../../src/components/PdfViewer/helpers/range.js"],"names":[],"mappings":"AAAO,mDAGN"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pdfjs.d.ts","sourceRoot":"","sources":["../../../src/components/PdfViewer/pdfjs.js"],"names":[],"mappings":"0BAA0B,YAAY"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"worker.d.ts","sourceRoot":"","sources":["../../../src/components/PdfViewer/worker.js"],"names":[],"mappings":";AAgC244xC,oBAAgD"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Composable to manage AI layer and AI writer functionality
|
|
3
|
+
*
|
|
4
|
+
* @param {Object} options - Configuration options
|
|
5
|
+
* @param {Function} options.emitAiHighlight - Function to emit AI highlight events
|
|
6
|
+
* @param {Object} options.activeEditorRef - Ref to the active editor
|
|
7
|
+
* @returns {Object} - AI state and methods
|
|
8
|
+
*/
|
|
9
|
+
export function useAi({ emitAiHighlight, activeEditorRef }: {
|
|
10
|
+
emitAiHighlight: Function;
|
|
11
|
+
activeEditorRef: any;
|
|
12
|
+
}): any;
|
|
13
|
+
//# sourceMappingURL=use-ai.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-ai.d.ts","sourceRoot":"","sources":["../../src/composables/use-ai.js"],"names":[],"mappings":"AAEA;;;;;;;GAOG;AACH,4DAJG;IAA0B,eAAe;IACjB,eAAe;CACvC,OAiIF"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export default function useDocument(params: any, superdocConfig: any): {
|
|
2
|
+
id: any;
|
|
3
|
+
data: any;
|
|
4
|
+
html: any;
|
|
5
|
+
type: string;
|
|
6
|
+
config: any;
|
|
7
|
+
state: any;
|
|
8
|
+
role: any;
|
|
9
|
+
core: import("vue").Ref<any, any>;
|
|
10
|
+
ydoc: import("vue").ShallowRef<any, any>;
|
|
11
|
+
provider: import("vue").ShallowRef<any, any>;
|
|
12
|
+
socket: import("vue").ShallowRef<any, any>;
|
|
13
|
+
isNewFile: import("vue").Ref<any, any>;
|
|
14
|
+
container: import("vue").Ref<any, any>;
|
|
15
|
+
pageContainers: import("vue").Ref<any[], any[]>;
|
|
16
|
+
isReady: import("vue").Ref<boolean, boolean>;
|
|
17
|
+
rulers: import("vue").Ref<any, any>;
|
|
18
|
+
rawFields: import("vue").Ref<any, any>;
|
|
19
|
+
fields: import("vue").Ref<any, any>;
|
|
20
|
+
annotations: import("vue").Ref<any, any>;
|
|
21
|
+
conversations: import("vue").Ref<any, any>;
|
|
22
|
+
setEditor: (ref: any) => any;
|
|
23
|
+
getEditor: () => any;
|
|
24
|
+
removeComments: () => void;
|
|
25
|
+
restoreComments: () => void;
|
|
26
|
+
removeConversation: (conversationId: any) => void;
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=use-document.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-document.d.ts","sourceRoot":"","sources":["../../src/composables/use-document.js"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;;;;;;;;;;;;;;EA0GC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export function useFieldValueWatcher(field: any, originalValue: any): {
|
|
2
|
+
value: any;
|
|
3
|
+
};
|
|
4
|
+
export function useField(field: any): {
|
|
5
|
+
id: import("vue").Ref<any, any>;
|
|
6
|
+
icon: import("vue").Ref<any, any>;
|
|
7
|
+
iconPack: import("vue").Ref<any, any>;
|
|
8
|
+
label: import("vue").Ref<any, any>;
|
|
9
|
+
placeholder: any;
|
|
10
|
+
fieldType: import("vue").Ref<any, any>;
|
|
11
|
+
fieldSubType: import("vue").Ref<any, any>;
|
|
12
|
+
value: any;
|
|
13
|
+
format: import("vue").Ref<any, any>;
|
|
14
|
+
logicRules: import("vue").Ref<any, any>;
|
|
15
|
+
hidden: import("vue").Ref<boolean, boolean>;
|
|
16
|
+
originalJSON: any;
|
|
17
|
+
fieldStyle: {
|
|
18
|
+
fontFamily: any;
|
|
19
|
+
fontSize: any;
|
|
20
|
+
originalFontSize: any;
|
|
21
|
+
};
|
|
22
|
+
valueGetter: any;
|
|
23
|
+
};
|
|
24
|
+
export function useImageField(field: any): {
|
|
25
|
+
fontfamily: import("vue").Ref<any, any>;
|
|
26
|
+
iteminputtype: import("vue").Ref<any, any>;
|
|
27
|
+
};
|
|
28
|
+
export function useSelectField(field: any): {
|
|
29
|
+
options: import("vue").Ref<any, any>;
|
|
30
|
+
};
|
|
31
|
+
export function useCheckboxField(field: any): {
|
|
32
|
+
options: import("vue").Ref<any, any>;
|
|
33
|
+
};
|
|
34
|
+
//# sourceMappingURL=use-field.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-field.d.ts","sourceRoot":"","sources":["../../src/composables/use-field.js"],"names":[],"mappings":"AAEA;;EA0BC;AAED;;;;;;;;;;;;;;;;;;;EAgEC;AAED;;;EASC;AAED;;EAKC;AAED;;EAiBC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Composable to get the currently selected text from an editor
|
|
3
|
+
*
|
|
4
|
+
* @param {Object} editorRef - Ref to the editor instance
|
|
5
|
+
* @returns {Object} - Object containing the selected text as a computed property
|
|
6
|
+
*/
|
|
7
|
+
export function useSelectedText(editorRef: any): any;
|
|
8
|
+
//# sourceMappingURL=use-selected-text.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-selected-text.d.ts","sourceRoot":"","sources":["../../src/composables/use-selected-text.js"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,qDAgBC"}
|