oasis-editor 0.0.227 → 0.0.228
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/OasisEditorApp-CpKYMW3z.js +1 -0
- package/dist/app/controllers/EditorCommandsController.d.ts +6 -1
- package/dist/app/services/FindReplaceService.d.ts +6 -18
- package/dist/assets/{importDocxWorker-D9et8X0W.js → importDocxWorker-dPLECw5a.js} +197 -181
- package/dist/core/commands/builtinCommands.d.ts +1 -1
- package/dist/core/commands/dropCap.d.ts +23 -0
- package/dist/core/commands/fieldDate.d.ts +6 -0
- package/dist/core/commands/findReplace.d.ts +25 -0
- package/dist/core/commands/floatingAlignCommands.d.ts +98 -0
- package/dist/core/commands/floatingReorderCommands.d.ts +17 -0
- package/dist/core/commands/headerFooter.d.ts +17 -0
- package/dist/core/commands/horizontalLine.d.ts +3 -0
- package/dist/core/commands/hyphenation.d.ts +27 -0
- package/dist/core/commands/image.d.ts +45 -0
- package/dist/core/commands/noteOptions.d.ts +22 -0
- package/dist/core/commands/outlineStep.d.ts +13 -0
- package/dist/core/commands/pageSetup.d.ts +41 -1
- package/dist/core/commands/paragraphAdjustRightInd.d.ts +8 -0
- package/dist/core/commands/paragraphAlign.d.ts +10 -0
- package/dist/core/commands/paragraphAutoSpaceDE.d.ts +8 -0
- package/dist/core/commands/paragraphAutoSpaceDN.d.ts +8 -0
- package/dist/core/commands/paragraphBidi.d.ts +7 -0
- package/dist/core/commands/paragraphContextualSpacing.d.ts +7 -0
- package/dist/core/commands/paragraphKeepLinesTogether.d.ts +7 -0
- package/dist/core/commands/paragraphKeepWithNext.d.ts +7 -0
- package/dist/core/commands/paragraphKinsoku.d.ts +8 -0
- package/dist/core/commands/paragraphLineRule.d.ts +10 -0
- package/dist/core/commands/paragraphListLevel.d.ts +8 -0
- package/dist/core/commands/paragraphMirrorIndents.d.ts +7 -0
- package/dist/core/commands/paragraphMove.d.ts +8 -0
- package/dist/core/commands/paragraphOutlineLevel.d.ts +11 -0
- package/dist/core/commands/paragraphOverflowPunct.d.ts +8 -0
- package/dist/core/commands/paragraphPageBreakBefore.d.ts +7 -0
- package/dist/core/commands/paragraphReset.d.ts +9 -0
- package/dist/core/commands/paragraphSort.d.ts +7 -0
- package/dist/core/commands/paragraphSuppressAutoHyphens.d.ts +7 -0
- package/dist/core/commands/paragraphSuppressLineNumbers.d.ts +7 -0
- package/dist/core/commands/paragraphTabs.d.ts +28 -0
- package/dist/core/commands/paragraphTextDirection.d.ts +9 -0
- package/dist/core/commands/paragraphTopLinePunct.d.ts +7 -0
- package/dist/core/commands/paragraphWidowControl.d.ts +8 -0
- package/dist/core/commands/paragraphWordWrap.d.ts +8 -0
- package/dist/core/commands/publicCommandTypes.d.ts +189 -3
- package/dist/core/commands/selectUnit.d.ts +43 -0
- package/dist/core/commands/shape.d.ts +4 -0
- package/dist/core/commands/shapeFillCommands.d.ts +31 -0
- package/dist/core/commands/specialChar.d.ts +18 -0
- package/dist/core/commands/table/tableAlignmentCommands.d.ts +10 -0
- package/dist/core/commands/table/tableAutoFitCommands.d.ts +16 -0
- package/dist/core/commands/table/tableCellFitTextCommands.d.ts +7 -0
- package/dist/core/commands/table/tableCellMarginsCommands.d.ts +20 -0
- package/dist/core/commands/table/tableCellNoWrapCommands.d.ts +7 -0
- package/dist/core/commands/table/tableCellSpacingCommands.d.ts +9 -0
- package/dist/core/commands/table/tableColumnCommands.d.ts +10 -0
- package/dist/core/commands/table/tableDeleteCellsCommands.d.ts +16 -0
- package/dist/core/commands/table/tableDeleteCommands.d.ts +11 -0
- package/dist/core/commands/table/tableFormulaCommands.d.ts +34 -0
- package/dist/core/commands/table/tableIndentCommands.d.ts +9 -0
- package/dist/core/commands/table/tableRepeatHeaderCommands.d.ts +15 -0
- package/dist/core/commands/table/tableRowBreakAcrossPagesCommands.d.ts +9 -0
- package/dist/core/commands/table/tableRowCommands.d.ts +2 -0
- package/dist/core/commands/table/tableRowHeightCommands.d.ts +21 -0
- package/dist/core/commands/table/tableSelectionCommands.d.ts +18 -0
- package/dist/core/commands/table/tableSortCommands.d.ts +16 -0
- package/dist/core/commands/table/tableStyleCommands.d.ts +9 -0
- package/dist/core/commands/table.d.ts +15 -0
- package/dist/core/commands/text.d.ts +1 -1
- package/dist/core/commands/textBoxBodyCommands.d.ts +43 -0
- package/dist/core/commands/textFormatting.d.ts +15 -0
- package/dist/core/commands/zoneBlocks.d.ts +10 -0
- package/dist/core/engine.d.ts +3 -0
- package/dist/core/model/types/primitives.d.ts +10 -0
- package/dist/core/textStyle/textStyleKeys.d.ts +3 -3
- package/dist/core/transactionMergeKeys.d.ts +34 -0
- package/dist/defaultToolbar-Em7_omZA.js +1 -0
- package/dist/export/docx/docxTypes.d.ts +1 -0
- package/dist/i18n/locales/en.d.ts +16 -0
- package/dist/i18n/locales/pt-BR.d.ts +16 -0
- package/dist/layoutProjection/floatingObjects.d.ts +3 -0
- package/dist/oasis-editor.js +1 -1
- package/dist/oasis-editor.umd.cjs +1 -1
- package/dist/plugins/internal/essentialsCapabilities.d.ts +310 -2
- package/dist/plugins/internal/essentialsCommandBuilders.d.ts +2 -0
- package/dist/plugins/internal/essentialsCommandGroups/table.d.ts +3 -2
- package/dist/ui/app/createAppCommandsController.d.ts +12 -2
- package/dist/ui/app/createEditorCommandRuntime.d.ts +11 -1
- package/dist/ui/app/essentials/types.d.ts +2 -0
- package/dist/ui/components/Toolbar/marginPresets.d.ts +5 -9
- package/dist/ui/toolbarStyleState.d.ts +22 -3
- package/package.json +1 -1
- package/dist/OasisEditorApp-DyqrRigM.js +0 -1
- package/dist/defaultToolbar-Dq0iVC5E.js +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EditorState, EditorTabStop } from '../core/model.js';
|
|
2
|
-
export type BooleanStyleKey = "bold" | "italic" | "underline" | "strike" | "doubleStrike" | "superscript" | "subscript" | "smallCaps" | "allCaps" | "hidden" | "noProof" | "webHidden" | "specVanish" | "contextualAlternates";
|
|
3
|
-
export type ValueStyleKey = "styleId" | "fontFamily" | "fontSize" | "color" | "highlight" | "shading" | "language" | "textEffect" | "link" | "underlineStyle" | "underlineColor" | "characterScale" | "characterSpacing" | "baselineShift" | "kerningThreshold" | "ligatures" | "numberSpacing" | "numberForm" | "stylisticSet";
|
|
4
|
-
export type ParagraphStyleKey = "styleId" | "align" | "spacingBefore" | "spacingAfter" | "lineHeight" | "indentLeft" | "indentRight" | "indentFirstLine" | "indentHanging" | "lineRule" | "outlineLevel" | "shading" | "tabs" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "pageBreakBefore" | "keepWithNext" | "keepLinesTogether" | "widowControl";
|
|
2
|
+
export type BooleanStyleKey = "bold" | "italic" | "underline" | "strike" | "doubleStrike" | "superscript" | "subscript" | "smallCaps" | "allCaps" | "hidden" | "shadow" | "emboss" | "imprint" | "outline" | "noProof" | "webHidden" | "specVanish" | "contextualAlternates";
|
|
3
|
+
export type ValueStyleKey = "styleId" | "fontFamily" | "fontSize" | "color" | "highlight" | "shading" | "language" | "textEffect" | "link" | "underlineStyle" | "underlineColor" | "characterScale" | "characterSpacing" | "baselineShift" | "emphasisMark" | "kerningThreshold" | "ligatures" | "numberSpacing" | "numberForm" | "stylisticSet" | "fitText";
|
|
4
|
+
export type ParagraphStyleKey = "styleId" | "align" | "spacingBefore" | "spacingAfter" | "lineHeight" | "indentLeft" | "indentRight" | "indentFirstLine" | "indentHanging" | "lineRule" | "outlineLevel" | "shading" | "tabs" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "pageBreakBefore" | "keepWithNext" | "keepLinesTogether" | "widowControl" | "bidi";
|
|
5
5
|
export interface ToolbarStyleState {
|
|
6
6
|
bold: boolean;
|
|
7
7
|
italic: boolean;
|
|
@@ -15,12 +15,19 @@ export interface ToolbarStyleState {
|
|
|
15
15
|
smallCaps: boolean;
|
|
16
16
|
allCaps: boolean;
|
|
17
17
|
hidden: boolean;
|
|
18
|
+
characterBorder: boolean;
|
|
19
|
+
shadow: boolean;
|
|
20
|
+
emboss: boolean;
|
|
21
|
+
imprint: boolean;
|
|
22
|
+
outline: boolean;
|
|
18
23
|
noProof: boolean;
|
|
19
24
|
webHidden: boolean;
|
|
20
25
|
specVanish: boolean;
|
|
21
26
|
characterScale: string;
|
|
22
27
|
characterSpacing: string;
|
|
23
28
|
baselineShift: string;
|
|
29
|
+
fitText: string;
|
|
30
|
+
emphasisMark: string;
|
|
24
31
|
kerningThreshold: string;
|
|
25
32
|
ligatures: string;
|
|
26
33
|
numberSpacing: string;
|
|
@@ -34,6 +41,7 @@ export interface ToolbarStyleState {
|
|
|
34
41
|
textShading: string;
|
|
35
42
|
textEffect: string;
|
|
36
43
|
link: string;
|
|
44
|
+
snapToGrid: boolean | undefined;
|
|
37
45
|
styleId: string;
|
|
38
46
|
characterStyleId: string;
|
|
39
47
|
align: string;
|
|
@@ -62,5 +70,16 @@ export interface ToolbarStyleState {
|
|
|
62
70
|
keepWithNext: boolean;
|
|
63
71
|
keepLinesTogether: boolean;
|
|
64
72
|
widowControl: boolean;
|
|
73
|
+
bidi: boolean;
|
|
74
|
+
textDirection: string;
|
|
75
|
+
suppressAutoHyphens: boolean;
|
|
76
|
+
suppressLineNumbers: boolean;
|
|
77
|
+
kinsoku: boolean;
|
|
78
|
+
overflowPunct: boolean;
|
|
79
|
+
wordWrap: boolean;
|
|
80
|
+
autoSpaceDE: boolean;
|
|
81
|
+
autoSpaceDN: boolean;
|
|
82
|
+
adjustRightInd: boolean;
|
|
83
|
+
topLinePunct: boolean;
|
|
65
84
|
}
|
|
66
85
|
export declare function getToolbarStyleState(state: EditorState): ToolbarStyleState;
|