jvs-draw 1.0.6 → 1.0.7

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
@@ -42,7 +42,7 @@ import jvsPickerColorV3 from 'jvs-picker-color-v3';
42
42
  import 'jvs-picker-color-v3/lib/jvs-picker-color-v3.css';
43
43
 
44
44
  // 引入 jvs-draw 的样式
45
- import 'jvs-draw/style.css';
45
+ import 'jvs-draw/jvs-draw.css';
46
46
 
47
47
  const app = createApp(App);
48
48
 
package/dist/App.vue.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import { JvsDrawConfig } from './config';
1
2
  declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
3
  initialData: {
3
4
  type: ObjectConstructor;
@@ -13,6 +14,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
13
14
  appState: any;
14
15
  };
15
16
  setCanvasData: (data: any) => void;
17
+ setConfig: (config: Partial<JvsDrawConfig>) => void;
16
18
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
17
19
  initialData: {
18
20
  type: ObjectConstructor;