@ones-editor/editor 2.9.8-beta.7 → 2.9.8-beta.71

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 (52) hide show
  1. package/@ones-editor/cke-html/package.json +7 -0
  2. package/@ones-editor/cke-html/src/html/cke-html.d.ts +4 -0
  3. package/@ones-editor/cke-html/src/html/combine-html.d.ts +2 -0
  4. package/@ones-editor/cke-html/src/html/comment.d.ts +6 -0
  5. package/@ones-editor/cke-html/src/html/converter.d.ts +7 -0
  6. package/@ones-editor/cke-html/src/html/data-helper/link-data.d.ts +0 -0
  7. package/@ones-editor/cke-html/src/html/image.d.ts +4 -0
  8. package/@ones-editor/cke-html/src/html/link.d.ts +2 -0
  9. package/@ones-editor/cke-html/src/html/markdown.d.ts +2 -0
  10. package/@ones-editor/cke-html/src/html/mention.d.ts +4 -0
  11. package/@ones-editor/cke-html/src/index.d.ts +2 -0
  12. package/@ones-editor/context-menu/src/helper/command-items.d.ts +3 -1
  13. package/@ones-editor/context-menu/src/menu/index.d.ts +1 -0
  14. package/@ones-editor/core/src/core/composition/editor-input.d.ts +1 -0
  15. package/@ones-editor/core/src/core/doc/doc.d.ts +1 -0
  16. package/@ones-editor/core/src/core/editor-doc/editor-doc.d.ts +1 -0
  17. package/@ones-editor/core/src/core/selection/actions/index.d.ts +2 -2
  18. package/@ones-editor/core/src/core/selection/actions/select-all.d.ts +1 -0
  19. package/@ones-editor/core/src/core/types.d.ts +3 -0
  20. package/@ones-editor/core/src/local-doc/index.d.ts +1 -0
  21. package/@ones-editor/file/src/file-embed/card/index.d.ts +6 -2
  22. package/@ones-editor/file/src/index.d.ts +2 -1
  23. package/@ones-editor/file/src/locale/en-us.d.ts +2 -0
  24. package/@ones-editor/file/src/locale/ja-jp.d.ts +2 -0
  25. package/@ones-editor/file/src/locale/zh-cn.d.ts +2 -0
  26. package/@ones-editor/file/src/locale/zh-hant-hk.d.ts +2 -0
  27. package/@ones-editor/file/src/types.d.ts +1 -0
  28. package/@ones-editor/find-dialog/src/highlights/highlight-dom.d.ts +2 -0
  29. package/@ones-editor/graph-embed/src/helper/graph-dom/code-editor.d.ts +1 -0
  30. package/@ones-editor/html-to-doc/src/html-to-doc/normal-html/super-script.d.ts +1 -0
  31. package/@ones-editor/list-block/src/index.d.ts +2 -0
  32. package/@ones-editor/main-toolbar/src/items/file.d.ts +3 -1
  33. package/@ones-editor/main-toolbar/src/items/index.d.ts +2 -1
  34. package/@ones-editor/main-toolbar/src/items/insert.d.ts +3 -0
  35. package/@ones-editor/main-toolbar/src/items/paragraph.d.ts +2 -1
  36. package/@ones-editor/server-tools/src/index.d.ts +4 -1
  37. package/@ones-editor/sharedb-doc/src/doc/sharedb-doc.d.ts +2 -0
  38. package/@ones-editor/tsconfig.tsbuildinfo +1 -1
  39. package/@ones-editor/ui/src/providers/list.d.ts +1 -1
  40. package/@ones-editor/ui/src/quick-menu/index.d.ts +3 -3
  41. package/@ones-editor/ui/src/toolbar/toolbar-handler.d.ts +1 -0
  42. package/@ones-editor/ui-base/src/command-bar/command-bar.d.ts +2 -1
  43. package/@ones-editor/ui-base/src/command-bar/fixed-toolbar.d.ts +1 -0
  44. package/@ones-editor/ui-base/src/command-bar/manual-command-bar.d.ts +7 -3
  45. package/@ones-editor/ui-base/src/command-bar/types.d.ts +7 -1
  46. package/@ones-editor/ui-base/src/icons/index.d.ts +2 -1
  47. package/@ones-editor/versions/src/history-doc/history-doc.d.ts +3 -1
  48. package/@ones-editor/versions/src/version-dialog/index.d.ts +2 -1
  49. package/dist/index.d.ts +3 -0
  50. package/dist/index.js +2602 -1665
  51. package/dist/types.d.ts +2 -0
  52. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -75,6 +75,7 @@ export interface CreateOnesEditorOptions {
75
75
  applyContentPlaceholder?: (editor: OnesEditor) => boolean;
76
76
  };
77
77
  onReauth?: (userId: string, docId: string, permission: OnesEditorUserPermission) => Promise<string>;
78
+ dateTimeFormatter?: (v: Date, source?: string) => string;
78
79
  user: {
79
80
  userId: string;
80
81
  displayName: string;
@@ -135,4 +136,5 @@ export interface CreateLocalEditorOptions {
135
136
  componentsOptions?: EditorComponentOptions;
136
137
  hideTitle?: boolean;
137
138
  autoNewLine?: boolean;
139
+ dateTimeFormatter?: (v: Date, source?: string) => string;
138
140
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ones-editor/editor",
3
- "version": "2.9.8-beta.7",
3
+ "version": "2.9.8-beta.71",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "dependencies": {