visio-angular-viewer 0.5.3 → 0.5.4
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/NOTICE +1 -1
- package/README.md +5 -5
- package/dist/index.js +3 -7487
- package/dist/types/packages/bindings/src/angular.d.ts +5 -5
- package/dist/types/packages/bindings/src/common.d.ts +8 -8
- package/dist/types/src/index.d.ts +1 -14
- package/package.json +10 -7
- package/dist/assets/edit-worker-CZbtTOr4.js +0 -56328
- package/dist/assets/parse-worker-BEaLqUCJ.js +0 -61176
- package/dist/types/src/arrowheads.d.ts +0 -3
- package/dist/types/src/backstage.d.ts +0 -15
- package/dist/types/src/binding.d.ts +0 -27
- package/dist/types/src/contract.d.ts +0 -32
- package/dist/types/src/controller.d.ts +0 -71
- package/dist/types/src/demo-document.d.ts +0 -3
- package/dist/types/src/diagnostics.d.ts +0 -9
- package/dist/types/src/document-history.d.ts +0 -42
- package/dist/types/src/document-text-search.d.ts +0 -44
- package/dist/types/src/edit-commands.d.ts +0 -3
- package/dist/types/src/edit-error.d.ts +0 -4
- package/dist/types/src/edit-worker.d.ts +0 -1
- package/dist/types/src/export-svg.d.ts +0 -25
- package/dist/types/src/foreign-vector-budget.d.ts +0 -24
- package/dist/types/src/office-ui.d.ts +0 -2
- package/dist/types/src/paragraph-layout.d.ts +0 -18
- package/dist/types/src/parse-worker.d.ts +0 -1
- package/dist/types/src/print-snapshot.d.ts +0 -87
- package/dist/types/src/render-fill.d.ts +0 -2
- package/dist/types/src/render-foreign-vector-shape.d.ts +0 -4
- package/dist/types/src/render-foreign-vector.d.ts +0 -3
- package/dist/types/src/render-image.d.ts +0 -4
- package/dist/types/src/render-resources.d.ts +0 -10
- package/dist/types/src/render-svg.d.ts +0 -17
- package/dist/types/src/render-text.d.ts +0 -4
- package/dist/types/src/ribbon-action.d.ts +0 -41
- package/dist/types/src/ribbon-home-format.d.ts +0 -2
- package/dist/types/src/ribbon-home.d.ts +0 -6
- package/dist/types/src/ribbon-keytips.d.ts +0 -2
- package/dist/types/src/ribbon-other-tabs.d.ts +0 -12
- package/dist/types/src/ribbon-parts.d.ts +0 -60
- package/dist/types/src/ribbon-router.d.ts +0 -19
- package/dist/types/src/ribbon-view.d.ts +0 -5
- package/dist/types/src/ribbon.d.ts +0 -13
- package/dist/types/src/scene-details.d.ts +0 -7
- package/dist/types/src/scene-validation.d.ts +0 -4
- package/dist/types/src/shape-inspector.d.ts +0 -5
- package/dist/types/src/shapes-window.d.ts +0 -28
- package/dist/types/src/snapshot-scene.d.ts +0 -8
- package/dist/types/src/status-bar.d.ts +0 -10
- package/dist/types/src/styles/index.d.ts +0 -5
- package/dist/types/src/styles.d.ts +0 -2
- package/dist/types/src/text-layout.d.ts +0 -45
- package/dist/types/src/viewer-backstage.d.ts +0 -33
- package/dist/types/src/viewer-canvas.d.ts +0 -21
- package/dist/types/src/viewer-chrome.d.ts +0 -22
- package/dist/types/src/viewer-commands.d.ts +0 -34
- package/dist/types/src/viewer-context-menu.d.ts +0 -8
- package/dist/types/src/viewer-draw-tool.d.ts +0 -33
- package/dist/types/src/viewer-edit-controls.d.ts +0 -12
- package/dist/types/src/viewer-element.d.ts +0 -51
- package/dist/types/src/viewer-fit.d.ts +0 -6
- package/dist/types/src/viewer-geometry-controls.d.ts +0 -14
- package/dist/types/src/viewer-input.d.ts +0 -10
- package/dist/types/src/viewer-layer-controls.d.ts +0 -5
- package/dist/types/src/viewer-layers.d.ts +0 -22
- package/dist/types/src/viewer-options.d.ts +0 -22
- package/dist/types/src/viewer-pan-zoom.d.ts +0 -19
- package/dist/types/src/viewer-ruler.d.ts +0 -13
- package/dist/types/src/viewer-search.d.ts +0 -18
- package/dist/types/src/viewer-share.d.ts +0 -20
- package/dist/types/src/viewer-stencil.d.ts +0 -6
- package/dist/types/src/viewer-tell-me.d.ts +0 -4
- package/dist/types/src/worker-editor.d.ts +0 -23
- package/dist/types/src/worker-parser.d.ts +0 -13
|
@@ -33,19 +33,19 @@ export declare class VisioViewerComponent implements AfterViewInit, OnChanges, O
|
|
|
33
33
|
ngAfterViewInit(): void;
|
|
34
34
|
ngOnChanges(): void;
|
|
35
35
|
ngOnDestroy(): void;
|
|
36
|
-
get element(): import("
|
|
37
|
-
get controller(): import("
|
|
36
|
+
get element(): import("ooxml-ui/visio").VisioViewerElement;
|
|
37
|
+
get controller(): import("ooxml-ui/visio").ViewerController;
|
|
38
38
|
load(source: VsdxSource): Promise<void>;
|
|
39
39
|
applyEdits(edits: readonly VisioEdit[]): Promise<void>;
|
|
40
40
|
replacePlainText(pageId: string, shapeId: string, text: string): Promise<void>;
|
|
41
41
|
undo(): Promise<void>;
|
|
42
42
|
redo(): Promise<void>;
|
|
43
43
|
cancelEdit(): void;
|
|
44
|
-
exportVsdx(): import("
|
|
44
|
+
exportVsdx(): import("ooxml-ui/visio").VsdxExportResult;
|
|
45
45
|
fit(): void;
|
|
46
46
|
setLayerVisibility(pageId: string, layerId: string, visible: boolean | null): void;
|
|
47
47
|
resetLayerVisibility(pageId?: string): void;
|
|
48
|
-
exportSvg(options?: SvgExportOptions): import("
|
|
49
|
-
createPrintSnapshot(options?: CurrentPagePrintSnapshotOptions): import("
|
|
48
|
+
exportSvg(options?: SvgExportOptions): import("ooxml-ui/visio").SvgExportResult;
|
|
49
|
+
createPrintSnapshot(options?: CurrentPagePrintSnapshotOptions): import("ooxml-ui/visio").PrintSnapshot;
|
|
50
50
|
}
|
|
51
51
|
export type { ViewerState, ViewerHandle, ViewerCallbacks, ViewerOptions, ViewerEvents, ViewerEditState, VsdxExportResult, } from './common.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { mountViewer, type MountedViewer } from '
|
|
2
|
-
import type { ViewerState } from '
|
|
3
|
-
import { eventKeys, propertyKeys, type ViewerCallbacks, type ViewerOptions, type ViewerProperties } from '
|
|
1
|
+
import { mountViewer, type MountedViewer } from 'ooxml-ui/visio';
|
|
2
|
+
import type { ViewerState } from 'ooxml-ui/visio';
|
|
3
|
+
import { eventKeys, propertyKeys, type ViewerCallbacks, type ViewerOptions, type ViewerProperties } from 'ooxml-ui/visio';
|
|
4
4
|
/** Framework props permit undefined; omitted values preserve the shared binding's state. */
|
|
5
5
|
export type ViewerProps = {
|
|
6
6
|
[K in keyof ViewerProperties]?: ViewerProperties[K] | undefined;
|
|
@@ -32,9 +32,9 @@ export declare function withEventEmitter(props: ViewerProps, emit: (name: keyof
|
|
|
32
32
|
export { mountViewer };
|
|
33
33
|
export type { MountedViewer, ViewerCallbacks, ViewerOptions, ViewerProperties };
|
|
34
34
|
export { eventKeys, propertyKeys };
|
|
35
|
-
export type { ViewerEvents, VsdxSource } from '
|
|
36
|
-
export { ViewerController, type ViewerState } from '
|
|
37
|
-
export type { SvgExportOptions, SvgExportResult } from '
|
|
38
|
-
export type { CurrentPagePrintSnapshotOptions, PrintSnapshot, PrintSnapshotPage, PrintSnapshotOptions, PrintSnapshotLimits, PrintSnapshotUsage, } from '
|
|
39
|
-
export type { ViewerEditState, VsdxExportResult } from '
|
|
35
|
+
export type { ViewerEvents, VsdxSource } from 'ooxml-ui/visio';
|
|
36
|
+
export { ViewerController, type ViewerState } from 'ooxml-ui/visio';
|
|
37
|
+
export type { SvgExportOptions, SvgExportResult } from 'ooxml-ui/visio';
|
|
38
|
+
export type { CurrentPagePrintSnapshotOptions, PrintSnapshot, PrintSnapshotPage, PrintSnapshotOptions, PrintSnapshotLimits, PrintSnapshotUsage, } from 'ooxml-ui/visio';
|
|
39
|
+
export type { ViewerEditState, VsdxExportResult } from 'ooxml-ui/visio';
|
|
40
40
|
export type { VisioEdit, VisioGeometryEdit } from 'ooxml-core/visio';
|
|
@@ -1,14 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
export { mountViewer, type MountedViewer } from './binding.js';
|
|
3
|
-
export { VisioViewerElement, registerVisioViewer } from './viewer-element.js';
|
|
4
|
-
export { renderPage, type RenderResult, type RenderOptions } from './render-svg.js';
|
|
5
|
-
export { exportPageSvg, MAX_SVG_EXPORT_BYTES, type SvgExportOptions, type SvgExportResult, } from './export-svg.js';
|
|
6
|
-
export { createPrintSnapshot, PRINT_SNAPSHOT_LIMITS, type PrintSnapshot, type PrintSnapshotPage, type PrintSnapshotOptions, type PrintSnapshotLimits, type PrintSnapshotUsage, type CurrentPagePrintSnapshotOptions, } from './print-snapshot.js';
|
|
7
|
-
export { eventKeys, propertyKeys, type ViewerProperties, type ViewerEvents, type ViewerCallbacks, type ViewerOptions, type VsdxSource, } from './contract.js';
|
|
8
|
-
export type { VisioDocument, VisioPage, VisioShape, VisioDiagnostic } from 'ooxml-core/visio';
|
|
9
|
-
export { createWorkerParser, type CancellableParser } from './worker-parser.js';
|
|
10
|
-
export { compatibilityNotes, compatibilityText, type CompatibilityNote } from './diagnostics.js';
|
|
11
|
-
export { TEXT_SEARCH_LIMITS, type TextSearchResult, type TextSearchState, } from './document-text-search.js';
|
|
12
|
-
export { VIEWER_LAYER_LIMITS, type LayerVisibilityOverride } from './viewer-layers.js';
|
|
13
|
-
export type { ViewerEditState, VsdxExportResult } from './document-history.js';
|
|
14
|
-
export type { VisioEdit, VisioGeometryEdit } from 'ooxml-core/visio';
|
|
1
|
+
export * from 'ooxml-ui/visio';
|
package/package.json
CHANGED
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "visio-angular-viewer",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.4",
|
|
4
4
|
"description": "Local-first Visio viewer for angular",
|
|
5
|
-
"homepage": "https://christophervr.github.io/visio-viewer/",
|
|
6
5
|
"license": "Apache-2.0",
|
|
7
6
|
"author": "ChristopherVR",
|
|
7
|
+
"homepage": "https://christophervr.github.io/ooxml/visio/",
|
|
8
|
+
"bugs": {
|
|
9
|
+
"url": "https://github.com/ChristopherVR/ooxml/issues"
|
|
10
|
+
},
|
|
8
11
|
"repository": {
|
|
9
12
|
"type": "git",
|
|
10
|
-
"url": "git+https://github.com/ChristopherVR/
|
|
11
|
-
"directory": "packages/angular"
|
|
13
|
+
"url": "git+https://github.com/ChristopherVR/ooxml.git",
|
|
14
|
+
"directory": "viewers/visio/packages/angular"
|
|
12
15
|
},
|
|
13
16
|
"files": [
|
|
14
17
|
"dist",
|
|
@@ -28,9 +31,9 @@
|
|
|
28
31
|
},
|
|
29
32
|
"dependencies": {
|
|
30
33
|
"emf-converter": "4.8.9",
|
|
31
|
-
"ooxml-core": "^0.
|
|
32
|
-
"ooxml-ui": "^0.
|
|
33
|
-
"visio-core": "^0.3.
|
|
34
|
+
"ooxml-core": "^0.21.0",
|
|
35
|
+
"ooxml-ui": "^0.29.1",
|
|
36
|
+
"visio-core": "^0.3.2"
|
|
34
37
|
},
|
|
35
38
|
"peerDependencies": {
|
|
36
39
|
"@angular/core": "^21.0.0"
|