oasis-editor 0.0.115 → 0.0.117

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 (50) hide show
  1. package/dist/{OasisEditorApp-C1dyjJoH.js → OasisEditorApp-DijR5F-O.js} +2183 -907
  2. package/dist/adapters/react.d.ts +11 -0
  3. package/dist/adapters/ui.d.ts +2 -0
  4. package/dist/adapters/vue.d.ts +23 -0
  5. package/dist/assets/{importDocxWorker-D0F0jbcF.js → importDocxWorker-nIS-zjkj.js} +1 -1
  6. package/dist/core/html/inlineImageParser.d.ts +7 -0
  7. package/dist/core/layoutConstants.d.ts +18 -0
  8. package/dist/{index-Cq3YFYX2.js → index-Comlrue1.js} +779 -738
  9. package/dist/layoutProjection/blocksPaginationTypes.d.ts +2 -0
  10. package/dist/layoutProjection/constants.d.ts +7 -1
  11. package/dist/layoutProjection/footnotePagination.d.ts +0 -1
  12. package/dist/layoutProjection/headerFooterLayoutContext.d.ts +2 -0
  13. package/dist/layoutProjection/paginationTrack.d.ts +2 -0
  14. package/dist/layoutProjection/paragraphPagination.d.ts +8 -3
  15. package/dist/layoutProjection/sectionPagination.d.ts +3 -0
  16. package/dist/layoutProjection/tableRowSlicing.d.ts +2 -1
  17. package/dist/oasis-editor.css +1 -1
  18. package/dist/oasis-editor.js +55 -55
  19. package/dist/oasis-editor.umd.cjs +4 -4
  20. package/dist/react.d.ts +7 -8
  21. package/dist/react.js +18 -22
  22. package/dist/ui/canvas/table/prepareCells.d.ts +1 -1
  23. package/dist/ui/canvas/table/resolveRowHeights.d.ts +1 -1
  24. package/dist/ui/components/Dialogs/TablePropertiesDialog.d.ts +2 -99
  25. package/dist/ui/components/Dialogs/font-dialog/FontTab.d.ts +2 -1
  26. package/dist/ui/components/Dialogs/table-properties/AltTextTabPanel.d.ts +3 -0
  27. package/dist/ui/components/Dialogs/table-properties/CellTabPanel.d.ts +3 -0
  28. package/dist/ui/components/Dialogs/table-properties/ColumnTabPanel.d.ts +3 -0
  29. package/dist/ui/components/Dialogs/table-properties/RowTabPanel.d.ts +3 -0
  30. package/dist/ui/components/Dialogs/table-properties/TablePropertiesController.d.ts +12 -0
  31. package/dist/ui/components/Dialogs/table-properties/TablePropertiesTypes.d.ts +160 -0
  32. package/dist/ui/components/Dialogs/table-properties/TableTabPanel.d.ts +6 -0
  33. package/dist/ui/components/Dialogs/table-properties/fields.d.ts +9 -0
  34. package/dist/ui/components/Dialogs/table-properties/useTablePropertiesController.d.ts +4 -0
  35. package/dist/ui/components/FindReplace/FindReplaceDialog.d.ts +1 -2
  36. package/dist/ui/components/Menubar/Menubar.d.ts +1 -2
  37. package/dist/ui/components/PageBreak.d.ts +1 -1
  38. package/dist/ui/components/Toolbar/primitives/useSurfaceRect.d.ts +20 -0
  39. package/dist/ui/public/FieldRow.d.ts +13 -0
  40. package/dist/ui/public/NumberField.d.ts +13 -0
  41. package/dist/ui/public/Radio.d.ts +38 -0
  42. package/dist/ui/public/ToggleChip.d.ts +14 -0
  43. package/dist/ui/public/index.d.ts +8 -0
  44. package/dist/ui.d.ts +2 -42
  45. package/dist/ui.js +19 -18
  46. package/dist/utils/performanceMetrics.d.ts +0 -6
  47. package/dist/utils/round.d.ts +7 -0
  48. package/dist/vue.d.ts +22 -8
  49. package/dist/vue.js +18 -24
  50. package/package.json +9 -6
@@ -0,0 +1,11 @@
1
+ import { default as React } from 'react';
2
+ import { OasisEditorAppProps, OasisEditorClient } from '../index.ts';
3
+
4
+ export type ReactOasisEditorProps = OasisEditorAppProps & {
5
+ /**
6
+ * Receives the mounted Oasis client. Props are mount-only for this adapter;
7
+ * remount the component to apply a new editor configuration.
8
+ */
9
+ onClient?: (client: OasisEditorClient) => void;
10
+ };
11
+ export declare const OasisEditor: React.FC<ReactOasisEditorProps>;
@@ -0,0 +1,2 @@
1
+ export { Button, Checkbox, ColorPicker, ColorPicker as ToolbarColorPicker, Dialog, DialogFooter, GridPicker, IconButton, Menu, Popover, Select, SelectField, Separator, SplitButton, Tabs, TextField, ToolbarButton, } from '../index.ts';
2
+ export type { ButtonProps, CheckboxProps, ColorPickerKind, ColorPickerProps, DialogFooterProps, DialogProps, GridPickerProps, IconButtonProps, MenuProps, PopoverProps, PopoverTriggerApi, SelectFieldOption, SelectFieldProps, SeparatorProps, SplitButtonProps, TabsItem, TabsProps, TextFieldProps, ToolbarButtonProps, ToolbarSelectProps, } from '../index.ts';
@@ -0,0 +1,23 @@
1
+ import { OasisEditorAppProps, OasisEditorClient } from '../index.ts';
2
+
3
+ export declare const OasisEditor: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
+ config: {
5
+ type: () => OasisEditorAppProps;
6
+ default: () => {};
7
+ };
8
+ class: StringConstructor;
9
+ style: () => string | Record<string, unknown>;
10
+ onClient: () => (client: OasisEditorClient) => void;
11
+ }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
12
+ [key: string]: any;
13
+ }>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
14
+ config: {
15
+ type: () => OasisEditorAppProps;
16
+ default: () => {};
17
+ };
18
+ class: StringConstructor;
19
+ style: () => string | Record<string, unknown>;
20
+ onClient: () => (client: OasisEditorClient) => void;
21
+ }>> & Readonly<{}>, {
22
+ config: OasisEditorAppProps;
23
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;