oasis-editor 0.0.227 → 0.0.229
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-Dkk2-Ed0.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/plugin.d.ts +4 -1
- package/dist/core/pluginUiTypes.d.ts +4 -1
- package/dist/core/textStyle/textStyleKeys.d.ts +3 -3
- package/dist/core/transactionMergeKeys.d.ts +34 -0
- package/dist/defaultToolbar-6IjbWowg.js +1 -0
- package/dist/export/docx/docxTypes.d.ts +1 -0
- package/dist/i18n/locales/en.d.ts +20 -0
- package/dist/i18n/locales/pt-BR.d.ts +20 -0
- package/dist/index.d.ts +1 -1
- package/dist/layoutProjection/floatingObjects.d.ts +3 -0
- package/dist/oasis-editor.css +1 -1
- 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/components/Toolbar/primitives/SplitButton.d.ts +1 -0
- package/dist/ui/components/Toolbar/primitives/popoverBranch.d.ts +7 -0
- package/dist/ui/components/Toolbar/primitives/useDismiss.d.ts +3 -1
- package/dist/ui/components/Toolbar/ribbon/RibbonGroup.d.ts +2 -1
- package/dist/ui/components/Toolbar/ribbon/measureRibbonGroups.d.ts +8 -0
- package/dist/ui/components/Toolbar/ribbon/ribbonModel.d.ts +14 -1
- package/dist/ui/components/Toolbar/schema/items.d.ts +13 -4
- package/dist/ui/toolbarStyleState.d.ts +22 -3
- package/dist/ui/utils/IconManager.d.ts +3 -1
- package/package.json +7 -2
- package/dist/OasisEditorApp-DyqrRigM.js +0 -1
- package/dist/defaultToolbar-Dq0iVC5E.js +0 -1
|
@@ -279,6 +279,7 @@ export declare const en: {
|
|
|
279
279
|
"table.insertColumnLeft": string;
|
|
280
280
|
"table.insertColumnRight": string;
|
|
281
281
|
"table.deleteColumn": string;
|
|
282
|
+
"table.deleteCells": string;
|
|
282
283
|
"table.insertAbove": string;
|
|
283
284
|
"table.insertBelow": string;
|
|
284
285
|
"table.insertRowAbove": string;
|
|
@@ -300,12 +301,23 @@ export declare const en: {
|
|
|
300
301
|
"table.bandedColumns": string;
|
|
301
302
|
"table.tableStyle": string;
|
|
302
303
|
"table.autoFit": string;
|
|
304
|
+
"table.autoFitContents": string;
|
|
305
|
+
"table.autoFitWindow": string;
|
|
306
|
+
"table.fixedColumnWidth": string;
|
|
303
307
|
"table.convertToText": string;
|
|
304
308
|
"table.convertToTextTooltip": string;
|
|
305
309
|
"table.convertToTable": string;
|
|
306
310
|
"table.convertToTableTooltip": string;
|
|
307
311
|
"table.splitTable": string;
|
|
308
312
|
"table.splitTableTooltip": string;
|
|
313
|
+
"table.sortAscending": string;
|
|
314
|
+
"table.sortAscendingTooltip": string;
|
|
315
|
+
"table.sortDescending": string;
|
|
316
|
+
"table.sortDescendingTooltip": string;
|
|
317
|
+
"table.deleteTable": string;
|
|
318
|
+
"table.deleteTableTooltip": string;
|
|
319
|
+
"table.repeatHeaderRows": string;
|
|
320
|
+
"table.repeatHeaderRowsTooltip": string;
|
|
309
321
|
"table.distributeRows": string;
|
|
310
322
|
"table.distributeColumns": string;
|
|
311
323
|
"table.cellWidth": string;
|
|
@@ -450,6 +462,9 @@ export declare const en: {
|
|
|
450
462
|
"ribbon.tab.imageFormat": string;
|
|
451
463
|
"ribbon.tab.plugins": string;
|
|
452
464
|
"ribbon.tab.ai": string;
|
|
465
|
+
"ribbon.scrollPrevious": string;
|
|
466
|
+
"ribbon.scrollNext": string;
|
|
467
|
+
"ribbon.group.history": string;
|
|
453
468
|
"ribbon.group.clipboard": string;
|
|
454
469
|
"ribbon.group.editing": string;
|
|
455
470
|
"ribbon.group.pages": string;
|
|
@@ -479,6 +494,7 @@ export declare const en: {
|
|
|
479
494
|
"ribbon.group.document": string;
|
|
480
495
|
"ribbon.group.table": string;
|
|
481
496
|
"ribbon.group.section": string;
|
|
497
|
+
"ribbon.group.sort": string;
|
|
482
498
|
"ribbon.group.general": string;
|
|
483
499
|
"ribbon.group.tableStyleOptions": string;
|
|
484
500
|
"ribbon.group.tableStyles": string;
|
|
@@ -522,6 +538,10 @@ export declare const en: {
|
|
|
522
538
|
"image.height": string;
|
|
523
539
|
"image.width": string;
|
|
524
540
|
"image.cropReset": string;
|
|
541
|
+
"image.flipHorizontal": string;
|
|
542
|
+
"image.flipVertical": string;
|
|
543
|
+
"image.rotateLeft": string;
|
|
544
|
+
"image.rotateRight": string;
|
|
525
545
|
"image.cropRatio.square": string;
|
|
526
546
|
"image.cropRatio.squareGroup": string;
|
|
527
547
|
"image.cropRatio.portrait": string;
|
|
@@ -279,6 +279,7 @@ export declare const ptBR: {
|
|
|
279
279
|
"table.insertColumnLeft": string;
|
|
280
280
|
"table.insertColumnRight": string;
|
|
281
281
|
"table.deleteColumn": string;
|
|
282
|
+
"table.deleteCells": string;
|
|
282
283
|
"table.insertAbove": string;
|
|
283
284
|
"table.insertBelow": string;
|
|
284
285
|
"table.insertRowAbove": string;
|
|
@@ -300,12 +301,23 @@ export declare const ptBR: {
|
|
|
300
301
|
"table.bandedColumns": string;
|
|
301
302
|
"table.tableStyle": string;
|
|
302
303
|
"table.autoFit": string;
|
|
304
|
+
"table.autoFitContents": string;
|
|
305
|
+
"table.autoFitWindow": string;
|
|
306
|
+
"table.fixedColumnWidth": string;
|
|
303
307
|
"table.convertToText": string;
|
|
304
308
|
"table.convertToTextTooltip": string;
|
|
305
309
|
"table.convertToTable": string;
|
|
306
310
|
"table.convertToTableTooltip": string;
|
|
307
311
|
"table.splitTable": string;
|
|
308
312
|
"table.splitTableTooltip": string;
|
|
313
|
+
"table.sortAscending": string;
|
|
314
|
+
"table.sortAscendingTooltip": string;
|
|
315
|
+
"table.sortDescending": string;
|
|
316
|
+
"table.sortDescendingTooltip": string;
|
|
317
|
+
"table.deleteTable": string;
|
|
318
|
+
"table.deleteTableTooltip": string;
|
|
319
|
+
"table.repeatHeaderRows": string;
|
|
320
|
+
"table.repeatHeaderRowsTooltip": string;
|
|
309
321
|
"table.distributeRows": string;
|
|
310
322
|
"table.distributeColumns": string;
|
|
311
323
|
"table.cellWidth": string;
|
|
@@ -450,6 +462,9 @@ export declare const ptBR: {
|
|
|
450
462
|
"ribbon.tab.imageFormat": string;
|
|
451
463
|
"ribbon.tab.plugins": string;
|
|
452
464
|
"ribbon.tab.ai": string;
|
|
465
|
+
"ribbon.scrollPrevious": string;
|
|
466
|
+
"ribbon.scrollNext": string;
|
|
467
|
+
"ribbon.group.history": string;
|
|
453
468
|
"ribbon.group.clipboard": string;
|
|
454
469
|
"ribbon.group.editing": string;
|
|
455
470
|
"ribbon.group.pages": string;
|
|
@@ -479,6 +494,7 @@ export declare const ptBR: {
|
|
|
479
494
|
"ribbon.group.document": string;
|
|
480
495
|
"ribbon.group.table": string;
|
|
481
496
|
"ribbon.group.section": string;
|
|
497
|
+
"ribbon.group.sort": string;
|
|
482
498
|
"ribbon.group.general": string;
|
|
483
499
|
"ribbon.group.tableStyleOptions": string;
|
|
484
500
|
"ribbon.group.tableStyles": string;
|
|
@@ -522,6 +538,10 @@ export declare const ptBR: {
|
|
|
522
538
|
"image.height": string;
|
|
523
539
|
"image.width": string;
|
|
524
540
|
"image.cropReset": string;
|
|
541
|
+
"image.flipHorizontal": string;
|
|
542
|
+
"image.flipVertical": string;
|
|
543
|
+
"image.rotateLeft": string;
|
|
544
|
+
"image.rotateRight": string;
|
|
525
545
|
"image.cropRatio.square": string;
|
|
526
546
|
"image.cropRatio.squareGroup": string;
|
|
527
547
|
"image.cropRatio.portrait": string;
|
package/dist/index.d.ts
CHANGED
|
@@ -41,7 +41,7 @@ export type { ImportProgressState } from './app/controllers/useEditorDocumentIO.
|
|
|
41
41
|
export type { CommandRef, ResolvedCommandRef, } from './core/commands/CommandRef.js';
|
|
42
42
|
export type { CommandBus } from './core/commands/CommandBus.js';
|
|
43
43
|
export type { OasisEditorAppProps, ToolbarLayoutMode, ToolbarViewMode, } from './ui/OasisEditorApp.js';
|
|
44
|
-
export type { RibbonRow, RibbonGroupResizePolicy, RibbonGroupResizeState, RibbonTabId, RibbonSize, ToolbarItem, ToolbarItemType, ButtonItem, ToggleItem, SplitItem, MenuItem, MenuContent, SelectItem, SelectOption, StyleGalleryItem, ToolbarDocumentStyle, ColorPickerItem, GridPickerItem, SeparatorItem, GroupItem, CustomItem, ToolbarActionApi, ToolbarCommandState, ItemReactiveOverrides, } from './ui/components/Toolbar/schema/items.js';
|
|
44
|
+
export type { RibbonRow, RibbonGroupLayout, RibbonGroupResizePolicy, RibbonGroupResizeState, RibbonTabId, RibbonSize, ToolbarItem, ToolbarItemType, ButtonItem, ToggleItem, SplitItem, MenuItem, MenuContent, SelectItem, SelectOption, StyleGalleryItem, ToolbarDocumentStyle, ColorPickerItem, GridPickerItem, SeparatorItem, GroupItem, CustomItem, ToolbarActionApi, ToolbarCommandState, ItemReactiveOverrides, } from './ui/components/Toolbar/schema/items.js';
|
|
45
45
|
export { RIBBON_TABS } from './ui/components/Toolbar/schema/items.js';
|
|
46
46
|
export type { ColorPalette, ColorSwatch, ThemeColor, } from './ui/components/Toolbar/schema/palette.js';
|
|
47
47
|
export { createToolbarRegistry } from './ui/components/Toolbar/registry/ToolbarRegistry.js';
|
|
@@ -11,6 +11,9 @@ export interface ExclusionPolygonPoint {
|
|
|
11
11
|
}
|
|
12
12
|
export interface FloatingExclusionRect extends FloatingObjectRect {
|
|
13
13
|
wrap: NonNullable<EditorImageFloatingLayout["wrap"]>;
|
|
14
|
+
/** Which side(s) of the wrapped object text may flow on, for Square/Tight/
|
|
15
|
+
* Through wraps. Absent (or bothSides) leaves both sides open. */
|
|
16
|
+
wrapText?: NonNullable<EditorImageFloatingLayout["wrapText"]>;
|
|
14
17
|
sourceRunId: string;
|
|
15
18
|
/** Absolute-layout-coordinate tight/through contour. When present (images
|
|
16
19
|
* with a wrapPolygon and wrap tight/through), the composer carves per-line
|