@ovalbee/flow-viewer 0.0.4 → 0.1.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.
@@ -5,8 +5,9 @@ type __VLS_Props = {
5
5
  icons?: Record<string, Component>;
6
6
  iconUrl?: (name: string) => string;
7
7
  };
8
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
8
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
9
9
  icons: Record<string, Component>;
10
10
  iconUrl: (name: string) => string;
11
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
11
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
12
+ declare const _default: typeof __VLS_export;
12
13
  export default _default;
@@ -1,23 +1,33 @@
1
1
  import { FlowViewerDocument } from './types';
2
2
  type __VLS_Props = {
3
3
  document: FlowViewerDocument;
4
+ /**
5
+ * Vue Flow store id. Must stay unique: `useVueFlow()` in an ancestor provides its
6
+ * store to every descendant, so a nested `<VueFlow>` without an explicit id
7
+ * silently reuses it - the viewer would then pan, zoom and fit the host's graph.
8
+ */
9
+ id?: string;
4
10
  fitViewOnInit?: boolean;
5
11
  showControls?: boolean;
6
12
  showMiniMap?: boolean;
13
+ /** Hover/focus tooltips describing a node. Off for small embedded previews. */
14
+ showNodeDetails?: boolean;
7
15
  panOnScroll?: boolean;
8
16
  minZoom?: number;
9
17
  maxZoom?: number;
10
18
  initialZoom?: number;
11
19
  theme?: 'light' | 'dark';
12
20
  };
13
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
21
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
14
22
  fitViewOnInit: boolean;
15
23
  showControls: boolean;
16
24
  showMiniMap: boolean;
25
+ showNodeDetails: boolean;
17
26
  panOnScroll: boolean;
18
27
  minZoom: number;
19
28
  maxZoom: number;
20
29
  initialZoom: number;
21
30
  theme: "light" | "dark";
22
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
31
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
32
+ declare const _default: typeof __VLS_export;
23
33
  export default _default;
@@ -4,5 +4,6 @@ type FlowViewerNodeData = FlowViewerCatalogNode & {
4
4
  connectedHandles: Set<string>;
5
5
  };
6
6
  type __VLS_Props = NodeProps<FlowViewerNodeData>;
7
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
7
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
8
+ declare const _default: typeof __VLS_export;
8
9
  export default _default;
@@ -1,5 +1,6 @@
1
1
  import { NodeProps } from '@vue-flow/core';
2
2
  import { FlowViewerNote } from './types';
3
3
  type __VLS_Props = NodeProps<FlowViewerNote>;
4
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
4
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
5
+ declare const _default: typeof __VLS_export;
5
6
  export default _default;