@quirekit/pptx-editor 0.2.0 → 0.3.0
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/ai.d.mts +1 -1
- package/dist/ai.mjs +19 -19
- package/dist/index.d.mts +7 -2
- package/dist/index.mjs +34 -34
- package/dist/styles.css +69 -41
- package/dist/{types-Bed8XDUh.d.mts → types-B8CWBpnf.d.mts} +9 -0
- package/package.json +29 -29
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { _ as PptxCommandName, a as PptxEditorOptions, b as PptxShapeKind, c as PptxEditorPanelLayout, d as PptxEditorSession, f as PptxShapeReference, i as PptxEditorInitialDocument, l as PptxEditorPanelMount, m as PptxChain, n as PptxChangeSource, o as PptxEditorPanel, p as PptxSlideShow, r as PptxEditorEvent, s as PptxEditorPanelContext, t as PptxAskOptions, u as PptxEditorSaveRequest, y as PptxCommands } from "./types-
|
|
1
|
+
import { _ as PptxCommandName, a as PptxEditorOptions, b as PptxShapeKind, c as PptxEditorPanelLayout, d as PptxEditorSession, f as PptxShapeReference, i as PptxEditorInitialDocument, l as PptxEditorPanelMount, m as PptxChain, n as PptxChangeSource, o as PptxEditorPanel, p as PptxSlideShow, r as PptxEditorEvent, s as PptxEditorPanelContext, t as PptxAskOptions, u as PptxEditorSaveRequest, y as PptxCommands } from "./types-B8CWBpnf.mjs";
|
|
2
|
+
import { EditorWorkspaceLocale, EditorWorkspaceLocale as EditorWorkspaceLocale$1 } from "@quirekit/editor-ui/vue/localization";
|
|
2
3
|
//#region src/editor.d.ts
|
|
3
4
|
/** PPTX editor workspace with its own session and view lifecycle, mounted like the other QuireKit editors. */
|
|
4
5
|
declare class Editor {
|
|
@@ -7,6 +8,10 @@ declare class Editor {
|
|
|
7
8
|
* @param options - Initial document, host saving and session observer.
|
|
8
9
|
*/
|
|
9
10
|
constructor(options?: PptxEditorOptions);
|
|
11
|
+
/** @returns Current interface language. */
|
|
12
|
+
get locale(): EditorWorkspaceLocale$1;
|
|
13
|
+
/** @param locale - Language for this editor instance. */
|
|
14
|
+
setLocale(locale: EditorWorkspaceLocale$1): void;
|
|
10
15
|
/**
|
|
11
16
|
* Mounts the workspace and opens its first deck.
|
|
12
17
|
* @param target - Workspace element or a selector in the current document.
|
|
@@ -17,4 +22,4 @@ declare class Editor {
|
|
|
17
22
|
destroy(): void;
|
|
18
23
|
}
|
|
19
24
|
//#endregion
|
|
20
|
-
export { Editor, type PptxAskOptions, type PptxChain, type PptxChangeSource, type PptxCommandName, type PptxCommands, type PptxEditorEvent, type PptxEditorInitialDocument, type PptxEditorOptions, type PptxEditorPanel, type PptxEditorPanelContext, type PptxEditorPanelLayout, type PptxEditorPanelMount, type PptxEditorSaveRequest, type PptxEditorSession, type PptxShapeKind, type PptxShapeReference, type PptxSlideShow };
|
|
25
|
+
export { Editor, type EditorWorkspaceLocale, type PptxAskOptions, type PptxChain, type PptxChangeSource, type PptxCommandName, type PptxCommands, type PptxEditorEvent, type PptxEditorInitialDocument, type PptxEditorOptions, type PptxEditorPanel, type PptxEditorPanelContext, type PptxEditorPanelLayout, type PptxEditorPanelMount, type PptxEditorSaveRequest, type PptxEditorSession, type PptxShapeKind, type PptxShapeReference, type PptxSlideShow };
|