@harbour-enterprises/superdoc 0.21.0 → 0.22.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-OZDJ7gwT.cjs → PdfViewer-Ck3Syakz.cjs} +1 -1
- package/dist/chunks/{PdfViewer-D3zo7tPo.es.js → PdfViewer-OEs-MC5j.es.js} +1 -1
- package/dist/chunks/{index-MzW5BVNd.es.js → index-B4aklZ4_.es.js} +5 -4
- package/dist/chunks/{index-CfYf4T_z.cjs → index-BM732Zfw.cjs} +5 -4
- package/dist/chunks/{super-editor.es-Bntob7Wd.es.js → super-editor.es-Bokezk1E.es.js} +1179 -766
- package/dist/chunks/{super-editor.es-U-GVCd_F.cjs → super-editor.es-DwGNbrZq.cjs} +1179 -766
- package/dist/core/types/index.d.ts +8 -0
- package/dist/core/types/index.d.ts.map +1 -1
- package/dist/style.css +32 -27
- package/dist/super-editor/ai-writer.es.js +2 -2
- package/dist/super-editor/chunks/{converter-3xnF_NHq.js → converter-BcqEfCTg.js} +775 -645
- package/dist/super-editor/chunks/{docx-zipper-CZdELYi-.js → docx-zipper-DZ9ph0iQ.js} +1 -1
- package/dist/super-editor/chunks/{editor-BqYH4kDD.js → editor-CTHD3ziL.js} +26 -3
- package/dist/super-editor/chunks/{toolbar-TkaE2kKM.js → toolbar-DLQeMuoQ.js} +2 -2
- 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/src/components/slash-menu/menuItems.d.ts +5 -1
- package/dist/super-editor/src/components/slash-menu/tests/testHelpers.d.ts +466 -0
- package/dist/super-editor/src/components/slash-menu/utils.d.ts +9 -2
- package/dist/super-editor/src/core/commands/__tests__/schemaWithLists.d.ts +2 -0
- package/dist/super-editor/src/core/commands/__tests__/testHelpers.d.ts +4 -0
- package/dist/super-editor/src/core/commands/__tests__/testSchema.d.ts +2 -0
- package/dist/super-editor/src/core/commands/tests/commandTestUtils.d.ts +7 -0
- package/dist/super-editor/src/core/commands/tests/test-schema.d.ts +2 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/mc/altermateContent/alternate-content-translator.d.ts +6 -0
- package/dist/super-editor/src/core/super-converter/v3/handlers/mc/altermateContent/index.d.ts +1 -0
- package/dist/super-editor/src/tests/helpers/helpers.d.ts +1 -0
- package/dist/super-editor/src/utils/contextmenu-helpers.d.ts +24 -0
- package/dist/super-editor/style.css +5 -0
- package/dist/super-editor/super-editor.es.js +453 -153
- package/dist/super-editor/toolbar.es.js +2 -2
- package/dist/super-editor.cjs +1 -1
- package/dist/super-editor.es.js +1 -1
- package/dist/superdoc.cjs +2 -2
- package/dist/superdoc.es.js +2 -2
- package/dist/superdoc.umd.js +1182 -768
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
- package/dist/super-editor/src/extensions/run-item/index.d.ts +0 -1
- package/dist/super-editor/src/extensions/run-item/run-item.d.ts +0 -26
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export function getTestDataByFileName(name: string): Promise<any>;
|
|
2
|
+
export function getExtractedDocxData(folderName: any): Promise<{}>;
|
|
2
3
|
export function getTestDataAsFileBuffer(name: any): Promise<Buffer<ArrayBufferLike>>;
|
|
3
4
|
export function loadTestDataForEditorTests(filename: string): Promise<[any, any, any, any]>;
|
|
4
5
|
export function initTestEditor(options?: any): Editor;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Determine if the native context menu should be allowed to appear.
|
|
3
|
+
* We bypass the custom menu when the user explicitly requests the system menu
|
|
4
|
+
* via modifier keys or when the event originated from a keyboard invocation.
|
|
5
|
+
* @param {MouseEvent} event
|
|
6
|
+
* @returns {boolean}
|
|
7
|
+
*/
|
|
8
|
+
export function shouldBypassContextMenu(event: MouseEvent): boolean;
|
|
9
|
+
/**
|
|
10
|
+
* Determine if the native context menu should be allowed to appear.
|
|
11
|
+
* We bypass the custom menu when the user explicitly requests the system menu
|
|
12
|
+
* via modifier keys or when the event originated from a keyboard invocation.
|
|
13
|
+
* @param {MouseEvent} event
|
|
14
|
+
* @returns {boolean}
|
|
15
|
+
*/
|
|
16
|
+
export function shouldUseNativeContextMenu(event: MouseEvent): boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Determine if the native context menu should be allowed to appear.
|
|
19
|
+
* We bypass the custom menu when the user explicitly requests the system menu
|
|
20
|
+
* via modifier keys or when the event originated from a keyboard invocation.
|
|
21
|
+
* @param {MouseEvent} event
|
|
22
|
+
* @returns {boolean}
|
|
23
|
+
*/
|
|
24
|
+
export function shouldAllowNativeContextMenu(event: MouseEvent): boolean;
|
|
@@ -1748,6 +1748,11 @@ on the right if it is inside shape textbox.
|
|
|
1748
1748
|
height: 12px;
|
|
1749
1749
|
width: 12px;
|
|
1750
1750
|
}
|
|
1751
|
+
.slash-menu-custom-item {
|
|
1752
|
+
display: flex;
|
|
1753
|
+
align-items: center;
|
|
1754
|
+
width: 100%;
|
|
1755
|
+
}
|
|
1751
1756
|
.popover {
|
|
1752
1757
|
background: white;
|
|
1753
1758
|
border-radius: 6px;
|