@ones-editor/editor 2.8.27 → 2.8.28-beta.11

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 (80) hide show
  1. package/@ones-editor/block-locker/src/i18n/zh-hant-hk.d.ts +8 -0
  2. package/@ones-editor/block-menu/src/locale/zh-hant-hk.d.ts +25 -0
  3. package/@ones-editor/callout-block/src/locale/zh-hant-hk.d.ts +15 -0
  4. package/@ones-editor/code-block/src/locale/zh-hant-hk.d.ts +13 -0
  5. package/@ones-editor/comments/src/comment-item/comment-item.d.ts +1 -0
  6. package/@ones-editor/comments/src/comments/comments.d.ts +5 -1
  7. package/@ones-editor/comments/src/comments-helper/active-comment.d.ts +3 -1
  8. package/@ones-editor/comments/src/comments-helper/get-comment-from-selection.d.ts +3 -0
  9. package/@ones-editor/comments/src/comments-helper/get-comments-from-doc.d.ts +5 -1
  10. package/@ones-editor/comments/src/comments-helper/old-version-comment.d.ts +2 -1
  11. package/@ones-editor/comments/src/comments-list/comments-list.d.ts +14 -2
  12. package/@ones-editor/comments/src/comments-list/group-item.d.ts +2 -0
  13. package/@ones-editor/comments/src/comments-list/group-list.d.ts +8 -2
  14. package/@ones-editor/comments/src/comments-list/handler.d.ts +2 -1
  15. package/@ones-editor/comments/src/comments-list/mini-comment/group-list.d.ts +1 -1
  16. package/@ones-editor/comments/src/comments-list/mini-comment/mini-comments-list.d.ts +1 -0
  17. package/@ones-editor/comments/src/comments-list/mobile-comments-list/mobile-comments-list.d.ts +1 -0
  18. package/@ones-editor/comments/src/comments-render/get-block-comments.d.ts +5 -0
  19. package/@ones-editor/comments/src/comments-render/index.d.ts +10 -1
  20. package/@ones-editor/comments/src/constant/index.d.ts +2 -1
  21. package/@ones-editor/comments/src/index.d.ts +1 -0
  22. package/@ones-editor/comments/src/locale/en-us.d.ts +9 -0
  23. package/@ones-editor/comments/src/locale/ja-jp.d.ts +9 -0
  24. package/@ones-editor/comments/src/locale/zh-cn.d.ts +9 -0
  25. package/@ones-editor/comments/src/locale/zh-hant-hk.d.ts +24 -0
  26. package/@ones-editor/comments/src/resolved-comments/index.d.ts +4 -0
  27. package/@ones-editor/comments/src/resolved-comments/resolved-comment-editor.d.ts +14 -0
  28. package/@ones-editor/comments/src/resolved-comments/resolved-comment-list.d.ts +4 -0
  29. package/@ones-editor/comments/src/types.d.ts +7 -1
  30. package/@ones-editor/context-menu/src/locale/zh-hant-hk.d.ts +14 -0
  31. package/@ones-editor/core/src/core/block-renderers/block-renderers.d.ts +1 -0
  32. package/@ones-editor/core/src/core/composition/editor-input.d.ts +2 -0
  33. package/@ones-editor/core/src/core/doc/doc.d.ts +9 -0
  34. package/@ones-editor/core/src/core/types.d.ts +3 -0
  35. package/@ones-editor/core/src/i18n/i18n.d.ts +21 -1
  36. package/@ones-editor/core/src/i18n/zh-hant-hk.d.ts +21 -0
  37. package/@ones-editor/core/src/local-doc/index.d.ts +1 -0
  38. package/@ones-editor/dividing-line-embed/src/i18n/zh-hant-hk.d.ts +7 -0
  39. package/@ones-editor/drawio-embed/src/lang/zh-hant-hk.d.ts +19 -0
  40. package/@ones-editor/drawio-embed/types/index.d.ts +1 -1
  41. package/@ones-editor/embed-block-helper/src/locale/zh-hant-hk.d.ts +7 -0
  42. package/@ones-editor/exclusive-block/src/locale/zh-hant-hk.d.ts +7 -0
  43. package/@ones-editor/file/src/locale/zh-hant-hk.d.ts +15 -0
  44. package/@ones-editor/find-dialog/src/locale/zh-hant-hk.d.ts +13 -0
  45. package/@ones-editor/graph-embed/src/lang/zh-hant-hk.d.ts +18 -0
  46. package/@ones-editor/heading-collapse/src/locale/zh-hant-hk.d.ts +7 -0
  47. package/@ones-editor/image-embed/src/locale/zh-hant-hk.d.ts +17 -0
  48. package/@ones-editor/input-handlers/src/i18n/zh-hant-hk.d.ts +13 -0
  49. package/@ones-editor/layout-block/src/locale/zh-hant-hk.d.ts +10 -0
  50. package/@ones-editor/list-block/src/lang/zh-hant-hk.d.ts +21 -0
  51. package/@ones-editor/main-toolbar/src/locale/zh-hant-hk.d.ts +15 -0
  52. package/@ones-editor/mathjax/src/locale/zh-hant-hk.d.ts +7 -0
  53. package/@ones-editor/media-embed/src/locale/zh-hant-hk.d.ts +20 -0
  54. package/@ones-editor/mention/src/locale/zh-hant-hk.d.ts +9 -0
  55. package/@ones-editor/misc/src/re-auth/locale/zh-hant-hk.d.ts +7 -0
  56. package/@ones-editor/mobile-helper/src/locale/zh-hant-hk.d.ts +9 -0
  57. package/@ones-editor/paste-special/src/locale/zh-hant-hk.d.ts +8 -0
  58. package/@ones-editor/sharedb-doc/src/doc/comments.d.ts +2 -1
  59. package/@ones-editor/sharedb-doc/src/doc/op-parser/parse-handler.d.ts +2 -1
  60. package/@ones-editor/sharedb-doc/src/doc/sharedb-doc.d.ts +3 -1
  61. package/@ones-editor/sharedb-doc/src/types.d.ts +1 -0
  62. package/@ones-editor/status/src/locale/zh-hant-hk.d.ts +25 -0
  63. package/@ones-editor/table-block/src/locale/zh-hant-hk.d.ts +33 -0
  64. package/@ones-editor/templates/src/locale/zh-hant-hk.d.ts +9 -0
  65. package/@ones-editor/toc/src/locale/zh-hant-hk.d.ts +8 -0
  66. package/@ones-editor/tsconfig.tsbuildinfo +1 -1
  67. package/@ones-editor/ui/src/locale/zh-hant-hk.d.ts +60 -0
  68. package/@ones-editor/ui/src/readonly-toolbar/add-comment-to-old-doc.d.ts +1 -0
  69. package/@ones-editor/ui-base/src/icons/index.d.ts +2 -1
  70. package/@ones-editor/ui-base/src/locale/zh-hant-hk.d.ts +39 -0
  71. package/@ones-editor/versions/src/locale/zh-hant-hk.d.ts +45 -0
  72. package/@ones-editor/versions/src/version-dialog/history-handler.d.ts +1 -0
  73. package/@ones-editor/webpage-embed/src/locale/zh-hant-hk.d.ts +27 -0
  74. package/dist/comments/local-doc-comments-provider.d.ts +2 -1
  75. package/dist/comments/sharedb-doc-comments-provider.d.ts +3 -1
  76. package/dist/index.d.ts +2 -0
  77. package/dist/index.js +1618 -157
  78. package/dist/lang/zh-hant-hk.d.ts +31 -0
  79. package/dist/types.d.ts +2 -0
  80. package/package.json +1 -1
