3823f64b43bba8f83ead0d4615be0d557c4b87ce80add5995f0e905b4d1b3066f3d1899b3534dcb2dca21e7c5853ef79110cab195e9417cf919d538e4752d5 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519
  1. import type { DefaultRow, Table, TableProps } from '../table/defaults';
  2. export declare function createStore<T extends DefaultRow>(table: Table<T>, props: TableProps<T>): {
  3. mutations: {
  4. setData(states: {
  5. _currentRowKey: import("vue").Ref<string | null>;
  6. currentRow: import("vue").Ref<T | null>;
  7. expandRowKeys: import("vue").Ref<string[]>;
  8. treeData: import("vue").Ref<Record<string, import("./tree").TreeData>>;
  9. indent: import("vue").Ref<number>;
  10. lazy: import("vue").Ref<boolean>;
  11. lazyTreeNodeMap: import("vue").Ref<Record<string, T[]>>;
  12. lazyColumnIdentifier: import("vue").Ref<string>;
  13. childrenColumnName: import("vue").Ref<string>;
  14. checkStrictly: import("vue").Ref<boolean>;
  15. expandRows: import("vue").Ref<T[]>;
  16. defaultExpandAll: import("vue").Ref<boolean>;
  17. tableSize: import("vue").Ref<any>;
  18. rowKey: import("vue").Ref<string | null>;
  19. data: import("vue").Ref<T[]>;
  20. _data: import("vue").Ref<T[]>;
  21. isComplex: import("vue").Ref<boolean>;
  22. _columns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  23. originColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  24. columns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  25. fixedColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  26. rightFixedColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  27. leafColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  28. fixedLeafColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  29. rightFixedLeafColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  30. updateOrderFns: (() => void)[];
  31. leafColumnsLength: import("vue").Ref<number>;
  32. fixedLeafColumnsLength: import("vue").Ref<number>;
  33. rightFixedLeafColumnsLength: import("vue").Ref<number>;
  34. isAllSelected: import("vue").Ref<boolean>;
  35. selection: import("vue").Ref<T[]>;
  36. reserveSelection: import("vue").Ref<boolean>;
  37. selectOnIndeterminate: import("vue").Ref<boolean>;
  38. selectable: import("vue").Ref<((row: T, index: number) => boolean) | null>;
  39. filters: import("vue").Ref<import(".").StoreFilter>;
  40. filteredData: import("vue").Ref<T[] | null>;
  41. sortingColumn: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T> | null>;
  42. sortProp: import("vue").Ref<string | null>;
  43. sortOrder: import("vue").Ref<string | number | null>;
  44. hoverRow: import("vue").Ref<T | null>;
  45. }, data: T[]): void;
  46. insertColumn(states: {
  47. _currentRowKey: import("vue").Ref<string | null>;
  48. currentRow: import("vue").Ref<T | null>;
  49. expandRowKeys: import("vue").Ref<string[]>;
  50. treeData: import("vue").Ref<Record<string, import("./tree").TreeData>>;
  51. indent: import("vue").Ref<number>;
  52. lazy: import("vue").Ref<boolean>;
  53. lazyTreeNodeMap: import("vue").Ref<Record<string, T[]>>;
  54. lazyColumnIdentifier: import("vue").Ref<string>;
  55. childrenColumnName: import("vue").Ref<string>;
  56. checkStrictly: import("vue").Ref<boolean>;
  57. expandRows: import("vue").Ref<T[]>;
  58. defaultExpandAll: import("vue").Ref<boolean>;
  59. tableSize: import("vue").Ref<any>;
  60. rowKey: import("vue").Ref<string | null>;
  61. data: import("vue").Ref<T[]>;
  62. _data: import("vue").Ref<T[]>;
  63. isComplex: import("vue").Ref<boolean>;
  64. _columns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  65. originColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  66. columns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  67. fixedColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  68. rightFixedColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  69. leafColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  70. fixedLeafColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  71. rightFixedLeafColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  72. updateOrderFns: (() => void)[];
  73. leafColumnsLength: import("vue").Ref<number>;
  74. fixedLeafColumnsLength: import("vue").Ref<number>;
  75. rightFixedLeafColumnsLength: import("vue").Ref<number>;
  76. isAllSelected: import("vue").Ref<boolean>;
  77. selection: import("vue").Ref<T[]>;
  78. reserveSelection: import("vue").Ref<boolean>;
  79. selectOnIndeterminate: import("vue").Ref<boolean>;
  80. selectable: import("vue").Ref<((row: T, index: number) => boolean) | null>;
  81. filters: import("vue").Ref<import(".").StoreFilter>;
  82. filteredData: import("vue").Ref<T[] | null>;
  83. sortingColumn: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T> | null>;
  84. sortProp: import("vue").Ref<string | null>;
  85. sortOrder: import("vue").Ref<string | number | null>;
  86. hoverRow: import("vue").Ref<T | null>;
  87. }, column: import("../table-column/defaults").TableColumnCtx<T>, parent: import("../table-column/defaults").TableColumnCtx<T>, updateColumnOrder: () => void): void;
  88. updateColumnOrder(states: {
  89. _currentRowKey: import("vue").Ref<string | null>;
  90. currentRow: import("vue").Ref<T | null>;
  91. expandRowKeys: import("vue").Ref<string[]>;
  92. treeData: import("vue").Ref<Record<string, import("./tree").TreeData>>;
  93. indent: import("vue").Ref<number>;
  94. lazy: import("vue").Ref<boolean>;
  95. lazyTreeNodeMap: import("vue").Ref<Record<string, T[]>>;
  96. lazyColumnIdentifier: import("vue").Ref<string>;
  97. childrenColumnName: import("vue").Ref<string>;
  98. checkStrictly: import("vue").Ref<boolean>;
  99. expandRows: import("vue").Ref<T[]>;
  100. defaultExpandAll: import("vue").Ref<boolean>;
  101. tableSize: import("vue").Ref<any>;
  102. rowKey: import("vue").Ref<string | null>;
  103. data: import("vue").Ref<T[]>;
  104. _data: import("vue").Ref<T[]>;
  105. isComplex: import("vue").Ref<boolean>;
  106. _columns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  107. originColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  108. columns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  109. fixedColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  110. rightFixedColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  111. leafColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  112. fixedLeafColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  113. rightFixedLeafColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  114. updateOrderFns: (() => void)[];
  115. leafColumnsLength: import("vue").Ref<number>;
  116. fixedLeafColumnsLength: import("vue").Ref<number>;
  117. rightFixedLeafColumnsLength: import("vue").Ref<number>;
  118. isAllSelected: import("vue").Ref<boolean>;
  119. selection: import("vue").Ref<T[]>;
  120. reserveSelection: import("vue").Ref<boolean>;
  121. selectOnIndeterminate: import("vue").Ref<boolean>;
  122. selectable: import("vue").Ref<((row: T, index: number) => boolean) | null>;
  123. filters: import("vue").Ref<import(".").StoreFilter>;
  124. filteredData: import("vue").Ref<T[] | null>;
  125. sortingColumn: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T> | null>;
  126. sortProp: import("vue").Ref<string | null>;
  127. sortOrder: import("vue").Ref<string | number | null>;
  128. hoverRow: import("vue").Ref<T | null>;
  129. }, column: import("../table-column/defaults").TableColumnCtx<T>): void;
  130. removeColumn(states: {
  131. _currentRowKey: import("vue").Ref<string | null>;
  132. currentRow: import("vue").Ref<T | null>;
  133. expandRowKeys: import("vue").Ref<string[]>;
  134. treeData: import("vue").Ref<Record<string, import("./tree").TreeData>>;
  135. indent: import("vue").Ref<number>;
  136. lazy: import("vue").Ref<boolean>;
  137. lazyTreeNodeMap: import("vue").Ref<Record<string, T[]>>;
  138. lazyColumnIdentifier: import("vue").Ref<string>;
  139. childrenColumnName: import("vue").Ref<string>;
  140. checkStrictly: import("vue").Ref<boolean>;
  141. expandRows: import("vue").Ref<T[]>;
  142. defaultExpandAll: import("vue").Ref<boolean>;
  143. tableSize: import("vue").Ref<any>;
  144. rowKey: import("vue").Ref<string | null>;
  145. data: import("vue").Ref<T[]>;
  146. _data: import("vue").Ref<T[]>;
  147. isComplex: import("vue").Ref<boolean>;
  148. _columns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  149. originColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  150. columns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  151. fixedColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  152. rightFixedColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  153. leafColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  154. fixedLeafColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  155. rightFixedLeafColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  156. updateOrderFns: (() => void)[];
  157. leafColumnsLength: import("vue").Ref<number>;
  158. fixedLeafColumnsLength: import("vue").Ref<number>;
  159. rightFixedLeafColumnsLength: import("vue").Ref<number>;
  160. isAllSelected: import("vue").Ref<boolean>;
  161. selection: import("vue").Ref<T[]>;
  162. reserveSelection: import("vue").Ref<boolean>;
  163. selectOnIndeterminate: import("vue").Ref<boolean>;
  164. selectable: import("vue").Ref<((row: T, index: number) => boolean) | null>;
  165. filters: import("vue").Ref<import(".").StoreFilter>;
  166. filteredData: import("vue").Ref<T[] | null>;
  167. sortingColumn: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T> | null>;
  168. sortProp: import("vue").Ref<string | null>;
  169. sortOrder: import("vue").Ref<string | number | null>;
  170. hoverRow: import("vue").Ref<T | null>;
  171. }, column: import("../table-column/defaults").TableColumnCtx<T>, parent: import("../table-column/defaults").TableColumnCtx<T>, updateColumnOrder: () => void): void;
  172. sort(states: {
  173. _currentRowKey: import("vue").Ref<string | null>;
  174. currentRow: import("vue").Ref<T | null>;
  175. expandRowKeys: import("vue").Ref<string[]>;
  176. treeData: import("vue").Ref<Record<string, import("./tree").TreeData>>;
  177. indent: import("vue").Ref<number>;
  178. lazy: import("vue").Ref<boolean>;
  179. lazyTreeNodeMap: import("vue").Ref<Record<string, T[]>>;
  180. lazyColumnIdentifier: import("vue").Ref<string>;
  181. childrenColumnName: import("vue").Ref<string>;
  182. checkStrictly: import("vue").Ref<boolean>;
  183. expandRows: import("vue").Ref<T[]>;
  184. defaultExpandAll: import("vue").Ref<boolean>;
  185. tableSize: import("vue").Ref<any>;
  186. rowKey: import("vue").Ref<string | null>;
  187. data: import("vue").Ref<T[]>;
  188. _data: import("vue").Ref<T[]>;
  189. isComplex: import("vue").Ref<boolean>;
  190. _columns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  191. originColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  192. columns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  193. fixedColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  194. rightFixedColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  195. leafColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  196. fixedLeafColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  197. rightFixedLeafColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  198. updateOrderFns: (() => void)[];
  199. leafColumnsLength: import("vue").Ref<number>;
  200. fixedLeafColumnsLength: import("vue").Ref<number>;
  201. rightFixedLeafColumnsLength: import("vue").Ref<number>;
  202. isAllSelected: import("vue").Ref<boolean>;
  203. selection: import("vue").Ref<T[]>;
  204. reserveSelection: import("vue").Ref<boolean>;
  205. selectOnIndeterminate: import("vue").Ref<boolean>;
  206. selectable: import("vue").Ref<((row: T, index: number) => boolean) | null>;
  207. filters: import("vue").Ref<import(".").StoreFilter>;
  208. filteredData: import("vue").Ref<T[] | null>;
  209. sortingColumn: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T> | null>;
  210. sortProp: import("vue").Ref<string | null>;
  211. sortOrder: import("vue").Ref<string | number | null>;
  212. hoverRow: import("vue").Ref<T | null>;
  213. }, options: import("../table/defaults").Sort): void;
  214. changeSortCondition(states: {
  215. _currentRowKey: import("vue").Ref<string | null>;
  216. currentRow: import("vue").Ref<T | null>;
  217. expandRowKeys: import("vue").Ref<string[]>;
  218. treeData: import("vue").Ref<Record<string, import("./tree").TreeData>>;
  219. indent: import("vue").Ref<number>;
  220. lazy: import("vue").Ref<boolean>;
  221. lazyTreeNodeMap: import("vue").Ref<Record<string, T[]>>;
  222. lazyColumnIdentifier: import("vue").Ref<string>;
  223. childrenColumnName: import("vue").Ref<string>;
  224. checkStrictly: import("vue").Ref<boolean>;
  225. expandRows: import("vue").Ref<T[]>;
  226. defaultExpandAll: import("vue").Ref<boolean>;
  227. tableSize: import("vue").Ref<any>;
  228. rowKey: import("vue").Ref<string | null>;
  229. data: import("vue").Ref<T[]>;
  230. _data: import("vue").Ref<T[]>;
  231. isComplex: import("vue").Ref<boolean>;
  232. _columns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  233. originColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  234. columns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  235. fixedColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  236. rightFixedColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  237. leafColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  238. fixedLeafColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  239. rightFixedLeafColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  240. updateOrderFns: (() => void)[];
  241. leafColumnsLength: import("vue").Ref<number>;
  242. fixedLeafColumnsLength: import("vue").Ref<number>;
  243. rightFixedLeafColumnsLength: import("vue").Ref<number>;
  244. isAllSelected: import("vue").Ref<boolean>;
  245. selection: import("vue").Ref<T[]>;
  246. reserveSelection: import("vue").Ref<boolean>;
  247. selectOnIndeterminate: import("vue").Ref<boolean>;
  248. selectable: import("vue").Ref<((row: T, index: number) => boolean) | null>;
  249. filters: import("vue").Ref<import(".").StoreFilter>;
  250. filteredData: import("vue").Ref<T[] | null>;
  251. sortingColumn: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T> | null>;
  252. sortProp: import("vue").Ref<string | null>;
  253. sortOrder: import("vue").Ref<string | number | null>;
  254. hoverRow: import("vue").Ref<T | null>;
  255. }, options: import("../table/defaults").Sort): void;
  256. filterChange(_states: {
  257. _currentRowKey: import("vue").Ref<string | null>;
  258. currentRow: import("vue").Ref<T | null>;
  259. expandRowKeys: import("vue").Ref<string[]>;
  260. treeData: import("vue").Ref<Record<string, import("./tree").TreeData>>;
  261. indent: import("vue").Ref<number>;
  262. lazy: import("vue").Ref<boolean>;
  263. lazyTreeNodeMap: import("vue").Ref<Record<string, T[]>>;
  264. lazyColumnIdentifier: import("vue").Ref<string>;
  265. childrenColumnName: import("vue").Ref<string>;
  266. checkStrictly: import("vue").Ref<boolean>;
  267. expandRows: import("vue").Ref<T[]>;
  268. defaultExpandAll: import("vue").Ref<boolean>;
  269. tableSize: import("vue").Ref<any>;
  270. rowKey: import("vue").Ref<string | null>;
  271. data: import("vue").Ref<T[]>;
  272. _data: import("vue").Ref<T[]>;
  273. isComplex: import("vue").Ref<boolean>;
  274. _columns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  275. originColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  276. columns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  277. fixedColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  278. rightFixedColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  279. leafColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  280. fixedLeafColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  281. rightFixedLeafColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  282. updateOrderFns: (() => void)[];
  283. leafColumnsLength: import("vue").Ref<number>;
  284. fixedLeafColumnsLength: import("vue").Ref<number>;
  285. rightFixedLeafColumnsLength: import("vue").Ref<number>;
  286. isAllSelected: import("vue").Ref<boolean>;
  287. selection: import("vue").Ref<T[]>;
  288. reserveSelection: import("vue").Ref<boolean>;
  289. selectOnIndeterminate: import("vue").Ref<boolean>;
  290. selectable: import("vue").Ref<((row: T, index: number) => boolean) | null>;
  291. filters: import("vue").Ref<import(".").StoreFilter>;
  292. filteredData: import("vue").Ref<T[] | null>;
  293. sortingColumn: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T> | null>;
  294. sortProp: import("vue").Ref<string | null>;
  295. sortOrder: import("vue").Ref<string | number | null>;
  296. hoverRow: import("vue").Ref<T | null>;
  297. }, options: import("../table/defaults").Filter<T>): void;
  298. toggleAllSelection(): void;
  299. rowSelectedChanged(_states: {
  300. _currentRowKey: import("vue").Ref<string | null>;
  301. currentRow: import("vue").Ref<T | null>;
  302. expandRowKeys: import("vue").Ref<string[]>;
  303. treeData: import("vue").Ref<Record<string, import("./tree").TreeData>>;
  304. indent: import("vue").Ref<number>;
  305. lazy: import("vue").Ref<boolean>;
  306. lazyTreeNodeMap: import("vue").Ref<Record<string, T[]>>;
  307. lazyColumnIdentifier: import("vue").Ref<string>;
  308. childrenColumnName: import("vue").Ref<string>;
  309. checkStrictly: import("vue").Ref<boolean>;
  310. expandRows: import("vue").Ref<T[]>;
  311. defaultExpandAll: import("vue").Ref<boolean>;
  312. tableSize: import("vue").Ref<any>;
  313. rowKey: import("vue").Ref<string | null>;
  314. data: import("vue").Ref<T[]>;
  315. _data: import("vue").Ref<T[]>;
  316. isComplex: import("vue").Ref<boolean>;
  317. _columns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  318. originColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  319. columns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  320. fixedColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  321. rightFixedColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  322. leafColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  323. fixedLeafColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  324. rightFixedLeafColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  325. updateOrderFns: (() => void)[];
  326. leafColumnsLength: import("vue").Ref<number>;
  327. fixedLeafColumnsLength: import("vue").Ref<number>;
  328. rightFixedLeafColumnsLength: import("vue").Ref<number>;
  329. isAllSelected: import("vue").Ref<boolean>;
  330. selection: import("vue").Ref<T[]>;
  331. reserveSelection: import("vue").Ref<boolean>;
  332. selectOnIndeterminate: import("vue").Ref<boolean>;
  333. selectable: import("vue").Ref<((row: T, index: number) => boolean) | null>;
  334. filters: import("vue").Ref<import(".").StoreFilter>;
  335. filteredData: import("vue").Ref<T[] | null>;
  336. sortingColumn: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T> | null>;
  337. sortProp: import("vue").Ref<string | null>;
  338. sortOrder: import("vue").Ref<string | number | null>;
  339. hoverRow: import("vue").Ref<T | null>;
  340. }, row: T): void;
  341. setHoverRow(states: {
  342. _currentRowKey: import("vue").Ref<string | null>;
  343. currentRow: import("vue").Ref<T | null>;
  344. expandRowKeys: import("vue").Ref<string[]>;
  345. treeData: import("vue").Ref<Record<string, import("./tree").TreeData>>;
  346. indent: import("vue").Ref<number>;
  347. lazy: import("vue").Ref<boolean>;
  348. lazyTreeNodeMap: import("vue").Ref<Record<string, T[]>>;
  349. lazyColumnIdentifier: import("vue").Ref<string>;
  350. childrenColumnName: import("vue").Ref<string>;
  351. checkStrictly: import("vue").Ref<boolean>;
  352. expandRows: import("vue").Ref<T[]>;
  353. defaultExpandAll: import("vue").Ref<boolean>;
  354. tableSize: import("vue").Ref<any>;
  355. rowKey: import("vue").Ref<string | null>;
  356. data: import("vue").Ref<T[]>;
  357. _data: import("vue").Ref<T[]>;
  358. isComplex: import("vue").Ref<boolean>;
  359. _columns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  360. originColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  361. columns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  362. fixedColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  363. rightFixedColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  364. leafColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  365. fixedLeafColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  366. rightFixedLeafColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  367. updateOrderFns: (() => void)[];
  368. leafColumnsLength: import("vue").Ref<number>;
  369. fixedLeafColumnsLength: import("vue").Ref<number>;
  370. rightFixedLeafColumnsLength: import("vue").Ref<number>;
  371. isAllSelected: import("vue").Ref<boolean>;
  372. selection: import("vue").Ref<T[]>;
  373. reserveSelection: import("vue").Ref<boolean>;
  374. selectOnIndeterminate: import("vue").Ref<boolean>;
  375. selectable: import("vue").Ref<((row: T, index: number) => boolean) | null>;
  376. filters: import("vue").Ref<import(".").StoreFilter>;
  377. filteredData: import("vue").Ref<T[] | null>;
  378. sortingColumn: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T> | null>;
  379. sortProp: import("vue").Ref<string | null>;
  380. sortOrder: import("vue").Ref<string | number | null>;
  381. hoverRow: import("vue").Ref<T | null>;
  382. }, row: T): void;
  383. setCurrentRow(_states: {
  384. _currentRowKey: import("vue").Ref<string | null>;
  385. currentRow: import("vue").Ref<T | null>;
  386. expandRowKeys: import("vue").Ref<string[]>;
  387. treeData: import("vue").Ref<Record<string, import("./tree").TreeData>>;
  388. indent: import("vue").Ref<number>;
  389. lazy: import("vue").Ref<boolean>;
  390. lazyTreeNodeMap: import("vue").Ref<Record<string, T[]>>;
  391. lazyColumnIdentifier: import("vue").Ref<string>;
  392. childrenColumnName: import("vue").Ref<string>;
  393. checkStrictly: import("vue").Ref<boolean>;
  394. expandRows: import("vue").Ref<T[]>;
  395. defaultExpandAll: import("vue").Ref<boolean>;
  396. tableSize: import("vue").Ref<any>;
  397. rowKey: import("vue").Ref<string | null>;
  398. data: import("vue").Ref<T[]>;
  399. _data: import("vue").Ref<T[]>;
  400. isComplex: import("vue").Ref<boolean>;
  401. _columns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  402. originColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  403. columns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  404. fixedColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  405. rightFixedColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  406. leafColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  407. fixedLeafColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  408. rightFixedLeafColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  409. updateOrderFns: (() => void)[];
  410. leafColumnsLength: import("vue").Ref<number>;
  411. fixedLeafColumnsLength: import("vue").Ref<number>;
  412. rightFixedLeafColumnsLength: import("vue").Ref<number>;
  413. isAllSelected: import("vue").Ref<boolean>;
  414. selection: import("vue").Ref<T[]>;
  415. reserveSelection: import("vue").Ref<boolean>;
  416. selectOnIndeterminate: import("vue").Ref<boolean>;
  417. selectable: import("vue").Ref<((row: T, index: number) => boolean) | null>;
  418. filters: import("vue").Ref<import(".").StoreFilter>;
  419. filteredData: import("vue").Ref<T[] | null>;
  420. sortingColumn: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T> | null>;
  421. sortProp: import("vue").Ref<string | null>;
  422. sortOrder: import("vue").Ref<string | number | null>;
  423. hoverRow: import("vue").Ref<T | null>;
  424. }, row: T): void;
  425. };
  426. commit: (name: "sort" | "setData" | "insertColumn" | "updateColumnOrder" | "removeColumn" | "changeSortCondition" | "filterChange" | "toggleAllSelection" | "rowSelectedChanged" | "setHoverRow" | "setCurrentRow", ...args: any[]) => void;
  427. updateTableScrollY: () => void;
  428. assertRowKey: () => void;
  429. updateColumns: () => void;
  430. scheduleLayout: (needUpdateColumns?: boolean, immediate?: boolean) => void;
  431. isSelected: (row: T) => boolean;
  432. clearSelection: () => void;
  433. cleanSelection: () => void;
  434. getSelectionRows: () => T[];
  435. toggleRowSelection: (row: T, selected?: boolean, emitChange?: boolean, ignoreSelectable?: boolean) => void;
  436. _toggleAllSelection: () => void;
  437. toggleAllSelection: (() => void) | null;
  438. updateAllSelected: () => void;
  439. updateFilters: (column: import("../table-column/defaults").TableColumnCtx<T>, values: string[]) => Record<string, string[]>;
  440. updateCurrentRow: (_currentRow: T) => void;
  441. updateSort: (column: import("../table-column/defaults").TableColumnCtx<T> | null, prop: string | null, order: import("../table/defaults").TableSortOrder | null) => void;
  442. execFilter: () => void;
  443. execSort: () => void;
  444. execQuery: (ignore?: {
  445. filter: boolean;
  446. } | undefined) => void;
  447. clearFilter: (columnKeys?: string[] | string) => void;
  448. clearSort: () => void;
  449. toggleRowExpansion: (row: T, expanded?: boolean) => void;
  450. setExpandRowKeysAdapter: (val: string[]) => void;
  451. setCurrentRowKey: (key: string) => void;
  452. toggleRowExpansionAdapter: (row: T, expanded?: boolean) => void;
  453. isRowExpanded: (row: T) => boolean;
  454. updateExpandRows: () => void;
  455. updateCurrentRowData: () => void;
  456. loadOrToggle: (row: T) => void;
  457. updateTreeData: (ifChangeExpandRowKeys?: boolean, ifExpandAll?: boolean) => void;
  458. updateKeyChildren: (key: string, data: T[]) => void;
  459. states: {
  460. _currentRowKey: import("vue").Ref<string | null>;
  461. currentRow: import("vue").Ref<T | null>;
  462. expandRowKeys: import("vue").Ref<string[]>;
  463. treeData: import("vue").Ref<Record<string, import("./tree").TreeData>>;
  464. indent: import("vue").Ref<number>;
  465. lazy: import("vue").Ref<boolean>;
  466. lazyTreeNodeMap: import("vue").Ref<Record<string, T[]>>;
  467. lazyColumnIdentifier: import("vue").Ref<string>;
  468. childrenColumnName: import("vue").Ref<string>;
  469. checkStrictly: import("vue").Ref<boolean>;
  470. expandRows: import("vue").Ref<T[]>;
  471. defaultExpandAll: import("vue").Ref<boolean>;
  472. tableSize: import("vue").Ref<any>;
  473. rowKey: import("vue").Ref<string | null>;
  474. data: import("vue").Ref<T[]>;
  475. _data: import("vue").Ref<T[]>;
  476. isComplex: import("vue").Ref<boolean>;
  477. _columns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  478. originColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  479. columns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  480. fixedColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  481. rightFixedColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  482. leafColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  483. fixedLeafColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  484. rightFixedLeafColumns: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T>[]>;
  485. updateOrderFns: (() => void)[];
  486. leafColumnsLength: import("vue").Ref<number>;
  487. fixedLeafColumnsLength: import("vue").Ref<number>;
  488. rightFixedLeafColumnsLength: import("vue").Ref<number>;
  489. isAllSelected: import("vue").Ref<boolean>;
  490. selection: import("vue").Ref<T[]>;
  491. reserveSelection: import("vue").Ref<boolean>;
  492. selectOnIndeterminate: import("vue").Ref<boolean>;
  493. selectable: import("vue").Ref<((row: T, index: number) => boolean) | null>;
  494. filters: import("vue").Ref<import(".").StoreFilter>;
  495. filteredData: import("vue").Ref<T[] | null>;
  496. sortingColumn: import("vue").Ref<import("../table-column/defaults").TableColumnCtx<T> | null>;
  497. sortProp: import("vue").Ref<string | null>;
  498. sortOrder: import("vue").Ref<string | number | null>;
  499. hoverRow: import("vue").Ref<T | null>;
  500. };
  501. ns: {
  502. namespace: import("vue").ComputedRef<string>;
  503. b: (blockSuffix?: string) => string;
  504. e: (element?: string) => string;
  505. m: (modifier?: string) => string;
  506. be: (blockSuffix?: string, element?: string) => string;
  507. em: (element?: string, modifier?: string) => string;
  508. bm: (blockSuffix?: string, modifier?: string) => string;
  509. bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
  510. is: {
  511. (name: string, state: boolean | undefined): string;
  512. (name: string): string;
  513. };
  514. cssVar: (object: Record<string, string>) => Record<string, string>;
  515. cssVarName: (name: string) => string;
  516. cssVarBlock: (object: Record<string, string>) => Record<string, string>;
  517. cssVarBlockName: (name: string) => string;
  518. };
  519. };