@ones-editor/editor 1.1.8-beta.12 → 1.1.8-beta.13

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 (56) hide show
  1. package/@ones-editor/block-menu/src/block-menu/standard-block-actions/hook.d.ts +0 -2
  2. package/@ones-editor/code-block/src/code-block/languages.d.ts +1 -1
  3. package/@ones-editor/code-block/src/locale/en-us.d.ts +1 -0
  4. package/@ones-editor/code-block/src/locale/ja-jp.d.ts +1 -0
  5. package/@ones-editor/code-block/src/locale/zh-cn.d.ts +1 -0
  6. package/@ones-editor/comments/src/comments-render/index.d.ts +1 -0
  7. package/@ones-editor/core/src/core/composition/clipboard/copy.d.ts +1 -2
  8. package/@ones-editor/core/src/core/composition/index.d.ts +1 -1
  9. package/@ones-editor/core/src/core/containers/root-container.d.ts +0 -1
  10. package/@ones-editor/core/src/core/doc/rich-text/replace-text.d.ts +8 -0
  11. package/@ones-editor/core/src/core/doc/rich-text/text-style.d.ts +1 -0
  12. package/@ones-editor/core/src/core/editor/actions/index.d.ts +0 -1
  13. package/@ones-editor/core/src/core/editor/actions/update-block-text.d.ts +3 -3
  14. package/@ones-editor/core/src/core/editor/actions/update-box-data.d.ts +2 -2
  15. package/@ones-editor/core/src/core/editor/editor-dom/editor-dom.d.ts +1 -3
  16. package/@ones-editor/core/src/core/editor/index.d.ts +0 -1
  17. package/@ones-editor/core/src/core/selection/actions/move-simple-block-position.d.ts +1 -1
  18. package/@ones-editor/core/src/core/types.d.ts +3 -3
  19. package/@ones-editor/core/src/utils/animate-scroll.d.ts +0 -4
  20. package/@ones-editor/find-dialog/src/find-dialog.d.ts +1 -4
  21. package/@ones-editor/find-dialog/src/highlights/highlight-dom.d.ts +0 -4
  22. package/@ones-editor/heading-collapse/src/heading-collapse-button/collapse-heading-block.d.ts +0 -2
  23. package/@ones-editor/heading-collapse/src/heading-collapse-button/index.d.ts +1 -3
  24. package/@ones-editor/mathjax/src/index.d.ts +0 -2
  25. package/@ones-editor/paste-special/src/paste-special-button.d.ts +0 -1
  26. package/@ones-editor/status/package.json +7 -0
  27. package/@ones-editor/status/src/dom/input.d.ts +1 -0
  28. package/@ones-editor/status/src/dom/overflow-tooltip-tag.d.ts +10 -0
  29. package/@ones-editor/status/src/dom/status-palette.d.ts +6 -0
  30. package/@ones-editor/status/src/index.d.ts +4 -0
  31. package/@ones-editor/status/src/locale/en-us.d.ts +25 -0
  32. package/@ones-editor/status/src/locale/index.d.ts +1 -0
  33. package/@ones-editor/status/src/locale/ja-jp.d.ts +25 -0
  34. package/@ones-editor/status/src/locale/zh-cn.d.ts +25 -0
  35. package/@ones-editor/status/src/status-box-command.d.ts +7 -0
  36. package/@ones-editor/status/src/status-box-data.d.ts +5 -0
  37. package/@ones-editor/status/src/status-box-editor.d.ts +21 -0
  38. package/@ones-editor/status/src/status-box.d.ts +4 -0
  39. package/@ones-editor/status/src/types.d.ts +8 -0
  40. package/@ones-editor/table-block/src/index.d.ts +2 -2
  41. package/@ones-editor/table-block/src/table-block/index.d.ts +0 -1
  42. package/@ones-editor/table-block/src/table-block/table-dom.d.ts +0 -1
  43. package/@ones-editor/table-block/src/types.d.ts +0 -1
  44. package/@ones-editor/tsconfig.tsbuildinfo +1 -1
  45. package/@ones-editor/ui-base/src/icons/index.d.ts +2 -1
  46. package/@ones-editor/ui-base/src/input/create-input.d.ts +2 -1
  47. package/@ones-editor/versions/src/types.d.ts +0 -1
  48. package/@ones-editor/versions/src/version-dialog/version-list.d.ts +0 -1
  49. package/dist/index.js +224 -213
  50. package/dist/lang/en-us.d.ts +0 -1
  51. package/dist/lang/ja-jp.d.ts +0 -1
  52. package/dist/lang/zh-cn.d.ts +0 -1
  53. package/dist/types.d.ts +0 -2
  54. package/package.json +1 -1
  55. package/@ones-editor/core/src/core/editor/actions/replace-text.d.ts +0 -10
  56. package/@ones-editor/heading-collapse/src/doc-event/collapse-handler.d.ts +0 -3