@@ -0,0 +1,31 @@
1
+ declare const _default: {
2
+ placeholder: {
3
+ common: {
4
+ title: string;
5
+ mobileTitle: string;
6
+ readonlyTitle: string;
7
+ content: string;
8
+ contentInContainer: string;
9
+ contentInCallout: string;
10
+ };
11
+ local: {
12
+ readonlyTitle: string;
13
+ };
14
+ };
15
+ copyCutProperty: {
16
+ copy: string;
17
+ cut: string;
18
+ unsafeEnvTips: string;
19
+ limitedEnvTips: string;
20
+ };
21
+ error: {
22
+ retry: string;
23
+ network: string;
24
+ networkPopup: string;
25
+ uploadResourceError: string;
26
+ uploadResourceErrorMessage: string;
27
+ uploadResourcePopup: string;
28
+ uploadResourceNoPopup: string;
29
+ };
30
+ };
31
+ export default _default;
package/dist/types.d.ts CHANGED
@@ -59,6 +59,7 @@ export interface CreateOnesEditorOptions {
59
59
  token: string;
60
60
  disableLogout?: boolean;
61
61
  enableComments?: boolean;
62
+ enableResolveComments?: boolean;
62
63
  enableContextMenu?: boolean;
63
64
  floatingToolbar?: boolean;
64
65
  blockMenuButton?: boolean;
@@ -127,6 +128,7 @@ export interface CreateLocalEditorOptions {
127
128
  };
128
129
  serverUrl?: string;
129
130
  enableComments?: boolean;
131
+ enableResolveComments?: boolean;
130
132
  enableContextMenu?: boolean;
131
133
  events?: EditorEvents;
132
134
  componentsOptions?: EditorComponentOptions;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ones-editor/editor",
3
- "version": "2.8.27",
3
+ "version": "2.8.28-beta.11",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "dependencies": {