index.d.ts 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. import type { ExtractPropTypes, PropType } from 'vue';
  2. export declare const dividerProps: () => {
  3. prefixCls: StringConstructor;
  4. type: {
  5. type: PropType<"" | "horizontal" | "vertical">;
  6. default: string;
  7. };
  8. dashed: {
  9. type: BooleanConstructor;
  10. default: boolean;
  11. };
  12. orientation: {
  13. type: PropType<"center" | "left" | "right">;
  14. default: string;
  15. };
  16. plain: {
  17. type: BooleanConstructor;
  18. default: boolean;
  19. };
  20. orientationMargin: (StringConstructor | NumberConstructor)[];
  21. };
  22. export declare type DividerProps = Partial<ExtractPropTypes<ReturnType<typeof dividerProps>>>;
  23. declare const _default: {
  24. new (...args: any[]): {
  25. $: import("vue").ComponentInternalInstance;
  26. $data: {};
  27. $props: Partial<{
  28. dashed: boolean;
  29. type: "" | "horizontal" | "vertical";
  30. orientation: "center" | "left" | "right";
  31. plain: boolean;
  32. }> & Omit<Readonly<ExtractPropTypes<{
  33. prefixCls: StringConstructor;
  34. type: {
  35. type: PropType<"" | "horizontal" | "vertical">;
  36. default: string;
  37. };
  38. dashed: {
  39. type: BooleanConstructor;
  40. default: boolean;
  41. };
  42. orientation: {
  43. type: PropType<"center" | "left" | "right">;
  44. default: string;
  45. };
  46. plain: {
  47. type: BooleanConstructor;
  48. default: boolean;
  49. };
  50. orientationMargin: (StringConstructor | NumberConstructor)[];
  51. }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "dashed" | "type" | "orientation" | "plain">;
  52. $attrs: {
  53. [x: string]: unknown;
  54. };
  55. $refs: {
  56. [x: string]: unknown;
  57. };
  58. $slots: Readonly<{
  59. [name: string]: import("vue").Slot;
  60. }>;
  61. $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
  62. $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
  63. $emit: (event: string, ...args: any[]) => void;
  64. $el: any;
  65. $options: import("vue").ComponentOptionsBase<Readonly<ExtractPropTypes<{
  66. prefixCls: StringConstructor;
  67. type: {
  68. type: PropType<"" | "horizontal" | "vertical">;
  69. default: string;
  70. };
  71. dashed: {
  72. type: BooleanConstructor;
  73. default: boolean;
  74. };
  75. orientation: {
  76. type: PropType<"center" | "left" | "right">;
  77. default: string;
  78. };
  79. plain: {
  80. type: BooleanConstructor;
  81. default: boolean;
  82. };
  83. orientationMargin: (StringConstructor | NumberConstructor)[];
  84. }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
  85. dashed: boolean;
  86. type: "" | "horizontal" | "vertical";
  87. orientation: "center" | "left" | "right";
  88. plain: boolean;
  89. }> & {
  90. beforeCreate?: (() => void) | (() => void)[];
  91. created?: (() => void) | (() => void)[];
  92. beforeMount?: (() => void) | (() => void)[];
  93. mounted?: (() => void) | (() => void)[];
  94. beforeUpdate?: (() => void) | (() => void)[];
  95. updated?: (() => void) | (() => void)[];
  96. activated?: (() => void) | (() => void)[];
  97. deactivated?: (() => void) | (() => void)[];
  98. beforeDestroy?: (() => void) | (() => void)[];
  99. beforeUnmount?: (() => void) | (() => void)[];
  100. destroyed?: (() => void) | (() => void)[];
  101. unmounted?: (() => void) | (() => void)[];
  102. renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
  103. renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
  104. errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[];
  105. };
  106. $forceUpdate: () => void;
  107. $nextTick: typeof import("vue").nextTick;
  108. $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
  109. } & Readonly<ExtractPropTypes<{
  110. prefixCls: StringConstructor;
  111. type: {
  112. type: PropType<"" | "horizontal" | "vertical">;
  113. default: string;
  114. };
  115. dashed: {
  116. type: BooleanConstructor;
  117. default: boolean;
  118. };
  119. orientation: {
  120. type: PropType<"center" | "left" | "right">;
  121. default: string;
  122. };
  123. plain: {
  124. type: BooleanConstructor;
  125. default: boolean;
  126. };
  127. orientationMargin: (StringConstructor | NumberConstructor)[];
  128. }>> & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & import("vue").ComponentCustomProperties;
  129. __isFragment?: never;
  130. __isTeleport?: never;
  131. __isSuspense?: never;
  132. } & import("vue").ComponentOptionsBase<Readonly<ExtractPropTypes<{
  133. prefixCls: StringConstructor;
  134. type: {
  135. type: PropType<"" | "horizontal" | "vertical">;
  136. default: string;
  137. };
  138. dashed: {
  139. type: BooleanConstructor;
  140. default: boolean;
  141. };
  142. orientation: {
  143. type: PropType<"center" | "left" | "right">;
  144. default: string;
  145. };
  146. plain: {
  147. type: BooleanConstructor;
  148. default: boolean;
  149. };
  150. orientationMargin: (StringConstructor | NumberConstructor)[];
  151. }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
  152. dashed: boolean;
  153. type: "" | "horizontal" | "vertical";
  154. orientation: "center" | "left" | "right";
  155. plain: boolean;
  156. }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
  157. export default _default;