@component-hook/pdf-canvas 0.1.2 → 0.1.3-alpha.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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @component-hook/pdf-canvas
2
2
 
3
- Rendering PDF documents onto a canvas with vue3 component ([DEMO](https://tzuyi0817.github.io/component-hook/#/pdf-canvas))
3
+ Rendering PDF documents onto a canvas with vue3 component ([DEMO](https://tzuyi0817.github.io/component-hook/#/component/pdf-canvas))
4
4
  Implementation depository: [PDF-signature](https://github.com/tzuyi0817/PDF-signature)
5
5
 
6
6
  <p>
package/dist/index.d.ts CHANGED
@@ -21,7 +21,7 @@ declare type __VLS_Prettify<T> = {
21
21
  [K in keyof T]: T[K];
22
22
  } & {};
23
23
 
24
- declare type __VLS_TypePropsToRuntimeProps<T> = {
24
+ declare type __VLS_TypePropsToOption<T> = {
25
25
  [K in keyof T]-?: {} extends Pick<T, K> ? {
26
26
  type: PropType<__VLS_NonUndefinedable<T[K]>>;
27
27
  } : {
@@ -53,7 +53,7 @@ export declare interface CreateCloseFabricArgs {
53
53
  uuid?: number;
54
54
  }
55
55
 
56
- declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
56
+ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
57
57
  canvasId: string;
58
58
  class: string;
59
59
  canvasClass: string;
@@ -68,7 +68,7 @@ addText: typeof addText;
68
68
  clearActive: () => void;
69
69
  deleteCanvas: () => void;
70
70
  canvasRef: Ref<HTMLCanvasElement | null, HTMLCanvasElement | null>;
71
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
71
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
72
72
  canvasId: string;
73
73
  class: string;
74
74
  canvasClass: string;