visio-svelte-viewer 0.7.0 → 0.7.1
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/VisioViewer.svelte +3 -3
- package/dist/index.js +6 -6
- package/dist/index.server.js +6 -6
- package/package.json +3 -3
package/dist/VisioViewer.svelte
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
export function getState() { return readonly(state); }
|
|
25
25
|
export function getHandle() { return handle; }
|
|
26
26
|
export function load(source: VsdxSource) { return handle.load(source); }
|
|
27
|
-
export function createBlankDrawing(
|
|
27
|
+
export function createBlankDrawing(blankOptions?: CreateVsdxOptions) { return handle.createBlankDrawing(blankOptions); }
|
|
28
28
|
export function applyEdits(edits: readonly VisioEdit[]) { return handle.applyEdits(edits); }
|
|
29
29
|
export function selectShapes(shapes: readonly VisioShapeSelection[]) { handle.selectShapes(shapes); }
|
|
30
30
|
export function selectAll() { handle.selectAll(); }
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
export function fit() { handle.fit(); }
|
|
42
42
|
export function setLayerVisibility(pageId: string, layerId: string, visible: boolean | null) { handle.setLayerVisibility(pageId, layerId, visible); }
|
|
43
43
|
export function resetLayerVisibility(pageId?: string) { handle.resetLayerVisibility(pageId); }
|
|
44
|
-
export function exportSvg(
|
|
45
|
-
export function createPrintSnapshot(
|
|
44
|
+
export function exportSvg(svgOptions?: SvgExportOptions) { return handle.exportSvg(svgOptions); }
|
|
45
|
+
export function createPrintSnapshot(printOptions?: CurrentPagePrintSnapshotOptions) { return handle.createPrintSnapshot(printOptions); }
|
|
46
46
|
</script>
|
|
47
47
|
<div class={className} {style} aria-label={ariaLabel} use:attach={options}></div>
|
package/dist/index.js
CHANGED
|
@@ -188,8 +188,8 @@ function VisioViewer($$anchor, $$props) {
|
|
|
188
188
|
function load(source) {
|
|
189
189
|
return handle.load(source);
|
|
190
190
|
}
|
|
191
|
-
function createBlankDrawing(
|
|
192
|
-
return handle.createBlankDrawing(
|
|
191
|
+
function createBlankDrawing(blankOptions) {
|
|
192
|
+
return handle.createBlankDrawing(blankOptions);
|
|
193
193
|
}
|
|
194
194
|
function applyEdits(edits) {
|
|
195
195
|
return handle.applyEdits(edits);
|
|
@@ -239,11 +239,11 @@ function VisioViewer($$anchor, $$props) {
|
|
|
239
239
|
function resetLayerVisibility(pageId) {
|
|
240
240
|
handle.resetLayerVisibility(pageId);
|
|
241
241
|
}
|
|
242
|
-
function exportSvg(
|
|
243
|
-
return handle.exportSvg(
|
|
242
|
+
function exportSvg(svgOptions) {
|
|
243
|
+
return handle.exportSvg(svgOptions);
|
|
244
244
|
}
|
|
245
|
-
function createPrintSnapshot(
|
|
246
|
-
return handle.createPrintSnapshot(
|
|
245
|
+
function createPrintSnapshot(printOptions) {
|
|
246
|
+
return handle.createPrintSnapshot(printOptions);
|
|
247
247
|
}
|
|
248
248
|
var $$exports = {
|
|
249
249
|
getState,
|
package/dist/index.server.js
CHANGED
|
@@ -106,8 +106,8 @@ function VisioViewer($$renderer, $$props) {
|
|
|
106
106
|
function load(source) {
|
|
107
107
|
return handle.load(source);
|
|
108
108
|
}
|
|
109
|
-
function createBlankDrawing(
|
|
110
|
-
return handle.createBlankDrawing(
|
|
109
|
+
function createBlankDrawing(blankOptions) {
|
|
110
|
+
return handle.createBlankDrawing(blankOptions);
|
|
111
111
|
}
|
|
112
112
|
function applyEdits(edits) {
|
|
113
113
|
return handle.applyEdits(edits);
|
|
@@ -157,11 +157,11 @@ function VisioViewer($$renderer, $$props) {
|
|
|
157
157
|
function resetLayerVisibility(pageId) {
|
|
158
158
|
handle.resetLayerVisibility(pageId);
|
|
159
159
|
}
|
|
160
|
-
function exportSvg(
|
|
161
|
-
return handle.exportSvg(
|
|
160
|
+
function exportSvg(svgOptions) {
|
|
161
|
+
return handle.exportSvg(svgOptions);
|
|
162
162
|
}
|
|
163
|
-
function createPrintSnapshot(
|
|
164
|
-
return handle.createPrintSnapshot(
|
|
163
|
+
function createPrintSnapshot(printOptions) {
|
|
164
|
+
return handle.createPrintSnapshot(printOptions);
|
|
165
165
|
}
|
|
166
166
|
$$renderer.push(`<div${$.attr_class($.clsx(className))}${$.attr_style(style)}${$.attr("aria-label", ariaLabel)}></div>`);
|
|
167
167
|
$.bind_props($$props, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "visio-svelte-viewer",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.1",
|
|
4
4
|
"description": "Local-first Visio viewer for svelte",
|
|
5
5
|
"homepage": "https://christophervr.github.io/ooxml/visio/",
|
|
6
6
|
"bugs": {
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"emf-converter": "4.11.2",
|
|
41
|
-
"ooxml-core": "^1.8.
|
|
42
|
-
"ooxml-ui": "^1.8.
|
|
41
|
+
"ooxml-core": "^1.8.2",
|
|
42
|
+
"ooxml-ui": "^1.8.3",
|
|
43
43
|
"visio-core": "^0.4.1"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|