@worktile/theia 16.2.1 → 16.2.2

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 (61) hide show
  1. package/esm2022/components/action/prevent-default.mjs +3 -3
  2. package/esm2022/components/column-resize/column-resize-notifier.mjs +3 -3
  3. package/esm2022/components/column-resize/column-resize.directive.mjs +3 -3
  4. package/esm2022/components/column-resize/column-resize.module.mjs +8 -8
  5. package/esm2022/components/column-resize/event-dispatcher.mjs +3 -3
  6. package/esm2022/components/column-resize/overlay-handle.component.mjs +3 -3
  7. package/esm2022/components/column-resize/resizing.store.mjs +3 -3
  8. package/esm2022/components/contextmenu/contextmenu.component.mjs +3 -3
  9. package/esm2022/components/conversion-hint/conversion-hint.component.mjs +3 -3
  10. package/esm2022/components/element/element.component.mjs +3 -3
  11. package/esm2022/components/inline-toolbar/inline-toolbar.component.mjs +3 -3
  12. package/esm2022/components/listbox/listbox.mjs +9 -9
  13. package/esm2022/components/plugin-menu/plugin-menu.component.mjs +3 -3
  14. package/esm2022/components/table-select/table-select.component.mjs +3 -3
  15. package/esm2022/components/template/template.component.mjs +3 -3
  16. package/esm2022/components/text/text.component.mjs +3 -3
  17. package/esm2022/components/toolbar/toolbar.component.mjs +3 -3
  18. package/esm2022/components/toolbar-dropdown/toolbar-dropdown.component.mjs +3 -3
  19. package/esm2022/components/toolbar-group/toolbar-group.component.mjs +3 -3
  20. package/esm2022/components/toolbar-item/toolbar-item.component.mjs +3 -3
  21. package/esm2022/core/toolbar-item/base-toolbar-item.mjs +6 -6
  22. package/esm2022/editor.component.mjs +3 -3
  23. package/esm2022/editor.module.mjs +4 -4
  24. package/esm2022/interfaces/view-base.mjs +3 -3
  25. package/esm2022/pipes.mjs +9 -9
  26. package/esm2022/plugins/blockquote/blockquote.component.mjs +3 -3
  27. package/esm2022/plugins/code/code.component.mjs +3 -3
  28. package/esm2022/plugins/color/toolbar-item.component.mjs +3 -3
  29. package/esm2022/plugins/hr/hr.component.mjs +3 -3
  30. package/esm2022/plugins/image/image.component.mjs +3 -3
  31. package/esm2022/plugins/inline-code/inline-code.component.mjs +3 -3
  32. package/esm2022/plugins/link/edit/link-edit.component.mjs +3 -3
  33. package/esm2022/plugins/link/hover/link-hover.component.mjs +3 -3
  34. package/esm2022/plugins/link/link.component.mjs +6 -6
  35. package/esm2022/plugins/list/components/bulleted-list.component.mjs +3 -3
  36. package/esm2022/plugins/list/components/list-item.component.mjs +3 -3
  37. package/esm2022/plugins/list/components/numbered-list.component.mjs +3 -3
  38. package/esm2022/plugins/mention/suggestion.component.mjs +3 -3
  39. package/esm2022/plugins/paint-format/paint-format.editor.mjs +14 -11
  40. package/esm2022/plugins/quick-insert/components/quick-insert.component.mjs +3 -3
  41. package/esm2022/plugins/table/components/insert-mark/insert-mark.component.mjs +3 -3
  42. package/esm2022/plugins/table/components/row/row.component.mjs +3 -3
  43. package/esm2022/plugins/table/components/table.component.mjs +3 -3
  44. package/esm2022/plugins/table/components/td/td.component.mjs +3 -3
  45. package/esm2022/plugins/table/components/toolbar/table-options.component.mjs +3 -3
  46. package/esm2022/plugins/table/components/toolbar/table-toolbar.component.mjs +3 -3
  47. package/esm2022/plugins/table/table.editor.mjs +6 -1
  48. package/esm2022/plugins/table/table.pipe.mjs +6 -6
  49. package/esm2022/plugins/table/table.service.mjs +3 -3
  50. package/esm2022/plugins/table/table.store.mjs +3 -3
  51. package/esm2022/plugins/table/toolbar-item.component.mjs +3 -3
  52. package/esm2022/plugins/todo-item/todo-item.component.mjs +3 -3
  53. package/esm2022/plugins/vertical-align/toolbar-item.component.mjs +3 -3
  54. package/esm2022/services/context.service.mjs +3 -3
  55. package/esm2022/services/table-contextmenu.service.mjs +3 -3
  56. package/esm2022/services/toolbar.service.mjs +3 -3
  57. package/fesm2022/worktile-theia.mjs +207 -199
  58. package/fesm2022/worktile-theia.mjs.map +1 -1
  59. package/package.json +1 -1
  60. package/plugins/paint-format/paint-format.editor.d.ts +10 -1
  61. package/plugins/table/table.editor.d.ts +10 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@worktile/theia",
3
- "version": "16.2.1",
3
+ "version": "16.2.2",
4
4
  "description": "theia editor",
5
5
  "author": "YanDong <nanianqiumo@foxmail.com>",
6
6
  "homepage": "https://github.com/atinc/theia#readme",
@@ -1,6 +1,15 @@
1
1
  import { TheEditor } from '../../interfaces';
2
+ import { MarkTypes } from '../../constants';
2
3
  export declare const PaintFormatEditor: {
3
- formatBrush(editor: TheEditor): void;
4
+ formatBrush(editor: TheEditor, marks: {
5
+ bold?: any;
6
+ italic?: any;
7
+ underlined?: any;
8
+ strike?: any;
9
+ color?: any;
10
+ "background-color"?: any;
11
+ "font-size"?: any;
12
+ }): void;
4
13
  isActive(editor: TheEditor): boolean;
5
14
  enableFormatBrush(editor: TheEditor): void;
6
15
  cancelFormatBrushStatus(editor: TheEditor): void;
@@ -1,6 +1,6 @@
1
1
  import { Editor, NodeEntry, Path, Range, Location } from 'slate';
2
2
  import { TableOptions } from './table.types';
3
- import { Alignment, Indents, VerticalAlignment } from '../../constants';
3
+ import { Alignment, Indents, MarkTypes, VerticalAlignment } from '../../constants';
4
4
  import { TheEditor } from '../../interfaces';
5
5
  import { CustomElement, TableElement } from '../../custom-types';
6
6
  export declare const TableEditor: {
@@ -18,6 +18,15 @@ export declare const TableEditor: {
18
18
  isVerticalAlignActive(editor: TheEditor, alignment: VerticalAlignment): boolean;
19
19
  toggleMark(editor: TheEditor, isActive: boolean, format: string | string[], value?: string | number | boolean): boolean;
20
20
  clearMark(editor: TheEditor): boolean;
21
+ formatBrush(editor: TheEditor, marks: {
22
+ bold?: any;
23
+ italic?: any;
24
+ underlined?: any;
25
+ strike?: any;
26
+ color?: any;
27
+ "background-color"?: any;
28
+ "font-size"?: any;
29
+ }): boolean;
21
30
  handleSelectedCells(editor: TheEditor, handle: (cellPath: Path, cellRange: Range) => void): boolean;
22
31
  hasHeaderRow(editor: TheEditor, location?: Location): boolean;
23
32
  hasHeaderColumn(editor: TheEditor, location?: Location): boolean;