jvs-draw 1.0.3 → 1.0.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.
@@ -0,0 +1,8 @@
1
+ export interface JvsDrawConfig {
2
+ showToolbar?: boolean;
3
+ showBoardName?: boolean;
4
+ showFooter?: boolean;
5
+ showPropertiesPanel?: boolean;
6
+ }
7
+ export declare const globalConfig: JvsDrawConfig;
8
+ export declare const setConfig: (config: Partial<JvsDrawConfig>) => void;
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  import { default as JvsDraw } from './App.vue';
2
- export { JvsDraw };
2
+ import { setConfig, JvsDrawConfig } from './config';
3
+ export { JvsDraw, setConfig, type JvsDrawConfig };
3
4
  export default JvsDraw;