index.d.ts 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. export declare const Signature: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
  2. tips: StringConstructor;
  3. type: {
  4. type: import("vue").PropType<string>;
  5. default: string;
  6. };
  7. penColor: {
  8. type: import("vue").PropType<string>;
  9. default: string;
  10. };
  11. lineWidth: {
  12. type: NumberConstructor;
  13. default: number;
  14. };
  15. clearButtonText: StringConstructor;
  16. backgroundColor: {
  17. type: import("vue").PropType<string>;
  18. default: string;
  19. };
  20. confirmButtonText: StringConstructor;
  21. }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("submit" | "clear" | "start" | "end" | "signing")[], "submit" | "clear" | "start" | "end" | "signing", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
  22. tips: StringConstructor;
  23. type: {
  24. type: import("vue").PropType<string>;
  25. default: string;
  26. };
  27. penColor: {
  28. type: import("vue").PropType<string>;
  29. default: string;
  30. };
  31. lineWidth: {
  32. type: NumberConstructor;
  33. default: number;
  34. };
  35. clearButtonText: StringConstructor;
  36. backgroundColor: {
  37. type: import("vue").PropType<string>;
  38. default: string;
  39. };
  40. confirmButtonText: StringConstructor;
  41. }>> & Readonly<{
  42. onSubmit?: ((...args: any[]) => any) | undefined;
  43. onClear?: ((...args: any[]) => any) | undefined;
  44. onStart?: ((...args: any[]) => any) | undefined;
  45. onEnd?: ((...args: any[]) => any) | undefined;
  46. onSigning?: ((...args: any[]) => any) | undefined;
  47. }>, {
  48. type: string;
  49. backgroundColor: string;
  50. lineWidth: number;
  51. penColor: string;
  52. }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
  53. export default Signature;
  54. export type { SignatureProps } from './Signature';
  55. export type { SignatureInstance, SignatureThemeVars } from './types';
  56. declare module 'vue' {
  57. interface GlobalComponents {
  58. Signature: typeof Signature;
  59. }
  60. }