Mask.d.ts 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. import type { CSSProperties } from 'vue';
  2. import type { PosInfo } from './hooks/useTarget';
  3. export interface MaskProps {
  4. prefixCls?: string;
  5. pos: PosInfo;
  6. rootClassName?: string;
  7. showMask?: boolean;
  8. style?: CSSProperties;
  9. fill?: string;
  10. open?: boolean;
  11. animated?: boolean | {
  12. placeholder: boolean;
  13. };
  14. zIndex?: number;
  15. }
  16. declare const Mask: import("vue").DefineComponent<{
  17. prefixCls: {
  18. type: StringConstructor;
  19. };
  20. pos: {
  21. type: import("vue").PropType<PosInfo>;
  22. default: PosInfo;
  23. };
  24. rootClassName: {
  25. type: StringConstructor;
  26. };
  27. showMask: {
  28. type: BooleanConstructor;
  29. default: boolean;
  30. };
  31. fill: {
  32. type: StringConstructor;
  33. default: string;
  34. };
  35. open: {
  36. type: BooleanConstructor;
  37. default: boolean;
  38. };
  39. animated: {
  40. type: import("vue").PropType<boolean | {
  41. placeholder: boolean;
  42. }>;
  43. default: boolean | {
  44. placeholder: boolean;
  45. };
  46. };
  47. zIndex: {
  48. type: NumberConstructor;
  49. };
  50. }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
  51. prefixCls: {
  52. type: StringConstructor;
  53. };
  54. pos: {
  55. type: import("vue").PropType<PosInfo>;
  56. default: PosInfo;
  57. };
  58. rootClassName: {
  59. type: StringConstructor;
  60. };
  61. showMask: {
  62. type: BooleanConstructor;
  63. default: boolean;
  64. };
  65. fill: {
  66. type: StringConstructor;
  67. default: string;
  68. };
  69. open: {
  70. type: BooleanConstructor;
  71. default: boolean;
  72. };
  73. animated: {
  74. type: import("vue").PropType<boolean | {
  75. placeholder: boolean;
  76. }>;
  77. default: boolean | {
  78. placeholder: boolean;
  79. };
  80. };
  81. zIndex: {
  82. type: NumberConstructor;
  83. };
  84. }>>, {
  85. fill: string;
  86. open: boolean;
  87. pos: PosInfo;
  88. showMask: boolean;
  89. animated: boolean | {
  90. placeholder: boolean;
  91. };
  92. }, {}>;
  93. export default Mask;