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.
Files changed (92) hide show
  1. package/dist/OasisEditorApp-CpKYMW3z.js +1 -0
  2. package/dist/app/controllers/EditorCommandsController.d.ts +6 -1
  3. package/dist/app/services/FindReplaceService.d.ts +6 -18
  4. package/dist/assets/{importDocxWorker-D9et8X0W.js → importDocxWorker-dPLECw5a.js} +197 -181
  5. package/dist/core/commands/builtinCommands.d.ts +1 -1
  6. package/dist/core/commands/dropCap.d.ts +23 -0
  7. package/dist/core/commands/fieldDate.d.ts +6 -0
  8. package/dist/core/commands/findReplace.d.ts +25 -0
  9. package/dist/core/commands/floatingAlignCommands.d.ts +98 -0
  10. package/dist/core/commands/floatingReorderCommands.d.ts +17 -0
  11. package/dist/core/commands/headerFooter.d.ts +17 -0
  12. package/dist/core/commands/horizontalLine.d.ts +3 -0
  13. package/dist/core/commands/hyphenation.d.ts +27 -0
  14. package/dist/core/commands/image.d.ts +45 -0
  15. package/dist/core/commands/noteOptions.d.ts +22 -0
  16. package/dist/core/commands/outlineStep.d.ts +13 -0
  17. package/dist/core/commands/pageSetup.d.ts +41 -1
  18. package/dist/core/commands/paragraphAdjustRightInd.d.ts +8 -0
  19. package/dist/core/commands/paragraphAlign.d.ts +10 -0
  20. package/dist/core/commands/paragraphAutoSpaceDE.d.ts +8 -0
  21. package/dist/core/commands/paragraphAutoSpaceDN.d.ts +8 -0
  22. package/dist/core/commands/paragraphBidi.d.ts +7 -0
  23. package/dist/core/commands/paragraphContextualSpacing.d.ts +7 -0
  24. package/dist/core/commands/paragraphKeepLinesTogether.d.ts +7 -0
  25. package/dist/core/commands/paragraphKeepWithNext.d.ts +7 -0
  26. package/dist/core/commands/paragraphKinsoku.d.ts +8 -0
  27. package/dist/core/commands/paragraphLineRule.d.ts +10 -0
  28. package/dist/core/commands/paragraphListLevel.d.ts +8 -0
  29. package/dist/core/commands/paragraphMirrorIndents.d.ts +7 -0
  30. package/dist/core/commands/paragraphMove.d.ts +8 -0
  31. package/dist/core/commands/paragraphOutlineLevel.d.ts +11 -0
  32. package/dist/core/commands/paragraphOverflowPunct.d.ts +8 -0
  33. package/dist/core/commands/paragraphPageBreakBefore.d.ts +7 -0
  34. package/dist/core/commands/paragraphReset.d.ts +9 -0
  35. package/dist/core/commands/paragraphSort.d.ts +7 -0
  36. package/dist/core/commands/paragraphSuppressAutoHyphens.d.ts +7 -0
  37. package/dist/core/commands/paragraphSuppressLineNumbers.d.ts +7 -0
  38. package/dist/core/commands/paragraphTabs.d.ts +28 -0
  39. package/dist/core/commands/paragraphTextDirection.d.ts +9 -0
  40. package/dist/core/commands/paragraphTopLinePunct.d.ts +7 -0
  41. package/dist/core/commands/paragraphWidowControl.d.ts +8 -0
  42. package/dist/core/commands/paragraphWordWrap.d.ts +8 -0
  43. package/dist/core/commands/publicCommandTypes.d.ts +189 -3
  44. package/dist/core/commands/selectUnit.d.ts +43 -0
  45. package/dist/core/commands/shape.d.ts +4 -0
  46. package/dist/core/commands/shapeFillCommands.d.ts +31 -0
  47. package/dist/core/commands/specialChar.d.ts +18 -0
  48. package/dist/core/commands/table/tableAlignmentCommands.d.ts +10 -0
  49. package/dist/core/commands/table/tableAutoFitCommands.d.ts +16 -0
  50. package/dist/core/commands/table/tableCellFitTextCommands.d.ts +7 -0
  51. package/dist/core/commands/table/tableCellMarginsCommands.d.ts +20 -0
  52. package/dist/core/commands/table/tableCellNoWrapCommands.d.ts +7 -0
  53. package/dist/core/commands/table/tableCellSpacingCommands.d.ts +9 -0
  54. package/dist/core/commands/table/tableColumnCommands.d.ts +10 -0
  55. package/dist/core/commands/table/tableDeleteCellsCommands.d.ts +16 -0
  56. package/dist/core/commands/table/tableDeleteCommands.d.ts +11 -0
  57. package/dist/core/commands/table/tableFormulaCommands.d.ts +34 -0
  58. package/dist/core/commands/table/tableIndentCommands.d.ts +9 -0
  59. package/dist/core/commands/table/tableRepeatHeaderCommands.d.ts +15 -0
  60. package/dist/core/commands/table/tableRowBreakAcrossPagesCommands.d.ts +9 -0
  61. package/dist/core/commands/table/tableRowCommands.d.ts +2 -0
  62. package/dist/core/commands/table/tableRowHeightCommands.d.ts +21 -0
  63. package/dist/core/commands/table/tableSelectionCommands.d.ts +18 -0
  64. package/dist/core/commands/table/tableSortCommands.d.ts +16 -0
  65. package/dist/core/commands/table/tableStyleCommands.d.ts +9 -0
  66. package/dist/core/commands/table.d.ts +15 -0
  67. package/dist/core/commands/text.d.ts +1 -1
  68. package/dist/core/commands/textBoxBodyCommands.d.ts +43 -0
  69. package/dist/core/commands/textFormatting.d.ts +15 -0
  70. package/dist/core/commands/zoneBlocks.d.ts +10 -0
  71. package/dist/core/engine.d.ts +3 -0
  72. package/dist/core/model/types/primitives.d.ts +10 -0
  73. package/dist/core/textStyle/textStyleKeys.d.ts +3 -3
  74. package/dist/core/transactionMergeKeys.d.ts +34 -0
  75. package/dist/defaultToolbar-Em7_omZA.js +1 -0
  76. package/dist/export/docx/docxTypes.d.ts +1 -0
  77. package/dist/i18n/locales/en.d.ts +16 -0
  78. package/dist/i18n/locales/pt-BR.d.ts +16 -0
  79. package/dist/layoutProjection/floatingObjects.d.ts +3 -0
  80. package/dist/oasis-editor.js +1 -1
  81. package/dist/oasis-editor.umd.cjs +1 -1
  82. package/dist/plugins/internal/essentialsCapabilities.d.ts +310 -2
  83. package/dist/plugins/internal/essentialsCommandBuilders.d.ts +2 -0
  84. package/dist/plugins/internal/essentialsCommandGroups/table.d.ts +3 -2
  85. package/dist/ui/app/createAppCommandsController.d.ts +12 -2
  86. package/dist/ui/app/createEditorCommandRuntime.d.ts +11 -1
  87. package/dist/ui/app/essentials/types.d.ts +2 -0
  88. package/dist/ui/components/Toolbar/marginPresets.d.ts +5 -9
  89. package/dist/ui/toolbarStyleState.d.ts +22 -3
  90. package/package.json +1 -1
  91. package/dist/OasisEditorApp-DyqrRigM.js +0 -1
  92. 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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oasis-editor",
3
- "version": "0.0.227",
3
+ "version": "0.0.228",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "repository": {