@harbour-enterprises/superdoc 1.34.0-next.6 → 1.34.0-next.8
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/{SuperConverter-DlOiYED-.es.js → SuperConverter-C_mWhYaB.es.js} +1 -1
- package/dist/chunks/{SuperConverter-U_rfPwId.cjs → SuperConverter-CuWGQxoG.cjs} +1 -1
- package/dist/chunks/{SuperDoc-DQrNru46.es.js → SuperDoc-B7invlM2.es.js} +4 -4
- package/dist/chunks/{SuperDoc-DcSO8d09.cjs → SuperDoc-st6cbcrd.cjs} +4 -4
- package/dist/chunks/{create-headless-toolbar-CfFPHr_F.es.js → create-headless-toolbar-CEPrRhrR.es.js} +1 -1
- package/dist/chunks/{create-headless-toolbar-BdzJngfo.cjs → create-headless-toolbar-DkoA9R-1.cjs} +1 -1
- package/dist/chunks/{create-super-doc-ui-CmbXWNKP.es.js → create-super-doc-ui-7Uin2fbG.es.js} +2 -2
- package/dist/chunks/{create-super-doc-ui-Cq_Uaq3r.cjs → create-super-doc-ui-DwKzLTLV.cjs} +2 -2
- package/dist/chunks/{src-CbxGnEMy.cjs → src-CPETgt7f.cjs} +5 -5
- package/dist/chunks/{src-CWmo466-.es.js → src-E5uHVKx5.es.js} +5 -5
- package/dist/headless-toolbar-react.cjs +2 -2
- package/dist/headless-toolbar-react.es.js +2 -2
- package/dist/headless-toolbar-vue.cjs +2 -2
- package/dist/headless-toolbar-vue.es.js +2 -2
- package/dist/headless-toolbar.cjs +4 -4
- package/dist/headless-toolbar.es.js +4 -4
- package/dist/public/legacy/converter.cjs +10 -0
- package/dist/public/legacy/converter.es.js +7 -0
- package/dist/public/legacy/docx-zipper.cjs +8 -0
- package/dist/public/legacy/docx-zipper.es.js +7 -0
- package/dist/public/legacy/file-zipper.cjs +5 -0
- package/dist/public/legacy/file-zipper.es.js +3 -0
- package/dist/public/legacy/headless-toolbar.cjs +18 -0
- package/dist/public/legacy/headless-toolbar.es.js +14 -0
- package/dist/public.cjs +5 -5
- package/dist/public.es.js +5 -5
- package/dist/super-editor/converter.cjs +1 -1
- package/dist/super-editor/converter.es.js +1 -1
- package/dist/super-editor/src/editors/v1/core/super-converter/SuperConverter.d.ts +4 -0
- package/dist/super-editor.cjs +4 -4
- package/dist/super-editor.es.js +4 -4
- package/dist/superdoc/src/public/legacy/converter.d.ts +25 -0
- package/dist/superdoc/src/public/legacy/converter.d.ts.map +1 -0
- package/dist/superdoc/src/public/legacy/docx-zipper.d.ts +3 -0
- package/dist/superdoc/src/public/legacy/docx-zipper.d.ts.map +1 -0
- package/dist/superdoc/src/public/legacy/file-zipper.d.ts +18 -0
- package/dist/superdoc/src/public/legacy/file-zipper.d.ts.map +1 -0
- package/dist/superdoc/src/public/legacy/headless-toolbar.d.cts +30 -0
- package/dist/superdoc/src/public/legacy/headless-toolbar.d.ts +39 -0
- package/dist/superdoc/src/public/legacy/headless-toolbar.d.ts.map +1 -0
- package/dist/superdoc.cjs +5 -5
- package/dist/superdoc.es.js +5 -5
- package/dist/superdoc.min.js +5 -5
- package/dist/ui-react.cjs +3 -3
- package/dist/ui-react.es.js +3 -3
- package/dist/ui.cjs +3 -3
- package/dist/ui.es.js +3 -3
- package/package.json +1 -1
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// Generated by scripts/ensure-types.cjs. Do not edit by hand.
|
|
2
|
+
import type { CreateHeadlessToolbarOptions as __Cjs_CreateHeadlessToolbarOptions } from './headless-toolbar.js' with { "resolution-mode": "import" };
|
|
3
|
+
import type { HeadlessToolbarController as __Cjs_HeadlessToolbarController } from './headless-toolbar.js' with { "resolution-mode": "import" };
|
|
4
|
+
import type { HeadlessToolbarSuperdocHost as __Cjs_HeadlessToolbarSuperdocHost } from './headless-toolbar.js' with { "resolution-mode": "import" };
|
|
5
|
+
import type { HeadlessToolbarSurface as __Cjs_HeadlessToolbarSurface } from './headless-toolbar.js' with { "resolution-mode": "import" };
|
|
6
|
+
import type { PublicToolbarItemId as __Cjs_PublicToolbarItemId } from './headless-toolbar.js' with { "resolution-mode": "import" };
|
|
7
|
+
import type { ToolbarCommandState as __Cjs_ToolbarCommandState } from './headless-toolbar.js' with { "resolution-mode": "import" };
|
|
8
|
+
import type { ToolbarCommandStates as __Cjs_ToolbarCommandStates } from './headless-toolbar.js' with { "resolution-mode": "import" };
|
|
9
|
+
import type { ToolbarContext as __Cjs_ToolbarContext } from './headless-toolbar.js' with { "resolution-mode": "import" };
|
|
10
|
+
import type { ToolbarExecuteFn as __Cjs_ToolbarExecuteFn } from './headless-toolbar.js' with { "resolution-mode": "import" };
|
|
11
|
+
import type { ToolbarPayloadMap as __Cjs_ToolbarPayloadMap } from './headless-toolbar.js' with { "resolution-mode": "import" };
|
|
12
|
+
import type { ToolbarSnapshot as __Cjs_ToolbarSnapshot } from './headless-toolbar.js' with { "resolution-mode": "import" };
|
|
13
|
+
import type { ToolbarTarget as __Cjs_ToolbarTarget } from './headless-toolbar.js' with { "resolution-mode": "import" };
|
|
14
|
+
import type { ToolbarValueMap as __Cjs_ToolbarValueMap } from './headless-toolbar.js' with { "resolution-mode": "import" };
|
|
15
|
+
export declare const createHeadlessToolbar: typeof import('./headless-toolbar.js', { with: { "resolution-mode": "import" } }).createHeadlessToolbar;
|
|
16
|
+
export type { __Cjs_CreateHeadlessToolbarOptions as CreateHeadlessToolbarOptions };
|
|
17
|
+
export declare const headlessToolbarConstants: typeof import('./headless-toolbar.js', { with: { "resolution-mode": "import" } }).headlessToolbarConstants;
|
|
18
|
+
export type { __Cjs_HeadlessToolbarController as HeadlessToolbarController };
|
|
19
|
+
export declare const headlessToolbarHelpers: typeof import('./headless-toolbar.js', { with: { "resolution-mode": "import" } }).headlessToolbarHelpers;
|
|
20
|
+
export type { __Cjs_HeadlessToolbarSuperdocHost as HeadlessToolbarSuperdocHost };
|
|
21
|
+
export type { __Cjs_HeadlessToolbarSurface as HeadlessToolbarSurface };
|
|
22
|
+
export type { __Cjs_PublicToolbarItemId as PublicToolbarItemId };
|
|
23
|
+
export type { __Cjs_ToolbarCommandState as ToolbarCommandState };
|
|
24
|
+
export type { __Cjs_ToolbarCommandStates as ToolbarCommandStates };
|
|
25
|
+
export type { __Cjs_ToolbarContext as ToolbarContext };
|
|
26
|
+
export type { __Cjs_ToolbarExecuteFn as ToolbarExecuteFn };
|
|
27
|
+
export type { __Cjs_ToolbarPayloadMap as ToolbarPayloadMap };
|
|
28
|
+
export type { __Cjs_ToolbarSnapshot as ToolbarSnapshot };
|
|
29
|
+
export type { __Cjs_ToolbarTarget as ToolbarTarget };
|
|
30
|
+
export type { __Cjs_ToolbarValueMap as ToolbarValueMap };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SuperDoc public facade: legacy headless-toolbar entry.
|
|
3
|
+
*
|
|
4
|
+
* SD-3179 under SD-3178 (Phase 3 of SD-3175). This file mirrors the
|
|
5
|
+
* 16-name surface today reachable as the pair of
|
|
6
|
+
* `packages/superdoc/src/headless-toolbar.js` (3 runtime values) and
|
|
7
|
+
* `packages/superdoc/src/headless-toolbar.d.ts` (13 hand-maintained type
|
|
8
|
+
* re-exports). Combining them into a single `.ts` source lets the dts
|
|
9
|
+
* pipeline emit both `.d.ts` and `.d.cts` from one place.
|
|
10
|
+
*
|
|
11
|
+
* Classification: **legacy public compatibility surface.** The
|
|
12
|
+
* `superdoc/headless-toolbar` subpath is kept exported and typed so
|
|
13
|
+
* existing consumers continue to compile. It is not the recommended
|
|
14
|
+
* path for new custom UI integrations. New work should use
|
|
15
|
+
* `superdoc/ui` and `superdoc/ui/react` instead.
|
|
16
|
+
*
|
|
17
|
+
* Rules for this file:
|
|
18
|
+
* - AIDEV-NOTE: Named exports only. No `export *` from
|
|
19
|
+
* `@superdoc/super-editor`. Growing this list ships a new public
|
|
20
|
+
* symbol through a legacy compat path, which violates the
|
|
21
|
+
* no-growth posture this entry is classified under in
|
|
22
|
+
* `docs/architecture/package-boundaries.md` Decision 4.
|
|
23
|
+
* - AIDEV-NOTE: Adding or removing an export here updates the
|
|
24
|
+
* `expectedNames` for the `legacy/headless-toolbar` entry in
|
|
25
|
+
* `FACADE_ENTRIES` inside
|
|
26
|
+
* `packages/superdoc/scripts/verify-public-facade-emit.cjs` in the
|
|
27
|
+
* same PR. Skipping that step fails the postbuild gate.
|
|
28
|
+
* - This entry does not re-export `Editor` or `EditorCommands`, so
|
|
29
|
+
* the verifier skips the command-signature probe here. The root
|
|
30
|
+
* entry (`../index.ts`) keeps that probe.
|
|
31
|
+
* - Source still imports from the broad `@superdoc/super-editor`
|
|
32
|
+
* entry. Tightening the type edge to the deeper
|
|
33
|
+
* `super-editor/src/headless-toolbar/index.js` is not a priority
|
|
34
|
+
* for a legacy frozen surface; the goal here is correct types,
|
|
35
|
+
* not minimal graph.
|
|
36
|
+
*/
|
|
37
|
+
export { createHeadlessToolbar, headlessToolbarConstants, headlessToolbarHelpers, } from '../../../../super-editor/src/index.js';
|
|
38
|
+
export type { CreateHeadlessToolbarOptions, HeadlessToolbarController, HeadlessToolbarSurface, HeadlessToolbarSuperdocHost, PublicToolbarItemId, ToolbarCommandState, ToolbarCommandStates, ToolbarContext, ToolbarExecuteFn, ToolbarPayloadMap, ToolbarSnapshot, ToolbarTarget, ToolbarValueMap, } from '../../../../super-editor/src/index.js';
|
|
39
|
+
//# sourceMappingURL=headless-toolbar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"headless-toolbar.d.ts","sourceRoot":"","sources":["../../../../../src/public/legacy/headless-toolbar.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,OAAO,EACL,qBAAqB,EACrB,wBAAwB,EACxB,sBAAsB,GACvB,MAAM,wBAAwB,CAAC;AAEhC,YAAY,EACV,4BAA4B,EAC5B,yBAAyB,EACzB,sBAAsB,EACtB,2BAA2B,EAC3B,mBAAmB,EACnB,mBAAmB,EACnB,oBAAoB,EACpB,cAAc,EACd,gBAAgB,EAChB,iBAAiB,EACjB,eAAe,EACf,aAAa,EACb,eAAe,GAChB,MAAM,wBAAwB,CAAC"}
|
package/dist/superdoc.cjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_rolldown_runtime = require("./chunks/rolldown-runtime-C34Jxks9.cjs");
|
|
3
|
-
const require_src = require("./chunks/src-
|
|
4
|
-
const require_SuperConverter = require("./chunks/SuperConverter-
|
|
3
|
+
const require_src = require("./chunks/src-CPETgt7f.cjs");
|
|
4
|
+
const require_SuperConverter = require("./chunks/SuperConverter-CuWGQxoG.cjs");
|
|
5
5
|
require("./chunks/jszip-4KbV_vHe.cjs");
|
|
6
6
|
require("./chunks/xml-js-B2J5tNmr.cjs");
|
|
7
|
-
const require_create_headless_toolbar = require("./chunks/create-headless-toolbar-
|
|
7
|
+
const require_create_headless_toolbar = require("./chunks/create-headless-toolbar-DkoA9R-1.cjs");
|
|
8
8
|
require("./chunks/constants-DA5YJ09l.cjs");
|
|
9
9
|
require("./chunks/dist-kRpWoWUg.cjs");
|
|
10
10
|
require("./chunks/unified-DgEQofGI.cjs");
|
|
11
11
|
const require_DocxZipper = require("./chunks/DocxZipper-Cx7px465.cjs");
|
|
12
|
-
const require_SuperDoc = require("./chunks/SuperDoc-
|
|
13
|
-
require("./chunks/create-super-doc-ui-
|
|
12
|
+
const require_SuperDoc = require("./chunks/SuperDoc-st6cbcrd.cjs");
|
|
13
|
+
require("./chunks/create-super-doc-ui-DwKzLTLV.cjs");
|
|
14
14
|
require("./chunks/ui-CFcEmd0z.cjs");
|
|
15
15
|
require("./chunks/eventemitter3-BbyOvRw5.cjs");
|
|
16
16
|
const require_zipper = require("./chunks/zipper-CfxlV3hC.cjs");
|
package/dist/superdoc.es.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { A as trackChangesHelpers_exports, B as getFileObject, D as AIWriter_default, F as TrackChangesBasePluginKey, I as SectionHelpers, M as AnnotatorHelpers, N as CommentsPluginKey, O as getRichTextExtensions, _t as isMarkType, a as ContextMenu_default, b as SuperToolbar, gt as defineNode, ht as defineMark, i as SuperEditor_default, j as fieldAnnotationHelpers_exports, k as getStarterExtensions, n as SlashMenu, o as PresentationEditor, r as SuperInput_default, s as Editor, t as Extensions, vt as assertNodeType, x as Toolbar_default, yt as isNodeType } from "./chunks/src-
|
|
2
|
-
import { $i as getMarksFromSelection, Br as helpers_exports, Fr as registeredHandlers, Xi as getActiveFormatting, t as SuperConverter } from "./chunks/SuperConverter-
|
|
1
|
+
import { A as trackChangesHelpers_exports, B as getFileObject, D as AIWriter_default, F as TrackChangesBasePluginKey, I as SectionHelpers, M as AnnotatorHelpers, N as CommentsPluginKey, O as getRichTextExtensions, _t as isMarkType, a as ContextMenu_default, b as SuperToolbar, gt as defineNode, ht as defineMark, i as SuperEditor_default, j as fieldAnnotationHelpers_exports, k as getStarterExtensions, n as SlashMenu, o as PresentationEditor, r as SuperInput_default, s as Editor, t as Extensions, vt as assertNodeType, x as Toolbar_default, yt as isNodeType } from "./chunks/src-E5uHVKx5.es.js";
|
|
2
|
+
import { $i as getMarksFromSelection, Br as helpers_exports, Fr as registeredHandlers, Xi as getActiveFormatting, t as SuperConverter } from "./chunks/SuperConverter-C_mWhYaB.es.js";
|
|
3
3
|
import "./chunks/jszip-C49i9kUs.es.js";
|
|
4
4
|
import "./chunks/xml-js-CqGKpaft.es.js";
|
|
5
|
-
import { v as getAllowedImageDimensions } from "./chunks/create-headless-toolbar-
|
|
5
|
+
import { v as getAllowedImageDimensions } from "./chunks/create-headless-toolbar-CEPrRhrR.es.js";
|
|
6
6
|
import "./chunks/constants-DrU4EASo.es.js";
|
|
7
7
|
import "./chunks/dist-B8HfvhaK.es.js";
|
|
8
8
|
import "./chunks/unified-Dsuw2be5.es.js";
|
|
9
9
|
import { a as PDF, i as HTML, r as DOCX, t as DocxZipper_default } from "./chunks/DocxZipper-CU4X_-2c.es.js";
|
|
10
|
-
import { t as SuperDoc } from "./chunks/SuperDoc-
|
|
11
|
-
import "./chunks/create-super-doc-ui-
|
|
10
|
+
import { t as SuperDoc } from "./chunks/SuperDoc-B7invlM2.es.js";
|
|
11
|
+
import "./chunks/create-super-doc-ui-7Uin2fbG.es.js";
|
|
12
12
|
import "./chunks/ui-C5PAS9hY.es.js";
|
|
13
13
|
import "./chunks/eventemitter3-BnGqBE-Q.es.js";
|
|
14
14
|
import { t as createZip } from "./chunks/zipper-yaJVJ4z9.es.js";
|