index.d.ts 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. import { tableProps } from './Table';
  2. import Column from './Column';
  3. import ColumnGroup from './ColumnGroup';
  4. import type { TableProps, TablePaginationConfig } from './Table';
  5. import type { App } from 'vue';
  6. export type { ColumnProps } from './Column';
  7. export type { ColumnsType, ColumnType, ColumnGroupType } from './interface';
  8. export type { TableProps, TablePaginationConfig };
  9. declare const TableSummaryRow: import("vue").DefineComponent<Readonly<import("vue").ExtractPropTypes<{}>>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<import("vue").ExtractPropTypes<{}>>>>, {}>;
  10. declare const TableSummaryCell: import("vue").DefineComponent<Readonly<import("../vc-table/Footer/Cell").SummaryCellProps>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<Readonly<import("../vc-table/Footer/Cell").SummaryCellProps>>, {}>;
  11. declare const TableSummary: {
  12. new (...args: any[]): {
  13. $: import("vue").ComponentInternalInstance;
  14. $data: {};
  15. $props: Partial<{}> & Omit<Readonly<import("../vc-table/Footer/Summary").SummaryProps> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
  16. $attrs: {
  17. [x: string]: unknown;
  18. };
  19. $refs: {
  20. [x: string]: unknown;
  21. };
  22. $slots: Readonly<{
  23. [name: string]: import("vue").Slot;
  24. }>;
  25. $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
  26. $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
  27. $emit: (event: string, ...args: any[]) => void;
  28. $el: any;
  29. $options: import("vue").ComponentOptionsBase<Readonly<import("../vc-table/Footer/Summary").SummaryProps>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}> & {
  30. beforeCreate?: (() => void) | (() => void)[];
  31. created?: (() => void) | (() => void)[];
  32. beforeMount?: (() => void) | (() => void)[];
  33. mounted?: (() => void) | (() => void)[];
  34. beforeUpdate?: (() => void) | (() => void)[];
  35. updated?: (() => void) | (() => void)[];
  36. activated?: (() => void) | (() => void)[];
  37. deactivated?: (() => void) | (() => void)[];
  38. beforeDestroy?: (() => void) | (() => void)[];
  39. beforeUnmount?: (() => void) | (() => void)[];
  40. destroyed?: (() => void) | (() => void)[];
  41. unmounted?: (() => void) | (() => void)[];
  42. renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
  43. renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
  44. 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)[];
  45. };
  46. $forceUpdate: () => void;
  47. $nextTick: typeof import("vue").nextTick;
  48. $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
  49. } & Readonly<import("../vc-table/Footer/Summary").SummaryProps> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
  50. __isFragment?: never;
  51. __isTeleport?: never;
  52. __isSuspense?: never;
  53. } & import("vue").ComponentOptionsBase<Readonly<import("../vc-table/Footer/Summary").SummaryProps>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
  54. Cell: import("vue").DefineComponent<Readonly<import("../vc-table/Footer/Cell").SummaryCellProps>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<Readonly<import("../vc-table/Footer/Cell").SummaryCellProps>>, {}>;
  55. Row: import("vue").DefineComponent<Readonly<import("vue").ExtractPropTypes<{}>>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<import("vue").ExtractPropTypes<{}>>>>, {}>;
  56. name: string;
  57. };
  58. export { tableProps, TableSummary, TableSummaryRow, TableSummaryCell, Column as TableColumn, ColumnGroup as TableColumnGroup, };
  59. declare const _default: {
  60. new (...args: any[]): {
  61. $: import("vue").ComponentInternalInstance;
  62. $data: {};
  63. $props: Partial<{}> & Omit<Readonly<TableProps<any>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
  64. $attrs: {
  65. [x: string]: unknown;
  66. };
  67. $refs: {
  68. [x: string]: unknown;
  69. };
  70. $slots: Readonly<{
  71. [name: string]: import("vue").Slot;
  72. }>;
  73. $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
  74. $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
  75. $emit: (event: string, ...args: any[]) => void;
  76. $el: any;
  77. $options: import("vue").ComponentOptionsBase<Readonly<TableProps<any>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}> & {
  78. beforeCreate?: (() => void) | (() => void)[];
  79. created?: (() => void) | (() => void)[];
  80. beforeMount?: (() => void) | (() => void)[];
  81. mounted?: (() => void) | (() => void)[];
  82. beforeUpdate?: (() => void) | (() => void)[];
  83. updated?: (() => void) | (() => void)[];
  84. activated?: (() => void) | (() => void)[];
  85. deactivated?: (() => void) | (() => void)[];
  86. beforeDestroy?: (() => void) | (() => void)[];
  87. beforeUnmount?: (() => void) | (() => void)[];
  88. destroyed?: (() => void) | (() => void)[];
  89. unmounted?: (() => void) | (() => void)[];
  90. renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
  91. renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
  92. 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)[];
  93. };
  94. $forceUpdate: () => void;
  95. $nextTick: typeof import("vue").nextTick;
  96. $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
  97. } & Readonly<TableProps<any>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
  98. __isFragment?: never;
  99. __isTeleport?: never;
  100. __isSuspense?: never;
  101. } & import("vue").ComponentOptionsBase<Readonly<TableProps<any>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
  102. SELECTION_ALL: "SELECT_ALL";
  103. SELECTION_INVERT: "SELECT_INVERT";
  104. SELECTION_NONE: "SELECT_NONE";
  105. SELECTION_COLUMN: {};
  106. EXPAND_COLUMN: {};
  107. Column: import("vue").DefineComponent<import("./Column").ColumnProps<unknown>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("./Column").ColumnProps<unknown>>, {
  108. __originColumn__?: any;
  109. }>;
  110. ColumnGroup: import("vue").DefineComponent<import("../vc-table/sugar/ColumnGroup").ColumnGroupProps<any>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("../vc-table/sugar/ColumnGroup").ColumnGroupProps<any>>, {
  111. title?: any;
  112. __originColumn__?: any;
  113. }>;
  114. Summary: {
  115. new (...args: any[]): {
  116. $: import("vue").ComponentInternalInstance;
  117. $data: {};
  118. $props: Partial<{}> & Omit<Readonly<import("../vc-table/Footer/Summary").SummaryProps> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
  119. $attrs: {
  120. [x: string]: unknown;
  121. };
  122. $refs: {
  123. [x: string]: unknown;
  124. };
  125. $slots: Readonly<{
  126. [name: string]: import("vue").Slot;
  127. }>;
  128. $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
  129. $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
  130. $emit: (event: string, ...args: any[]) => void;
  131. $el: any;
  132. $options: import("vue").ComponentOptionsBase<Readonly<import("../vc-table/Footer/Summary").SummaryProps>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}> & {
  133. beforeCreate?: (() => void) | (() => void)[];
  134. created?: (() => void) | (() => void)[];
  135. beforeMount?: (() => void) | (() => void)[];
  136. mounted?: (() => void) | (() => void)[];
  137. beforeUpdate?: (() => void) | (() => void)[];
  138. updated?: (() => void) | (() => void)[];
  139. activated?: (() => void) | (() => void)[];
  140. deactivated?: (() => void) | (() => void)[];
  141. beforeDestroy?: (() => void) | (() => void)[];
  142. beforeUnmount?: (() => void) | (() => void)[];
  143. destroyed?: (() => void) | (() => void)[];
  144. unmounted?: (() => void) | (() => void)[];
  145. renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
  146. renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
  147. 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)[];
  148. };
  149. $forceUpdate: () => void;
  150. $nextTick: typeof import("vue").nextTick;
  151. $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
  152. } & Readonly<import("../vc-table/Footer/Summary").SummaryProps> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
  153. __isFragment?: never;
  154. __isTeleport?: never;
  155. __isSuspense?: never;
  156. } & import("vue").ComponentOptionsBase<Readonly<import("../vc-table/Footer/Summary").SummaryProps>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
  157. Cell: import("vue").DefineComponent<Readonly<import("../vc-table/Footer/Cell").SummaryCellProps>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<Readonly<import("../vc-table/Footer/Cell").SummaryCellProps>>, {}>;
  158. Row: import("vue").DefineComponent<Readonly<import("vue").ExtractPropTypes<{}>>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<import("vue").ExtractPropTypes<{}>>>>, {}>;
  159. name: string;
  160. };
  161. install: (app: App) => App<any>;
  162. };
  163. export default _default;