superdoc 2.28.0-next.6 → 2.28.0-next.7
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/{create-super-doc-ui-D1eOhAjv.cjs → create-super-doc-ui-B4c55pFy.cjs} +420 -84
- package/dist/chunks/{create-super-doc-ui-B29zw5qD.es.js → create-super-doc-ui-C4Ka5Ph3.es.js} +415 -85
- package/dist/collaboration-upgrade-engine.cjs +1 -1
- package/dist/collaboration-upgrade-engine.es.js +1 -1
- package/dist/document-api/src/content-controls/content-controls.types.d.ts +11 -0
- package/dist/document-api/src/contract/command-catalog.d.ts +1 -1
- package/dist/document-api/src/contract/operation-definitions.d.ts +30 -30
- package/dist/document-api/src/contract/operation-registry.d.ts +4 -0
- package/dist/document-api/src/export/export.d.ts +3 -1
- package/dist/document-api/src/export/export.types.d.ts +8 -0
- package/dist/document-api/src/get-node/get-node.d.ts +10 -4
- package/dist/document-api/src/index.d.ts +1 -0
- package/dist/document-api/src/types/track-changes.types.d.ts +10 -2
- package/dist/layout-engine/contracts/src/index.d.ts +1 -0
- package/dist/public/ui-react.cjs +1 -1
- package/dist/public/ui-react.es.js +1 -1
- package/dist/public/ui-vue.cjs +1 -1
- package/dist/public/ui-vue.es.js +1 -1
- package/dist/public/ui.cjs +1 -1
- package/dist/public/ui.es.js +1 -1
- package/dist/style.css +1 -1
- package/dist/style.layered.css +1 -1
- package/dist/superdoc/src/core/SuperDoc.d.ts +2 -6
- package/dist/superdoc/src/core/editor-runtime/types.d.ts +1 -0
- package/dist/superdoc/src/core/editor-runtime/v2/v2-editor-runtime-adapter.d.ts +2 -2
- package/dist/superdoc/src/core/helpers/resolve-docx-export.d.ts +6 -0
- package/dist/superdoc/src/public/export-types.d.ts +3 -0
- package/dist/superdoc/src/public/ui/entity-at.d.ts +1 -0
- package/dist/superdoc/src/public/ui/types.d.ts +16 -2
- package/dist/superdoc/src/public/ui.d.cts +14 -0
- package/dist/superdoc/src/public/ui.d.ts +1 -1
- package/dist/superdoc/src/stores/comments-store.d.ts +3 -57
- package/dist/superdoc/src/stores/superdoc-store.d.ts +9 -171
- package/dist/superdoc.cjs +214 -43
- package/dist/superdoc.es.js +214 -43
- package/dist-cdn/style.layered.css +1 -1
- package/dist-cdn/superdoc.min.css +1 -1
- package/dist-cdn/superdoc.min.js +42 -42
- package/package.json +2 -2
- package/dist/superdoc/src/index.d.cts +0 -18
- package/dist/superdoc/src/index.d.ts +0 -14
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "superdoc",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.28.0-next.
|
|
4
|
+
"version": "2.28.0-next.7",
|
|
5
5
|
"description": "The document engine for DOCX files. Open, edit, and render Word documents in the browser.",
|
|
6
6
|
"license": "AGPL-3.0",
|
|
7
7
|
"repository": {
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
"main": "./dist/superdoc.cjs",
|
|
98
98
|
"module": "./dist/superdoc.es.js",
|
|
99
99
|
"dependencies": {
|
|
100
|
-
"@superdoc/docx-engine": "0.27.0-next.
|
|
100
|
+
"@superdoc/docx-engine": "0.27.0-next.7",
|
|
101
101
|
"@types/ws": "^8.18.1",
|
|
102
102
|
"eventemitter3": "^5.0.1",
|
|
103
103
|
"konva": "^10.2.0",
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
// Generated by scripts/ensure-types.cjs. Do not edit by hand.
|
|
2
|
-
import type { DocumentLoadError as __Cjs_DocumentLoadError } from './index.js' with { "resolution-mode": "import" };
|
|
3
|
-
import type { SuperDoc as __Cjs_SuperDoc } from './index.js' with { "resolution-mode": "import" };
|
|
4
|
-
export declare const BlankDOCX: typeof import('./index.js', { with: { "resolution-mode": "import" } }).BlankDOCX;
|
|
5
|
-
export declare const buildTheme: typeof import('./index.js', { with: { "resolution-mode": "import" } }).buildTheme;
|
|
6
|
-
export declare const compareVersions: typeof import('./index.js', { with: { "resolution-mode": "import" } }).compareVersions;
|
|
7
|
-
export declare const createTheme: typeof import('./index.js', { with: { "resolution-mode": "import" } }).createTheme;
|
|
8
|
-
export declare const defineSuperDocExtension: typeof import('./index.js', { with: { "resolution-mode": "import" } }).defineSuperDocExtension;
|
|
9
|
-
export type DocumentLoadError = __Cjs_DocumentLoadError;
|
|
10
|
-
export declare const DocumentLoadError: typeof import('./index.js', { with: { "resolution-mode": "import" } }).DocumentLoadError;
|
|
11
|
-
export declare const DOCX: typeof import('./index.js', { with: { "resolution-mode": "import" } }).DOCX;
|
|
12
|
-
export declare const getFileObject: typeof import('./index.js', { with: { "resolution-mode": "import" } }).getFileObject;
|
|
13
|
-
export declare const HTML: typeof import('./index.js', { with: { "resolution-mode": "import" } }).HTML;
|
|
14
|
-
export declare const listPermissionRangeEditors: typeof import('./index.js', { with: { "resolution-mode": "import" } }).listPermissionRangeEditors;
|
|
15
|
-
export declare const PDF: typeof import('./index.js', { with: { "resolution-mode": "import" } }).PDF;
|
|
16
|
-
export declare const resolvePermissionRangeEditor: typeof import('./index.js', { with: { "resolution-mode": "import" } }).resolvePermissionRangeEditor;
|
|
17
|
-
export type SuperDoc = __Cjs_SuperDoc;
|
|
18
|
-
export declare const SuperDoc: typeof import('./index.js', { with: { "resolution-mode": "import" } }).SuperDoc;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
declare const DOCX: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document';
|
|
2
|
-
declare const PDF: 'application/pdf';
|
|
3
|
-
declare const HTML: 'text/html';
|
|
4
|
-
declare function getFileObject(fileUrl: string, name: string, type: string): Promise<File>;
|
|
5
|
-
declare function compareVersions(version1: string, version2: string): -1 | 0 | 1;
|
|
6
|
-
/** URL to the blank DOCX template */
|
|
7
|
-
declare const BlankDOCX: string;
|
|
8
|
-
import { default as BlankDOCX } from '../../../shared/common/data/blank.docx?url';
|
|
9
|
-
export { SuperDoc } from './core/SuperDoc.js';
|
|
10
|
-
export { DocumentLoadError } from './core/helpers/document-load.js';
|
|
11
|
-
export { defineSuperDocExtension } from './core/extensions/index.js';
|
|
12
|
-
export { BlankDOCX, getFileObject, compareVersions, DOCX, PDF, HTML };
|
|
13
|
-
export { createTheme, buildTheme } from './core/theme/create-theme.js';
|
|
14
|
-
export { listPermissionRangeEditors, resolvePermissionRangeEditor } from '../../document-api/src/index.js';
|