@deot/vc 1.0.51 → 1.0.53

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/dist/index.cjs CHANGED
@@ -79,8 +79,8 @@ const Components = {
79
79
  MFormItem: vcComponents.MFormItem,
80
80
  Fragment: vcComponents.Fragment,
81
81
  MFragment: vcComponents.MFragment,
82
- HTMLToImage: vcComponents.HTMLToImage,
83
- MHTMLToImage: vcComponents.MHTMLToImage,
82
+ Snapshot: vcComponents.Snapshot,
83
+ MSnapshot: vcComponents.MSnapshot,
84
84
  Icon: vcComponents.Icon,
85
85
  MIcon: vcComponents.MIcon,
86
86
  Image: vcComponents.Image,
package/dist/index.d.ts CHANGED
@@ -4102,31 +4102,83 @@ export declare const Components: {
4102
4102
  MFragment: DefineComponent< {}, () => VNode<RendererNode, RendererElement, {
4103
4103
  [key: string]: any;
4104
4104
  }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
4105
- HTMLToImage: DefineComponent<ExtractPropTypes< {
4105
+ Snapshot: DefineComponent<ExtractPropTypes< {
4106
4106
  tag: {
4107
4107
  type: StringConstructor;
4108
4108
  default: string;
4109
4109
  };
4110
- }>, () => JSX_2.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
4110
+ crossOrigin: {
4111
+ type: StringConstructor;
4112
+ default: string;
4113
+ validator: (v: any) => boolean;
4114
+ };
4115
+ source: FunctionConstructor;
4116
+ download: FunctionConstructor;
4117
+ options: {
4118
+ type: ObjectConstructor;
4119
+ default: () => {};
4120
+ };
4121
+ }>, () => JSX_2.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "ready"[], "ready", PublicProps, Readonly<ExtractPropTypes< {
4111
4122
  tag: {
4112
4123
  type: StringConstructor;
4113
4124
  default: string;
4114
4125
  };
4115
- }>> & Readonly<{}>, {
4126
+ crossOrigin: {
4127
+ type: StringConstructor;
4128
+ default: string;
4129
+ validator: (v: any) => boolean;
4130
+ };
4131
+ source: FunctionConstructor;
4132
+ download: FunctionConstructor;
4133
+ options: {
4134
+ type: ObjectConstructor;
4135
+ default: () => {};
4136
+ };
4137
+ }>> & Readonly<{
4138
+ onReady?: ((...args: any[]) => any) | undefined;
4139
+ }>, {
4116
4140
  tag: string;
4141
+ options: Record<string, any>;
4142
+ crossOrigin: string;
4117
4143
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
4118
- MHTMLToImage: DefineComponent<ExtractPropTypes< {
4144
+ MSnapshot: DefineComponent<ExtractPropTypes< {
4119
4145
  tag: {
4120
4146
  type: StringConstructor;
4121
4147
  default: string;
4122
4148
  };
4123
- }>, () => JSX_2.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
4149
+ crossOrigin: {
4150
+ type: StringConstructor;
4151
+ default: string;
4152
+ validator: (v: any) => boolean;
4153
+ };
4154
+ source: FunctionConstructor;
4155
+ download: FunctionConstructor;
4156
+ options: {
4157
+ type: ObjectConstructor;
4158
+ default: () => {};
4159
+ };
4160
+ }>, () => JSX_2.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "ready"[], "ready", PublicProps, Readonly<ExtractPropTypes< {
4124
4161
  tag: {
4125
4162
  type: StringConstructor;
4126
4163
  default: string;
4127
4164
  };
4128
- }>> & Readonly<{}>, {
4165
+ crossOrigin: {
4166
+ type: StringConstructor;
4167
+ default: string;
4168
+ validator: (v: any) => boolean;
4169
+ };
4170
+ source: FunctionConstructor;
4171
+ download: FunctionConstructor;
4172
+ options: {
4173
+ type: ObjectConstructor;
4174
+ default: () => {};
4175
+ };
4176
+ }>> & Readonly<{
4177
+ onReady?: ((...args: any[]) => any) | undefined;
4178
+ }>, {
4129
4179
  tag: string;
4180
+ options: Record<string, any>;
4181
+ crossOrigin: string;
4130
4182
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
4131
4183
  Icon: DefineComponent<ExtractPropTypes< {
4132
4184
  type: StringConstructor;