visio-solid-viewer 1.2.0 → 1.3.0

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.
package/dist/index.js CHANGED
@@ -20,6 +20,7 @@ var VIEWER_CONTRACT = {
20
20
  controller: "get",
21
21
  load: "async",
22
22
  createBlankDrawing: "async",
23
+ openCloudFile: "async",
23
24
  applyEdits: "async",
24
25
  selectShapes: "call",
25
26
  selectAll: "call",
@@ -20,6 +20,7 @@ var VIEWER_CONTRACT = {
20
20
  controller: "get",
21
21
  load: "async",
22
22
  createBlankDrawing: "async",
23
+ openCloudFile: "async",
23
24
  applyEdits: "async",
24
25
  selectShapes: "call",
25
26
  selectAll: "call",
@@ -8,7 +8,7 @@ export type ViewerProps = {
8
8
  } & {
9
9
  events?: ViewerCallbacks | undefined;
10
10
  };
11
- export type ViewerHandle = Pick<MountedViewer, 'element' | 'controller' | 'load' | 'createBlankDrawing' | 'applyEdits' | 'selectShapes' | 'selectAll' | 'clearSelection' | 'duplicateSelection' | 'copySelection' | 'cutSelection' | 'pasteSelection' | 'replacePlainText' | 'undo' | 'redo' | 'cancelEdit' | 'exportVsdx' | 'fit' | 'setLayerVisibility' | 'resetLayerVisibility' | 'exportSvg' | 'createPrintSnapshot'>;
11
+ export type ViewerHandle = Pick<MountedViewer, 'element' | 'controller' | 'load' | 'createBlankDrawing' | 'openCloudFile' | 'applyEdits' | 'selectShapes' | 'selectAll' | 'clearSelection' | 'duplicateSelection' | 'copySelection' | 'cutSelection' | 'pasteSelection' | 'replacePlainText' | 'undo' | 'redo' | 'cancelEdit' | 'exportVsdx' | 'fit' | 'setLayerVisibility' | 'resetLayerVisibility' | 'exportSvg' | 'createPrintSnapshot'>;
12
12
  /**
13
13
  * The Visio binding contract. `mountViewer` (ooxml-ui/visio) forwards properties and events itself,
14
14
  * so every property is `manual` here: `mountFrameworkViewer` sends them as revision-aware patches.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "visio-solid-viewer",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "description": "Local-first Visio viewer for solid",
5
5
  "homepage": "https://christophervr.github.io/ooxml/visio/",
6
6
  "bugs": {
@@ -31,9 +31,9 @@
31
31
  "access": "public"
32
32
  },
33
33
  "dependencies": {
34
- "emf-converter": "4.24.0",
35
- "ooxml-core": "^1.38.0",
36
- "ooxml-ui": "^1.40.0",
34
+ "emf-converter": "4.25.3",
35
+ "ooxml-core": "^1.39.0",
36
+ "ooxml-ui": "^1.41.0",
37
37
  "visio-core": "^1.1.0"
38
38
  },
39
39
  "peerDependencies": {