@stll/folio-vue 0.27.0 → 0.28.1
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/{StylePicker-hnZuzLnq.cjs → StylePicker-Bgu0Slqa.cjs} +1 -1
- package/dist/{StylePicker-bQuysXuB.js → StylePicker-CfC5Ef1i.js} +22 -6
- package/dist/components/DocxEditor.vue.d.ts +2 -2
- package/dist/composables/commentMarks.d.ts +5 -14
- package/dist/composables/useCommentLifecycle.d.ts +0 -2
- package/dist/composables/useCommentManagement.d.ts +4 -0
- package/dist/composables/useDocxEditor.d.ts +7 -0
- package/dist/composables/useDocxEditorRefApi.d.ts +10 -3
- package/dist/composables/useTableResize.d.ts +6 -1
- package/dist/composables/useTrackedChanges.d.ts +4 -1
- package/dist/composables.cjs +1 -1
- package/dist/composables.js +1 -1
- package/dist/folio-vue.css +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1624 -1549
- package/dist/ui.cjs +1 -1
- package/dist/ui.js +1 -1
- package/dist/useZoom-B4Q-QRRT.cjs +1 -0
- package/dist/useZoom-DoMlCL_b.js +1021 -0
- package/dist/utils/comments.d.ts +11 -1
- package/package.json +3 -3
- package/dist/useZoom-7DkhQcMl.js +0 -991
- package/dist/useZoom-ChRQsGBq.cjs +0 -1
package/dist/utils/comments.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { TrackedChangeEntry as CoreTrackedChangeEntry } from '@stll/folio-core/prosemirror/utils/extractTrackedChanges';
|
|
1
2
|
import { Paragraph } from '@stll/folio-core/types/content';
|
|
2
3
|
/** Extract plain text from a Comment's paragraph content. */
|
|
3
4
|
export declare function getCommentText(paragraphs?: Paragraph[]): string;
|
|
@@ -17,4 +18,13 @@ export declare function truncateText(text: string, maxLength?: number): string;
|
|
|
17
18
|
*
|
|
18
19
|
* @public
|
|
19
20
|
*/
|
|
20
|
-
export type
|
|
21
|
+
export type TrackedChangeEntry = CoreTrackedChangeEntry & {
|
|
22
|
+
/**
|
|
23
|
+
* Whether a content control's lock keeps the change from being accepted or
|
|
24
|
+
* rejected (see `lockHeldRevisions`): the card's buttons are disabled then.
|
|
25
|
+
*/
|
|
26
|
+
heldByLock?: {
|
|
27
|
+
accept: boolean;
|
|
28
|
+
reject: boolean;
|
|
29
|
+
};
|
|
30
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stll/folio-vue",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.28.1",
|
|
4
4
|
"description": "Vue 3 editor for folio: a Word-document (.docx) editor for the browser, built on @stll/folio-core and ProseMirror.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"document-editor",
|
|
@@ -76,10 +76,10 @@
|
|
|
76
76
|
"prepack": "bun run build",
|
|
77
77
|
"pack:dry-run": "bun pm pack --dry-run",
|
|
78
78
|
"typecheck": "vue-tsc --noEmit -p tsconfig.build.json",
|
|
79
|
-
"test": "bun test --preload ./test/vueDom.preload.ts src"
|
|
79
|
+
"test": "bun test --preload ./test/vueDom.preload.ts --preload ../../test/freezeKeptBlocks.preload.ts src"
|
|
80
80
|
},
|
|
81
81
|
"dependencies": {
|
|
82
|
-
"@stll/folio-core": "^0.
|
|
82
|
+
"@stll/folio-core": "^0.69.0",
|
|
83
83
|
"@stll/folio-fonts": "^0.1.0",
|
|
84
84
|
"@stll/utf8-boundaries": "0.2.0",
|
|
85
85
|
"better-result": "3.0.1",
|