@harbour-enterprises/superdoc 1.0.0-next.10 → 1.0.0-next.2
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/{PdfViewer-B9LcTIm2.cjs → PdfViewer-B-xTd4XY.cjs} +1 -1
- package/dist/chunks/{PdfViewer-CZG4udaT.es.js → PdfViewer-eykNsWyi.es.js} +2 -2
- package/dist/chunks/{eventemitter3-44XulWQe.es.js → eventemitter3-CcXAdeql.es.js} +1 -1
- package/dist/chunks/{index-DdTDm9oI-BXzE00pk.es.js → index-BDVXUeCy-7mwhYeJ7.es.js} +1 -1
- package/dist/chunks/{index-DdTDm9oI-Duiy8M_G.cjs → index-BDVXUeCy-Di6ozaOM.cjs} +1 -1
- package/dist/chunks/{index-1n6qegaQ.es.js → index-DpQ8ZYM0.es.js} +325 -564
- package/dist/chunks/{index-4FiyZ-0E.cjs → index-rF5HExWB.cjs} +322 -561
- package/dist/chunks/{jszip-VP334ufO.es.js → jszip-5vvIqAEE.es.js} +1 -1
- package/dist/chunks/{super-editor.es-BQQuazyp.cjs → super-editor.es-CcKbh84I.cjs} +25739 -28432
- package/dist/chunks/{super-editor.es-DKr759cY.es.js → super-editor.es-CxajnL9u.es.js} +25740 -28433
- package/dist/chunks/{vue-BuPTonTJ.es.js → vue-Dysv_7z5.es.js} +27 -27
- package/dist/chunks/xml-js-ClO_jHnq.es.js +2 -0
- package/dist/images/altText_add.svg +3 -0
- package/dist/images/altText_disclaimer.svg +3 -0
- package/dist/images/altText_done.svg +3 -0
- package/dist/images/altText_spinner.svg +30 -0
- package/dist/images/altText_warning.svg +3 -0
- package/dist/images/annotation-check.svg +11 -0
- package/dist/images/annotation-comment.svg +16 -0
- package/dist/images/annotation-help.svg +26 -0
- package/dist/images/annotation-insert.svg +10 -0
- package/dist/images/annotation-key.svg +11 -0
- package/dist/images/annotation-newparagraph.svg +11 -0
- package/dist/images/annotation-noicon.svg +7 -0
- package/dist/images/annotation-note.svg +42 -0
- package/dist/images/annotation-paperclip.svg +6 -0
- package/dist/images/annotation-paragraph.svg +16 -0
- package/dist/images/annotation-pushpin.svg +7 -0
- package/dist/images/cursor-editorFreeHighlight.svg +6 -0
- package/dist/images/cursor-editorFreeText.svg +3 -0
- package/dist/images/cursor-editorInk.svg +4 -0
- package/dist/images/cursor-editorTextHighlight.svg +8 -0
- package/dist/images/editor-toolbar-delete.svg +5 -0
- package/dist/images/loading-icon.gif +0 -0
- package/dist/images/messageBar_closingButton.svg +3 -0
- package/dist/images/messageBar_warning.svg +3 -0
- package/dist/images/toolbarButton-editorHighlight.svg +6 -0
- package/dist/images/toolbarButton-menuArrow.svg +3 -0
- package/dist/packages/superdoc/src/core/SuperDoc.d.ts +3 -3
- package/dist/packages/superdoc/src/core/SuperDoc.d.ts.map +1 -1
- package/dist/packages/superdoc/src/core/collaboration/collaboration-comments.d.ts +3 -3
- package/dist/packages/superdoc/src/core/collaboration/collaboration-comments.d.ts.map +1 -1
- package/dist/packages/superdoc/src/core/collaboration/helpers.d.ts.map +1 -1
- package/dist/packages/superdoc/src/core/types/index.d.ts +167 -4
- package/dist/packages/superdoc/src/core/types/index.d.ts.map +1 -1
- package/dist/style.css +92 -94
- package/dist/super-editor/ai-writer.es.js +3 -3
- package/dist/super-editor/chunks/{converter-BavE2jnW.js → converter-DN_dhslo.js} +1 -1
- package/dist/super-editor/chunks/{docx-zipper-CY4M19qa.js → docx-zipper-Bhl_yBjL.js} +1 -1
- package/dist/super-editor/chunks/{editor-Cslr04KI.js → editor-3klx7hyV.js} +25818 -27908
- package/dist/super-editor/chunks/{index-DdTDm9oI.js → index-BDVXUeCy.js} +1 -1
- package/dist/super-editor/chunks/{toolbar-Zdgn--Js.js → toolbar-8YA9ltNC.js} +598 -834
- package/dist/super-editor/converter.es.js +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/file-zipper.es.js +1 -1
- package/dist/super-editor/style.css +21 -22
- package/dist/super-editor/super-editor.es.js +19 -44
- package/dist/super-editor/toolbar.es.js +2 -2
- package/dist/super-editor.cjs +1 -1
- package/dist/super-editor.es.js +2 -2
- package/dist/superdoc.cjs +2 -2
- package/dist/superdoc.es.js +2 -2
- package/dist/superdoc.umd.js +26134 -29066
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunks/xml-js-LkEmUa9-.es.js +0 -2
- package/dist/packages/superdoc/src/composables/useUiFontFamily.d.ts +0 -42
- package/dist/packages/superdoc/src/composables/useUiFontFamily.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Vue composable that returns the computed UI font-family for SuperDoc surfaces.
|
|
3
|
-
*
|
|
4
|
-
* This composable centralizes the logic for determining which font-family to use
|
|
5
|
-
* across all SuperDoc UI components (toolbar, comments, dropdowns, tooltips, etc.).
|
|
6
|
-
* It retrieves the configured font from the SuperDoc instance's config, validates it,
|
|
7
|
-
* and falls back to the default if no valid font is configured.
|
|
8
|
-
*
|
|
9
|
-
* The font-family is determined by checking the `uiDisplayFallbackFont` config property.
|
|
10
|
-
* If it's a non-empty string, it will be used. Otherwise, the DEFAULT_UI_FONT_FAMILY
|
|
11
|
-
* constant is returned.
|
|
12
|
-
*
|
|
13
|
-
* @returns {{ uiFontFamily: import('vue').ComputedRef<string> }} An object containing:
|
|
14
|
-
* - uiFontFamily: A computed reference to the UI font-family string
|
|
15
|
-
*
|
|
16
|
-
* @example
|
|
17
|
-
* // In a Vue component
|
|
18
|
-
* import { useUiFontFamily } from '@superdoc/composables/useUiFontFamily.js';
|
|
19
|
-
*
|
|
20
|
-
* export default {
|
|
21
|
-
* setup() {
|
|
22
|
-
* const { uiFontFamily } = useUiFontFamily();
|
|
23
|
-
*
|
|
24
|
-
* // Use in template or computed styles
|
|
25
|
-
* return { uiFontFamily };
|
|
26
|
-
* }
|
|
27
|
-
* }
|
|
28
|
-
*
|
|
29
|
-
* @example
|
|
30
|
-
* // In a template
|
|
31
|
-
* <n-dropdown :content-style="{ fontFamily: uiFontFamily }" />
|
|
32
|
-
*/
|
|
33
|
-
export function useUiFontFamily(): {
|
|
34
|
-
uiFontFamily: import("vue").ComputedRef<string>;
|
|
35
|
-
};
|
|
36
|
-
/**
|
|
37
|
-
* The default font-family to use for SuperDoc UI surfaces when no custom font is configured.
|
|
38
|
-
* This constant ensures consistency across the application.
|
|
39
|
-
* @constant {string}
|
|
40
|
-
*/
|
|
41
|
-
export const DEFAULT_UI_FONT_FAMILY: "Arial, Helvetica, sans-serif";
|
|
42
|
-
//# sourceMappingURL=useUiFontFamily.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useUiFontFamily.d.ts","sourceRoot":"","sources":["../../../../../src/composables/useUiFontFamily.js"],"names":[],"mappings":"AASA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,mCApBa;IAAE,YAAY,EAAE,OAAO,KAAK,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;CAAE,CAsC/D;AAzDD;;;;GAIG;AACH,qCAAsC,8BAA8B,CAAC"}
|