oasis-editor 0.0.121 → 0.0.123

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.
Files changed (71) hide show
  1. package/dist/{OasisEditorApp-XzK_1rLE.js → OasisEditorApp-Dwc5ee9G.js} +1993 -918
  2. package/dist/adapters/vue.d.ts +3 -3
  3. package/dist/app/controllers/EditorCommandsController.d.ts +3 -1
  4. package/dist/app/controllers/tableOpsCellSpanCommands.d.ts +2 -1
  5. package/dist/app/controllers/tableOpsGuards.d.ts +2 -1
  6. package/dist/app/controllers/tableOpsRowColumnCommands.d.ts +2 -1
  7. package/dist/app/controllers/tableOpsSelectionAwareCommands.d.ts +2 -1
  8. package/dist/app/controllers/tableOpsSelectionRanges.d.ts +2 -1
  9. package/dist/app/controllers/useEditorClipboard.d.ts +3 -1
  10. package/dist/app/controllers/useEditorDocumentIO.d.ts +2 -1
  11. package/dist/app/controllers/useEditorHistoryActions.d.ts +3 -1
  12. package/dist/app/controllers/useEditorImageOperations.d.ts +7 -7
  13. package/dist/app/controllers/useEditorKeyboard.d.ts +2 -1
  14. package/dist/app/controllers/useEditorLayout.d.ts +2 -1
  15. package/dist/app/controllers/useEditorNavigation.d.ts +3 -1
  16. package/dist/app/controllers/useEditorRevision.d.ts +3 -1
  17. package/dist/app/controllers/useEditorStyle.d.ts +2 -1
  18. package/dist/app/controllers/useEditorSurfaceEvents.d.ts +3 -1
  19. package/dist/app/controllers/useEditorTableDrag.d.ts +7 -0
  20. package/dist/app/controllers/useEditorTableOperations.d.ts +3 -1
  21. package/dist/app/controllers/useEditorTextBoxOperations.d.ts +3 -1
  22. package/dist/app/controllers/useEditorTextDrag.d.ts +3 -1
  23. package/dist/app/controllers/useEditorTextInput.d.ts +3 -1
  24. package/dist/assets/{importDocxWorker-nIS-zjkj.js → importDocxWorker-A73eR_fM.js} +1 -1
  25. package/dist/core/model/types/styles.d.ts +2 -0
  26. package/dist/core/textStyle/textStyleKeys.d.ts +1 -1
  27. package/dist/i18n/locales/en.d.ts +42 -0
  28. package/dist/i18n/locales/pt-BR.d.ts +42 -0
  29. package/dist/{index-DF_Uf74V.js → index-YMlNF1Ya.js} +757 -466
  30. package/dist/oasis-editor.css +1 -1
  31. package/dist/oasis-editor.js +71 -71
  32. package/dist/oasis-editor.umd.cjs +4 -4
  33. package/dist/ui/OasisEditorContainer.d.ts +2 -1
  34. package/dist/ui/app/EditorDialogsLayer.d.ts +1 -0
  35. package/dist/ui/app/createAppCommandsController.d.ts +2 -1
  36. package/dist/ui/app/createEditorChrome.d.ts +3 -1
  37. package/dist/ui/app/createEditorCommandRuntime.d.ts +2 -1
  38. package/dist/ui/app/createEditorDocumentRuntime.d.ts +2 -1
  39. package/dist/ui/app/createEditorInteractionRuntime.d.ts +3 -5
  40. package/dist/ui/app/useEditorAppState.d.ts +2 -1
  41. package/dist/ui/app/useEditorContextMenuClipboard.d.ts +2 -1
  42. package/dist/ui/app/useEditorDialogs.d.ts +18 -16
  43. package/dist/ui/app/useEditorFocus.d.ts +7 -4
  44. package/dist/ui/app/useEditorFontOptions.d.ts +3 -1
  45. package/dist/ui/app/useEditorTransactions.d.ts +3 -1
  46. package/dist/ui/app/useEditorUiOptions.d.ts +10 -7
  47. package/dist/ui/app/useFontDialogBridge.d.ts +5 -4
  48. package/dist/ui/app/useParagraphDialogBridge.d.ts +6 -4
  49. package/dist/ui/app/useTablePropertiesDialogBridge.d.ts +6 -5
  50. package/dist/ui/canvas/CanvasTableLayout.d.ts +2 -10
  51. package/dist/ui/canvas/canvasPageRenderer.d.ts +8 -7
  52. package/dist/ui/components/CaretOverlay.d.ts +3 -1
  53. package/dist/ui/components/Dialogs/FontDialog.d.ts +2 -1
  54. package/dist/ui/components/Dialogs/ImageAltDialog.d.ts +3 -1
  55. package/dist/ui/components/Dialogs/ImageCaptionDialog.d.ts +3 -1
  56. package/dist/ui/components/Dialogs/LinkDialog.d.ts +3 -1
  57. package/dist/ui/components/Dialogs/ParagraphDialog.d.ts +23 -1
  58. package/dist/ui/components/Dialogs/TabStopsDialog.d.ts +10 -0
  59. package/dist/ui/components/Dialogs/TablePropertiesDialog.d.ts +2 -1
  60. package/dist/ui/components/Dialogs/font-dialog/AdvancedFontTab.d.ts +2 -1
  61. package/dist/ui/components/Dialogs/font-dialog/FontPreview.d.ts +3 -1
  62. package/dist/ui/components/Dialogs/table-properties/AltTextTabPanel.d.ts +2 -1
  63. package/dist/ui/components/Dialogs/table-properties/ColumnTabPanel.d.ts +2 -1
  64. package/dist/ui/components/Dialogs/table-properties/RowTabPanel.d.ts +2 -1
  65. package/dist/ui/components/PageBreak.d.ts +3 -1
  66. package/dist/ui/components/RevisionOverlay.d.ts +2 -1
  67. package/dist/ui/components/Toolbar/groups/MetricGroup.d.ts +2 -1
  68. package/dist/ui/shells/BalloonShell.d.ts +2 -1
  69. package/dist/ui/toolbarStyleState.d.ts +9 -2
  70. package/dist/vue.d.ts +3 -3
  71. 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;