oasis-editor 0.0.121 → 0.0.122
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-XzK_1rLE.js → OasisEditorApp-Dwc5ee9G.js} +1993 -918
- package/dist/adapters/vue.d.ts +3 -3
- package/dist/app/controllers/EditorCommandsController.d.ts +3 -1
- package/dist/app/controllers/tableOpsCellSpanCommands.d.ts +2 -1
- package/dist/app/controllers/tableOpsGuards.d.ts +2 -1
- package/dist/app/controllers/tableOpsRowColumnCommands.d.ts +2 -1
- package/dist/app/controllers/tableOpsSelectionAwareCommands.d.ts +2 -1
- package/dist/app/controllers/tableOpsSelectionRanges.d.ts +2 -1
- package/dist/app/controllers/useEditorClipboard.d.ts +3 -1
- package/dist/app/controllers/useEditorDocumentIO.d.ts +2 -1
- package/dist/app/controllers/useEditorHistoryActions.d.ts +3 -1
- package/dist/app/controllers/useEditorImageOperations.d.ts +7 -7
- package/dist/app/controllers/useEditorKeyboard.d.ts +2 -1
- package/dist/app/controllers/useEditorLayout.d.ts +2 -1
- package/dist/app/controllers/useEditorNavigation.d.ts +3 -1
- package/dist/app/controllers/useEditorRevision.d.ts +3 -1
- package/dist/app/controllers/useEditorStyle.d.ts +2 -1
- package/dist/app/controllers/useEditorSurfaceEvents.d.ts +3 -1
- package/dist/app/controllers/useEditorTableDrag.d.ts +7 -0
- package/dist/app/controllers/useEditorTableOperations.d.ts +3 -1
- package/dist/app/controllers/useEditorTextBoxOperations.d.ts +3 -1
- package/dist/app/controllers/useEditorTextDrag.d.ts +3 -1
- package/dist/app/controllers/useEditorTextInput.d.ts +3 -1
- package/dist/assets/{importDocxWorker-nIS-zjkj.js → importDocxWorker-A73eR_fM.js} +1 -1
- package/dist/core/model/types/styles.d.ts +2 -0
- package/dist/core/textStyle/textStyleKeys.d.ts +1 -1
- package/dist/i18n/locales/en.d.ts +42 -0
- package/dist/i18n/locales/pt-BR.d.ts +42 -0
- package/dist/{index-DF_Uf74V.js → index-YMlNF1Ya.js} +757 -466
- package/dist/oasis-editor.css +1 -1
- package/dist/oasis-editor.js +71 -71
- package/dist/oasis-editor.umd.cjs +4 -4
- package/dist/ui/OasisEditorContainer.d.ts +2 -1
- package/dist/ui/app/EditorDialogsLayer.d.ts +1 -0
- package/dist/ui/app/createAppCommandsController.d.ts +2 -1
- package/dist/ui/app/createEditorChrome.d.ts +3 -1
- package/dist/ui/app/createEditorCommandRuntime.d.ts +2 -1
- package/dist/ui/app/createEditorDocumentRuntime.d.ts +2 -1
- package/dist/ui/app/createEditorInteractionRuntime.d.ts +3 -5
- package/dist/ui/app/useEditorAppState.d.ts +2 -1
- package/dist/ui/app/useEditorContextMenuClipboard.d.ts +2 -1
- package/dist/ui/app/useEditorDialogs.d.ts +18 -16
- package/dist/ui/app/useEditorFocus.d.ts +7 -4
- package/dist/ui/app/useEditorFontOptions.d.ts +3 -1
- package/dist/ui/app/useEditorTransactions.d.ts +3 -1
- package/dist/ui/app/useParagraphDialogBridge.d.ts +1 -0
- package/dist/ui/components/CaretOverlay.d.ts +3 -1
- package/dist/ui/components/Dialogs/FontDialog.d.ts +2 -1
- package/dist/ui/components/Dialogs/ImageAltDialog.d.ts +3 -1
- package/dist/ui/components/Dialogs/ImageCaptionDialog.d.ts +3 -1
- package/dist/ui/components/Dialogs/LinkDialog.d.ts +3 -1
- package/dist/ui/components/Dialogs/ParagraphDialog.d.ts +23 -1
- package/dist/ui/components/Dialogs/TabStopsDialog.d.ts +10 -0
- package/dist/ui/components/Dialogs/TablePropertiesDialog.d.ts +2 -1
- package/dist/ui/components/Dialogs/font-dialog/AdvancedFontTab.d.ts +2 -1
- package/dist/ui/components/Dialogs/font-dialog/FontPreview.d.ts +3 -1
- package/dist/ui/components/Dialogs/table-properties/AltTextTabPanel.d.ts +2 -1
- package/dist/ui/components/Dialogs/table-properties/ColumnTabPanel.d.ts +2 -1
- package/dist/ui/components/Dialogs/table-properties/RowTabPanel.d.ts +2 -1
- package/dist/ui/components/PageBreak.d.ts +3 -1
- package/dist/ui/components/RevisionOverlay.d.ts +2 -1
- package/dist/ui/components/Toolbar/groups/MetricGroup.d.ts +2 -1
- package/dist/ui/shells/BalloonShell.d.ts +2 -1
- package/dist/ui/toolbarStyleState.d.ts +9 -2
- package/dist/vue.d.ts +3 -3
- package/package.json +1 -1
|
@@ -97,6 +97,8 @@ export interface EditorParagraphStyle {
|
|
|
97
97
|
indentRight?: number | null;
|
|
98
98
|
indentFirstLine?: number | null;
|
|
99
99
|
indentHanging?: number | null;
|
|
100
|
+
/** `w:mirrorIndents`: swap left/right indents on facing pages. */
|
|
101
|
+
mirrorIndents?: boolean;
|
|
100
102
|
shading?: string | null;
|
|
101
103
|
borderTop?: EditorBorderStyle | null;
|
|
102
104
|
borderRight?: EditorBorderStyle | null;
|
|
@@ -2,5 +2,5 @@ import { EditorParagraphListStyle } from '../model.js';
|
|
|
2
2
|
|
|
3
3
|
export type ToggleableTextStyleKey = "bold" | "italic" | "underline" | "strike" | "doubleStrike" | "superscript" | "subscript" | "smallCaps" | "allCaps" | "hidden" | "noProof" | "webHidden" | "specVanish" | "contextualAlternates";
|
|
4
4
|
export type ValueTextStyleKey = "styleId" | "fontFamily" | "fontSize" | "color" | "highlight" | "shading" | "language" | "textEffect" | "link" | "underlineStyle" | "underlineColor" | "characterScale" | "characterSpacing" | "baselineShift" | "kerningThreshold" | "ligatures" | "numberSpacing" | "numberForm" | "stylisticSet";
|
|
5
|
-
export type ValueParagraphStyleKey = "styleId" | "align" | "spacingBefore" | "spacingAfter" | "lineHeight" | "indentLeft" | "indentRight" | "indentFirstLine" | "indentHanging" | "shading" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "tabs" | "pageBreakBefore" | "keepWithNext";
|
|
5
|
+
export type ValueParagraphStyleKey = "styleId" | "align" | "spacingBefore" | "spacingAfter" | "lineHeight" | "indentLeft" | "indentRight" | "indentFirstLine" | "indentHanging" | "mirrorIndents" | "lineRule" | "contextualSpacing" | "outlineLevel" | "shading" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "tabs" | "pageBreakBefore" | "keepWithNext" | "keepLinesTogether" | "widowControl";
|
|
6
6
|
export type ParagraphListKind = EditorParagraphListStyle["kind"];
|
|
@@ -151,6 +151,48 @@ export declare const en: {
|
|
|
151
151
|
"paragraph.borderSideLeft": string;
|
|
152
152
|
"paragraph.preview": string;
|
|
153
153
|
"paragraph.previewText": string;
|
|
154
|
+
"paragraph.tabIndentsSpacing": string;
|
|
155
|
+
"paragraph.tabLineBreaks": string;
|
|
156
|
+
"paragraph.groupGeneral": string;
|
|
157
|
+
"paragraph.groupIndent": string;
|
|
158
|
+
"paragraph.groupSpacing": string;
|
|
159
|
+
"paragraph.groupBorders": string;
|
|
160
|
+
"paragraph.groupPagination": string;
|
|
161
|
+
"paragraph.outlineLevelLabel": string;
|
|
162
|
+
"paragraph.outlineBodyText": string;
|
|
163
|
+
"paragraph.outlineLevelN": string;
|
|
164
|
+
"paragraph.mirrorIndentsLabel": string;
|
|
165
|
+
"paragraph.lineSpacingSingle": string;
|
|
166
|
+
"paragraph.lineSpacingOnePointFive": string;
|
|
167
|
+
"paragraph.lineSpacingDouble": string;
|
|
168
|
+
"paragraph.lineSpacingMultiple": string;
|
|
169
|
+
"paragraph.lineSpacingAtLeast": string;
|
|
170
|
+
"paragraph.lineSpacingExact": string;
|
|
171
|
+
"paragraph.lineSpacingAt": string;
|
|
172
|
+
"paragraph.contextualSpacingLabel": string;
|
|
173
|
+
"paragraph.widowControlLabel": string;
|
|
174
|
+
"paragraph.keepWithNextLabel": string;
|
|
175
|
+
"paragraph.keepLinesTogetherLabel": string;
|
|
176
|
+
"paragraph.pageBreakBeforeLabel": string;
|
|
177
|
+
"paragraph.tabsButton": string;
|
|
178
|
+
"paragraph.setAsDefault": string;
|
|
179
|
+
"paragraph.tabsTitle": string;
|
|
180
|
+
"paragraph.tabsPosition": string;
|
|
181
|
+
"paragraph.tabsAlignment": string;
|
|
182
|
+
"paragraph.tabsLeader": string;
|
|
183
|
+
"paragraph.tabsAdd": string;
|
|
184
|
+
"paragraph.tabsRemove": string;
|
|
185
|
+
"paragraph.tabsClearAll": string;
|
|
186
|
+
"paragraph.tabsEmpty": string;
|
|
187
|
+
"paragraph.tabAlignLeft": string;
|
|
188
|
+
"paragraph.tabAlignCenter": string;
|
|
189
|
+
"paragraph.tabAlignRight": string;
|
|
190
|
+
"paragraph.tabAlignDecimal": string;
|
|
191
|
+
"paragraph.tabAlignBar": string;
|
|
192
|
+
"paragraph.tabLeaderNone": string;
|
|
193
|
+
"paragraph.tabLeaderDot": string;
|
|
194
|
+
"paragraph.tabLeaderHyphen": string;
|
|
195
|
+
"paragraph.tabLeaderUnderscore": string;
|
|
154
196
|
"section.orient": string;
|
|
155
197
|
"section.orientation": string;
|
|
156
198
|
"section.portrait": string;
|
|
@@ -151,6 +151,48 @@ export declare const ptBR: {
|
|
|
151
151
|
"paragraph.borderSideLeft": string;
|
|
152
152
|
"paragraph.preview": string;
|
|
153
153
|
"paragraph.previewText": string;
|
|
154
|
+
"paragraph.tabIndentsSpacing": string;
|
|
155
|
+
"paragraph.tabLineBreaks": string;
|
|
156
|
+
"paragraph.groupGeneral": string;
|
|
157
|
+
"paragraph.groupIndent": string;
|
|
158
|
+
"paragraph.groupSpacing": string;
|
|
159
|
+
"paragraph.groupBorders": string;
|
|
160
|
+
"paragraph.groupPagination": string;
|
|
161
|
+
"paragraph.outlineLevelLabel": string;
|
|
162
|
+
"paragraph.outlineBodyText": string;
|
|
163
|
+
"paragraph.outlineLevelN": string;
|
|
164
|
+
"paragraph.mirrorIndentsLabel": string;
|
|
165
|
+
"paragraph.lineSpacingSingle": string;
|
|
166
|
+
"paragraph.lineSpacingOnePointFive": string;
|
|
167
|
+
"paragraph.lineSpacingDouble": string;
|
|
168
|
+
"paragraph.lineSpacingMultiple": string;
|
|
169
|
+
"paragraph.lineSpacingAtLeast": string;
|
|
170
|
+
"paragraph.lineSpacingExact": string;
|
|
171
|
+
"paragraph.lineSpacingAt": string;
|
|
172
|
+
"paragraph.contextualSpacingLabel": string;
|
|
173
|
+
"paragraph.widowControlLabel": string;
|
|
174
|
+
"paragraph.keepWithNextLabel": string;
|
|
175
|
+
"paragraph.keepLinesTogetherLabel": string;
|
|
176
|
+
"paragraph.pageBreakBeforeLabel": string;
|
|
177
|
+
"paragraph.tabsButton": string;
|
|
178
|
+
"paragraph.setAsDefault": string;
|
|
179
|
+
"paragraph.tabsTitle": string;
|
|
180
|
+
"paragraph.tabsPosition": string;
|
|
181
|
+
"paragraph.tabsAlignment": string;
|
|
182
|
+
"paragraph.tabsLeader": string;
|
|
183
|
+
"paragraph.tabsAdd": string;
|
|
184
|
+
"paragraph.tabsRemove": string;
|
|
185
|
+
"paragraph.tabsClearAll": string;
|
|
186
|
+
"paragraph.tabsEmpty": string;
|
|
187
|
+
"paragraph.tabAlignLeft": string;
|
|
188
|
+
"paragraph.tabAlignCenter": string;
|
|
189
|
+
"paragraph.tabAlignRight": string;
|
|
190
|
+
"paragraph.tabAlignDecimal": string;
|
|
191
|
+
"paragraph.tabAlignBar": string;
|
|
192
|
+
"paragraph.tabLeaderNone": string;
|
|
193
|
+
"paragraph.tabLeaderDot": string;
|
|
194
|
+
"paragraph.tabLeaderHyphen": string;
|
|
195
|
+
"paragraph.tabLeaderUnderscore": string;
|
|
154
196
|
"section.orient": string;
|
|
155
197
|
"section.orientation": string;
|
|
156
198
|
"section.portrait": string;
|