visio-solid-viewer 1.1.3 → 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/README.md CHANGED
@@ -102,3 +102,12 @@ Files stay in the browser unless your application sends them elsewhere.
102
102
  ## License
103
103
 
104
104
  Apache-2.0.
105
+
106
+ ## OneDrive integration
107
+
108
+ Use the optional shared `ooxml-core/embedding/onedrive` connection with host-supplied Microsoft
109
+ sign-in. See the [Office package and integration reference](https://github.com/ChristopherVR/ooxml/blob/main/docs/onedrive-integration.md#visio-vsdx)
110
+ for this product's load/save API, native storage wiring, sharing permissions and conflict recovery.
111
+ The [testing guide](https://github.com/ChristopherVR/ooxml/blob/main/docs/onedrive-testing.md)
112
+ separates test-local transports from live Microsoft acceptance. No simulation service is shipped;
113
+ OneDrive storage does not provide Microsoft Office coauthoring or automatic document merging.
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.1.3",
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,10 +31,10 @@
31
31
  "access": "public"
32
32
  },
33
33
  "dependencies": {
34
- "emf-converter": "4.24.0",
35
- "ooxml-core": "^1.37.1",
36
- "ooxml-ui": "^1.39.2",
37
- "visio-core": "^1.0.1"
34
+ "emf-converter": "4.25.3",
35
+ "ooxml-core": "^1.39.0",
36
+ "ooxml-ui": "^1.41.0",
37
+ "visio-core": "^1.1.0"
38
38
  },
39
39
  "peerDependencies": {
40
40
  "solid-js": "^1.9.0"