index.d.ts 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. import type { ExtractPropTypes } from 'vue';
  2. export declare const commentProps: () => {
  3. actions: ArrayConstructor;
  4. /** The element to display as the comment author. */
  5. author: import("vue-types").VueTypeValidableDef<any>;
  6. /** The element to display as the comment avatar - generally an antd Avatar */
  7. avatar: import("vue-types").VueTypeValidableDef<any>;
  8. /** The main content of the comment */
  9. content: import("vue-types").VueTypeValidableDef<any>;
  10. /** Comment prefix defaults to '.ant-comment' */
  11. prefixCls: StringConstructor;
  12. /** A datetime element containing the time to be displayed */
  13. datetime: import("vue-types").VueTypeValidableDef<any>;
  14. };
  15. export declare type CommentProps = Partial<ExtractPropTypes<ReturnType<typeof commentProps>>>;
  16. declare const _default: {
  17. new (...args: any[]): {
  18. $: import("vue").ComponentInternalInstance;
  19. $data: {};
  20. $props: Partial<{}> & Omit<Readonly<ExtractPropTypes<{
  21. actions: ArrayConstructor;
  22. /** The element to display as the comment author. */
  23. author: import("vue-types").VueTypeValidableDef<any>;
  24. /** The element to display as the comment avatar - generally an antd Avatar */
  25. avatar: import("vue-types").VueTypeValidableDef<any>;
  26. /** The main content of the comment */
  27. content: import("vue-types").VueTypeValidableDef<any>;
  28. /** Comment prefix defaults to '.ant-comment' */
  29. prefixCls: StringConstructor;
  30. /** A datetime element containing the time to be displayed */
  31. datetime: import("vue-types").VueTypeValidableDef<any>;
  32. }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
  33. $attrs: {
  34. [x: string]: unknown;
  35. };
  36. $refs: {
  37. [x: string]: unknown;
  38. };
  39. $slots: Readonly<{
  40. [name: string]: import("vue").Slot;
  41. }>;
  42. $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
  43. $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
  44. $emit: (event: string, ...args: any[]) => void;
  45. $el: any;
  46. $options: import("vue").ComponentOptionsBase<Readonly<ExtractPropTypes<{
  47. actions: ArrayConstructor;
  48. /** The element to display as the comment author. */
  49. author: import("vue-types").VueTypeValidableDef<any>;
  50. /** The element to display as the comment avatar - generally an antd Avatar */
  51. avatar: import("vue-types").VueTypeValidableDef<any>;
  52. /** The main content of the comment */
  53. content: import("vue-types").VueTypeValidableDef<any>;
  54. /** Comment prefix defaults to '.ant-comment' */
  55. prefixCls: StringConstructor;
  56. /** A datetime element containing the time to be displayed */
  57. datetime: import("vue-types").VueTypeValidableDef<any>;
  58. }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}> & {
  59. beforeCreate?: (() => void) | (() => void)[];
  60. created?: (() => void) | (() => void)[];
  61. beforeMount?: (() => void) | (() => void)[];
  62. mounted?: (() => void) | (() => void)[];
  63. beforeUpdate?: (() => void) | (() => void)[];
  64. updated?: (() => void) | (() => void)[];
  65. activated?: (() => void) | (() => void)[];
  66. deactivated?: (() => void) | (() => void)[];
  67. beforeDestroy?: (() => void) | (() => void)[];
  68. beforeUnmount?: (() => void) | (() => void)[];
  69. destroyed?: (() => void) | (() => void)[];
  70. unmounted?: (() => void) | (() => void)[];
  71. renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
  72. renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
  73. 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)[];
  74. };
  75. $forceUpdate: () => void;
  76. $nextTick: typeof import("vue").nextTick;
  77. $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
  78. } & Readonly<ExtractPropTypes<{
  79. actions: ArrayConstructor;
  80. /** The element to display as the comment author. */
  81. author: import("vue-types").VueTypeValidableDef<any>;
  82. /** The element to display as the comment avatar - generally an antd Avatar */
  83. avatar: import("vue-types").VueTypeValidableDef<any>;
  84. /** The main content of the comment */
  85. content: import("vue-types").VueTypeValidableDef<any>;
  86. /** Comment prefix defaults to '.ant-comment' */
  87. prefixCls: StringConstructor;
  88. /** A datetime element containing the time to be displayed */
  89. datetime: import("vue-types").VueTypeValidableDef<any>;
  90. }>> & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & import("vue").ComponentCustomProperties;
  91. __isFragment?: never;
  92. __isTeleport?: never;
  93. __isSuspense?: never;
  94. } & import("vue").ComponentOptionsBase<Readonly<ExtractPropTypes<{
  95. actions: ArrayConstructor;
  96. /** The element to display as the comment author. */
  97. author: import("vue-types").VueTypeValidableDef<any>;
  98. /** The element to display as the comment avatar - generally an antd Avatar */
  99. avatar: import("vue-types").VueTypeValidableDef<any>;
  100. /** The main content of the comment */
  101. content: import("vue-types").VueTypeValidableDef<any>;
  102. /** Comment prefix defaults to '.ant-comment' */
  103. prefixCls: StringConstructor;
  104. /** A datetime element containing the time to be displayed */
  105. datetime: import("vue-types").VueTypeValidableDef<any>;
  106. }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
  107. export default _default;