@@ -14,7 +14,6 @@ declare const _default: {
14
14
  copy: string;
15
15
  cut: string;
16
16
  unsafeEnvTips: string;
17
- limitedEnvTips: string;
18
17
  };
19
18
  };
20
19
  export default _default;
@@ -14,7 +14,6 @@ declare const _default: {
14
14
  copy: string;
15
15
  cut: string;
16
16
  unsafeEnvTips: string;
17
- limitedEnvTips: string;
18
17
  };
19
18
  };
20
19
  export default _default;
@@ -14,7 +14,6 @@ declare const _default: {
14
14
  copy: string;
15
15
  cut: string;
16
16
  unsafeEnvTips: string;
17
- limitedEnvTips: string;
18
17
  };
19
18
  };
20
19
  export default _default;
package/dist/types.d.ts CHANGED
@@ -13,7 +13,6 @@ import { TemplateOptions } from '../@ones-editor/templates';
13
13
  import { FindDialogOptions, PopoverOptions } from '../@ones-editor/ui-base';
14
14
  import { CodeBlockExternalOptions } from '../@ones-editor/code-block';
15
15
  import { MentionOptions } from '../@ones-editor/mention';
16
- import { MathjaxOptions } from '../@ones-editor/mathjax';
17
16
  export interface RemoteCaretsOptions {
18
17
  onUserChanged?: (editor: OnesEditor, users: OnesEditorUser[]) => void;
19
18
  }
@@ -37,7 +36,6 @@ export type EditorComponentOptions = {
37
36
  findDialog?: FindDialogOptions;
38
37
  file?: FileOptions;
39
38
  code?: CodeBlockExternalOptions;
40
- mathjax?: MathjaxOptions;
41
39
  };
42
40
  export type EditorEvents = {
43
41
  onClickLink?: (editor: OnesEditor, event: MouseEvent, link: Element) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ones-editor/editor",
3
- "version": "1.1.8-beta.12",
3
+ "version": "1.1.8-beta.13",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -1,10 +0,0 @@
1
- import { OnesEditor } from '../../types';
2
- import { DocBlockText } from '../../doc';
3
- export interface FindTextRange {
4
- start: number;
5
- end: number;
6
- }
7
- export declare function findAllText(editor: OnesEditor, text: DocBlockText, find: string, ignoreBox?: boolean): FindTextRange[];
8
- export declare function replaceAllText(editor: OnesEditor, text: DocBlockText, find: string, replaceWith: string, replaceResult?: {
9
- count: number;
10
- }): DocBlockText;
@@ -1,3 +0,0 @@
1
- import { OnesEditor } from '../../../../@ones-editor/core';
2
- export declare function getCollapsedHeading(editor: OnesEditor, blockId: string): boolean | undefined;
3
- export declare function setCollapsedHeading(editor: OnesEditor, blockId: string, collapsed: boolean): void;