@gridsheet/react-core 3.0.0-rc.1 → 3.0.0-rc.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (318) hide show
  1. package/LICENSE +190 -0
  2. package/dist/hooks-Y7BI_RNj.mjs +1103 -0
  3. package/dist/hooks-Y7BI_RNj.mjs.map +1 -0
  4. package/dist/index.d.ts +2 -32
  5. package/dist/index.js +2963 -13438
  6. package/dist/index.js.map +1 -1
  7. package/dist/react-core/src/components/Cell.d.ts.map +1 -0
  8. package/dist/react-core/src/components/CellStateOverlay.d.ts.map +1 -0
  9. package/dist/react-core/src/components/ColumnMenu.d.ts.map +1 -0
  10. package/dist/react-core/src/components/ColumnMenuFilterSection.d.ts +5 -0
  11. package/dist/react-core/src/components/ColumnMenuFilterSection.d.ts.map +1 -0
  12. package/dist/react-core/src/components/ColumnMenuLabelSection.d.ts +5 -0
  13. package/dist/react-core/src/components/ColumnMenuLabelSection.d.ts.map +1 -0
  14. package/dist/react-core/src/components/ColumnMenuSortSection.d.ts +5 -0
  15. package/dist/react-core/src/components/ColumnMenuSortSection.d.ts.map +1 -0
  16. package/dist/react-core/src/components/ContextMenu.d.ts +2 -0
  17. package/dist/react-core/src/components/ContextMenu.d.ts.map +1 -0
  18. package/dist/react-core/src/components/Editor.d.ts.map +1 -0
  19. package/dist/react-core/src/components/EditorOptions.d.ts.map +1 -0
  20. package/dist/react-core/src/components/Emitter.d.ts.map +1 -0
  21. package/dist/react-core/src/components/Fixed.d.ts.map +1 -0
  22. package/dist/react-core/src/components/FormulaBar.d.ts.map +1 -0
  23. package/dist/{components → react-core/src/components}/FunctionGuide.d.ts +4 -4
  24. package/dist/react-core/src/components/FunctionGuide.d.ts.map +1 -0
  25. package/dist/react-core/src/components/GridSheet.d.ts +7 -0
  26. package/dist/react-core/src/components/GridSheet.d.ts.map +1 -0
  27. package/dist/react-core/src/components/HeaderCellLeft.d.ts.map +1 -0
  28. package/dist/react-core/src/components/HeaderCellTop.d.ts.map +1 -0
  29. package/dist/react-core/src/components/MenuItem.d.ts +18 -0
  30. package/dist/react-core/src/components/MenuItem.d.ts.map +1 -0
  31. package/dist/{components → react-core/src/components}/PluginBase.d.ts +2 -2
  32. package/dist/react-core/src/components/PluginBase.d.ts.map +1 -0
  33. package/dist/react-core/src/components/Resizer.d.ts.map +1 -0
  34. package/dist/react-core/src/components/RowMenu.d.ts.map +1 -0
  35. package/dist/react-core/src/components/ScrollHandle.d.ts.map +1 -0
  36. package/dist/react-core/src/components/SearchBar.d.ts.map +1 -0
  37. package/dist/react-core/src/components/StoreObserver.d.ts +14 -0
  38. package/dist/react-core/src/components/StoreObserver.d.ts.map +1 -0
  39. package/dist/react-core/src/components/Tabular.d.ts.map +1 -0
  40. package/dist/react-core/src/components/svg/AddIcon.d.ts.map +1 -0
  41. package/dist/react-core/src/components/svg/Base.d.ts.map +1 -0
  42. package/dist/react-core/src/components/svg/CloseIcon.d.ts.map +1 -0
  43. package/dist/react-core/src/components/svg/SearchIcon.d.ts.map +1 -0
  44. package/dist/{components → react-core/src/components}/useAutocomplete.d.ts +1 -3
  45. package/dist/react-core/src/components/useAutocomplete.d.ts.map +1 -0
  46. package/dist/react-core/src/index.d.ts +17 -0
  47. package/dist/react-core/src/index.d.ts.map +1 -0
  48. package/dist/react-core/src/lib/clipboard.d.ts +18 -0
  49. package/dist/react-core/src/lib/clipboard.d.ts.map +1 -0
  50. package/dist/react-core/src/lib/events.d.ts.map +1 -0
  51. package/dist/{components → react-core/src/lib}/hooks.d.ts +2 -0
  52. package/dist/react-core/src/lib/hooks.d.ts.map +1 -0
  53. package/dist/react-core/src/lib/menu.d.ts +99 -0
  54. package/dist/react-core/src/lib/menu.d.ts.map +1 -0
  55. package/dist/react-core/src/lib/paste.d.ts.map +1 -0
  56. package/dist/react-core/src/lib/style.d.ts +12 -0
  57. package/dist/react-core/src/lib/style.d.ts.map +1 -0
  58. package/dist/react-core/src/policy/checkbox.d.ts +3 -0
  59. package/dist/react-core/src/policy/checkbox.d.ts.map +1 -0
  60. package/dist/react-core/src/spellbook.d.ts +6 -0
  61. package/dist/react-core/src/spellbook.d.ts.map +1 -0
  62. package/dist/{store → react-core/src/store}/actions.d.ts +3 -3
  63. package/dist/react-core/src/store/actions.d.ts.map +1 -0
  64. package/dist/react-core/src/store/applyers.d.ts +40 -0
  65. package/dist/react-core/src/store/applyers.d.ts.map +1 -0
  66. package/dist/react-core/src/store/helpers.d.ts +33 -0
  67. package/dist/react-core/src/store/helpers.d.ts.map +1 -0
  68. package/dist/react-core/src/store/index.d.ts.map +1 -0
  69. package/dist/react-core/src/types.d.ts +101 -0
  70. package/dist/react-core/src/types.d.ts.map +1 -0
  71. package/dist/spellbook.d.ts +2 -0
  72. package/dist/spellbook.js +9 -0
  73. package/dist/spellbook.js.map +1 -0
  74. package/package.json +16 -11
  75. package/dist/components/Cell.d.ts.map +0 -1
  76. package/dist/components/CellStateOverlay.d.ts.map +0 -1
  77. package/dist/components/ColumnMenu.d.ts.map +0 -1
  78. package/dist/components/ContextMenu.d.ts +0 -21
  79. package/dist/components/ContextMenu.d.ts.map +0 -1
  80. package/dist/components/Editor.d.ts.map +0 -1
  81. package/dist/components/EditorOptions.d.ts.map +0 -1
  82. package/dist/components/Emitter.d.ts.map +0 -1
  83. package/dist/components/Fixed.d.ts.map +0 -1
  84. package/dist/components/FormulaBar.d.ts.map +0 -1
  85. package/dist/components/FunctionGuide.d.ts.map +0 -1
  86. package/dist/components/GridSheet.d.ts +0 -5
  87. package/dist/components/GridSheet.d.ts.map +0 -1
  88. package/dist/components/HeaderCellLeft.d.ts.map +0 -1
  89. package/dist/components/HeaderCellTop.d.ts.map +0 -1
  90. package/dist/components/PluginBase.d.ts.map +0 -1
  91. package/dist/components/Resizer.d.ts.map +0 -1
  92. package/dist/components/RowMenu.d.ts.map +0 -1
  93. package/dist/components/ScrollHandle.d.ts.map +0 -1
  94. package/dist/components/SearchBar.d.ts.map +0 -1
  95. package/dist/components/StoreObserver.d.ts +0 -11
  96. package/dist/components/StoreObserver.d.ts.map +0 -1
  97. package/dist/components/Tabular.d.ts.map +0 -1
  98. package/dist/components/hooks.d.ts.map +0 -1
  99. package/dist/components/svg/AddIcon.d.ts.map +0 -1
  100. package/dist/components/svg/Base.d.ts.map +0 -1
  101. package/dist/components/svg/CloseIcon.d.ts.map +0 -1
  102. package/dist/components/svg/SearchIcon.d.ts.map +0 -1
  103. package/dist/components/useAutocomplete.d.ts.map +0 -1
  104. package/dist/constants.d.ts +0 -17
  105. package/dist/constants.d.ts.map +0 -1
  106. package/dist/formula/evaluator.d.ts +0 -138
  107. package/dist/formula/evaluator.d.ts.map +0 -1
  108. package/dist/formula/functions/__async.d.ts +0 -62
  109. package/dist/formula/functions/__async.d.ts.map +0 -1
  110. package/dist/formula/functions/__base.d.ts +0 -53
  111. package/dist/formula/functions/__base.d.ts.map +0 -1
  112. package/dist/formula/functions/__utils.d.ts +0 -19
  113. package/dist/formula/functions/__utils.d.ts.map +0 -1
  114. package/dist/formula/functions/abs.d.ts +0 -9
  115. package/dist/formula/functions/abs.d.ts.map +0 -1
  116. package/dist/formula/functions/acos.d.ts +0 -9
  117. package/dist/formula/functions/acos.d.ts.map +0 -1
  118. package/dist/formula/functions/add.d.ts +0 -10
  119. package/dist/formula/functions/add.d.ts.map +0 -1
  120. package/dist/formula/functions/and.d.ts +0 -9
  121. package/dist/formula/functions/and.d.ts.map +0 -1
  122. package/dist/formula/functions/asin.d.ts +0 -9
  123. package/dist/formula/functions/asin.d.ts.map +0 -1
  124. package/dist/formula/functions/atan.d.ts +0 -9
  125. package/dist/formula/functions/atan.d.ts.map +0 -1
  126. package/dist/formula/functions/atan2.d.ts +0 -9
  127. package/dist/formula/functions/atan2.d.ts.map +0 -1
  128. package/dist/formula/functions/average.d.ts +0 -9
  129. package/dist/formula/functions/average.d.ts.map +0 -1
  130. package/dist/formula/functions/col.d.ts +0 -9
  131. package/dist/formula/functions/col.d.ts.map +0 -1
  132. package/dist/formula/functions/concat.d.ts +0 -9
  133. package/dist/formula/functions/concat.d.ts.map +0 -1
  134. package/dist/formula/functions/concatenate.d.ts +0 -9
  135. package/dist/formula/functions/concatenate.d.ts.map +0 -1
  136. package/dist/formula/functions/cos.d.ts +0 -9
  137. package/dist/formula/functions/cos.d.ts.map +0 -1
  138. package/dist/formula/functions/count.d.ts +0 -9
  139. package/dist/formula/functions/count.d.ts.map +0 -1
  140. package/dist/formula/functions/counta.d.ts +0 -9
  141. package/dist/formula/functions/counta.d.ts.map +0 -1
  142. package/dist/formula/functions/countif.d.ts +0 -10
  143. package/dist/formula/functions/countif.d.ts.map +0 -1
  144. package/dist/formula/functions/divide.d.ts +0 -9
  145. package/dist/formula/functions/divide.d.ts.map +0 -1
  146. package/dist/formula/functions/eq.d.ts +0 -9
  147. package/dist/formula/functions/eq.d.ts.map +0 -1
  148. package/dist/formula/functions/exp.d.ts +0 -9
  149. package/dist/formula/functions/exp.d.ts.map +0 -1
  150. package/dist/formula/functions/gt.d.ts +0 -9
  151. package/dist/formula/functions/gt.d.ts.map +0 -1
  152. package/dist/formula/functions/gte.d.ts +0 -9
  153. package/dist/formula/functions/gte.d.ts.map +0 -1
  154. package/dist/formula/functions/hlookup.d.ts +0 -10
  155. package/dist/formula/functions/hlookup.d.ts.map +0 -1
  156. package/dist/formula/functions/if.d.ts +0 -9
  157. package/dist/formula/functions/if.d.ts.map +0 -1
  158. package/dist/formula/functions/iferror.d.ts +0 -12
  159. package/dist/formula/functions/iferror.d.ts.map +0 -1
  160. package/dist/formula/functions/index.d.ts +0 -10
  161. package/dist/formula/functions/index.d.ts.map +0 -1
  162. package/dist/formula/functions/len.d.ts +0 -9
  163. package/dist/formula/functions/len.d.ts.map +0 -1
  164. package/dist/formula/functions/lenb.d.ts +0 -9
  165. package/dist/formula/functions/lenb.d.ts.map +0 -1
  166. package/dist/formula/functions/ln.d.ts +0 -9
  167. package/dist/formula/functions/ln.d.ts.map +0 -1
  168. package/dist/formula/functions/log.d.ts +0 -9
  169. package/dist/formula/functions/log.d.ts.map +0 -1
  170. package/dist/formula/functions/log10.d.ts +0 -9
  171. package/dist/formula/functions/log10.d.ts.map +0 -1
  172. package/dist/formula/functions/lt.d.ts +0 -9
  173. package/dist/formula/functions/lt.d.ts.map +0 -1
  174. package/dist/formula/functions/lte.d.ts +0 -9
  175. package/dist/formula/functions/lte.d.ts.map +0 -1
  176. package/dist/formula/functions/match.d.ts +0 -10
  177. package/dist/formula/functions/match.d.ts.map +0 -1
  178. package/dist/formula/functions/match.test.d.ts +0 -2
  179. package/dist/formula/functions/match.test.d.ts.map +0 -1
  180. package/dist/formula/functions/max.d.ts +0 -9
  181. package/dist/formula/functions/max.d.ts.map +0 -1
  182. package/dist/formula/functions/min.d.ts +0 -9
  183. package/dist/formula/functions/min.d.ts.map +0 -1
  184. package/dist/formula/functions/minus.d.ts +0 -10
  185. package/dist/formula/functions/minus.d.ts.map +0 -1
  186. package/dist/formula/functions/mod.d.ts +0 -9
  187. package/dist/formula/functions/mod.d.ts.map +0 -1
  188. package/dist/formula/functions/multiply.d.ts +0 -9
  189. package/dist/formula/functions/multiply.d.ts.map +0 -1
  190. package/dist/formula/functions/ne.d.ts +0 -9
  191. package/dist/formula/functions/ne.d.ts.map +0 -1
  192. package/dist/formula/functions/not.d.ts +0 -9
  193. package/dist/formula/functions/not.d.ts.map +0 -1
  194. package/dist/formula/functions/now.d.ts +0 -9
  195. package/dist/formula/functions/now.d.ts.map +0 -1
  196. package/dist/formula/functions/or.d.ts +0 -9
  197. package/dist/formula/functions/or.d.ts.map +0 -1
  198. package/dist/formula/functions/pi.d.ts +0 -9
  199. package/dist/formula/functions/pi.d.ts.map +0 -1
  200. package/dist/formula/functions/power.d.ts +0 -9
  201. package/dist/formula/functions/power.d.ts.map +0 -1
  202. package/dist/formula/functions/product.d.ts +0 -9
  203. package/dist/formula/functions/product.d.ts.map +0 -1
  204. package/dist/formula/functions/radians.d.ts +0 -9
  205. package/dist/formula/functions/radians.d.ts.map +0 -1
  206. package/dist/formula/functions/rand.d.ts +0 -9
  207. package/dist/formula/functions/rand.d.ts.map +0 -1
  208. package/dist/formula/functions/round.d.ts +0 -9
  209. package/dist/formula/functions/round.d.ts.map +0 -1
  210. package/dist/formula/functions/rounddown.d.ts +0 -9
  211. package/dist/formula/functions/rounddown.d.ts.map +0 -1
  212. package/dist/formula/functions/roundup.d.ts +0 -9
  213. package/dist/formula/functions/roundup.d.ts.map +0 -1
  214. package/dist/formula/functions/row.d.ts +0 -9
  215. package/dist/formula/functions/row.d.ts.map +0 -1
  216. package/dist/formula/functions/sin.d.ts +0 -9
  217. package/dist/formula/functions/sin.d.ts.map +0 -1
  218. package/dist/formula/functions/sqrt.d.ts +0 -9
  219. package/dist/formula/functions/sqrt.d.ts.map +0 -1
  220. package/dist/formula/functions/sum.d.ts +0 -9
  221. package/dist/formula/functions/sum.d.ts.map +0 -1
  222. package/dist/formula/functions/sumif.d.ts +0 -10
  223. package/dist/formula/functions/sumif.d.ts.map +0 -1
  224. package/dist/formula/functions/tan.d.ts +0 -9
  225. package/dist/formula/functions/tan.d.ts.map +0 -1
  226. package/dist/formula/functions/uminus.d.ts +0 -9
  227. package/dist/formula/functions/uminus.d.ts.map +0 -1
  228. package/dist/formula/functions/vlookup.d.ts +0 -10
  229. package/dist/formula/functions/vlookup.d.ts.map +0 -1
  230. package/dist/formula/mapping.d.ts +0 -10
  231. package/dist/formula/mapping.d.ts.map +0 -1
  232. package/dist/formula/solver.d.ts +0 -26
  233. package/dist/formula/solver.d.ts.map +0 -1
  234. package/dist/index.d.ts.map +0 -1
  235. package/dist/lib/autofill.d.ts +0 -17
  236. package/dist/lib/autofill.d.ts.map +0 -1
  237. package/dist/lib/cell.d.ts +0 -15
  238. package/dist/lib/cell.d.ts.map +0 -1
  239. package/dist/lib/clipboard.d.ts +0 -3
  240. package/dist/lib/clipboard.d.ts.map +0 -1
  241. package/dist/lib/coords.d.ts +0 -10
  242. package/dist/lib/coords.d.ts.map +0 -1
  243. package/dist/lib/date.d.ts +0 -2
  244. package/dist/lib/date.d.ts.map +0 -1
  245. package/dist/lib/events.d.ts.map +0 -1
  246. package/dist/lib/filter.d.ts +0 -7
  247. package/dist/lib/filter.d.ts.map +0 -1
  248. package/dist/lib/hub.d.ts +0 -136
  249. package/dist/lib/hub.d.ts.map +0 -1
  250. package/dist/lib/input.d.ts +0 -15
  251. package/dist/lib/input.d.ts.map +0 -1
  252. package/dist/lib/operation.d.ts +0 -34
  253. package/dist/lib/operation.d.ts.map +0 -1
  254. package/dist/lib/palette.d.ts +0 -2
  255. package/dist/lib/palette.d.ts.map +0 -1
  256. package/dist/lib/paste.d.ts.map +0 -1
  257. package/dist/lib/reference.d.ts +0 -13
  258. package/dist/lib/reference.d.ts.map +0 -1
  259. package/dist/lib/sheet.d.ts +0 -3
  260. package/dist/lib/sheet.d.ts.map +0 -1
  261. package/dist/lib/spatial.d.ts +0 -94
  262. package/dist/lib/spatial.d.ts.map +0 -1
  263. package/dist/lib/table.d.ts +0 -463
  264. package/dist/lib/table.d.ts.map +0 -1
  265. package/dist/lib/time.d.ts +0 -25
  266. package/dist/lib/time.d.ts.map +0 -1
  267. package/dist/lib/virtualization.d.ts +0 -22
  268. package/dist/lib/virtualization.d.ts.map +0 -1
  269. package/dist/parsers/core.d.ts +0 -38
  270. package/dist/parsers/core.d.ts.map +0 -1
  271. package/dist/policy/core.d.ts +0 -54
  272. package/dist/policy/core.d.ts.map +0 -1
  273. package/dist/renderers/checkbox.d.ts +0 -5
  274. package/dist/renderers/checkbox.d.ts.map +0 -1
  275. package/dist/renderers/core.d.ts +0 -66
  276. package/dist/renderers/core.d.ts.map +0 -1
  277. package/dist/renderers/thousand_separator.d.ts +0 -3
  278. package/dist/renderers/thousand_separator.d.ts.map +0 -1
  279. package/dist/sentinels.d.ts +0 -23
  280. package/dist/sentinels.d.ts.map +0 -1
  281. package/dist/store/actions.d.ts.map +0 -1
  282. package/dist/store/dispatchers.d.ts +0 -36
  283. package/dist/store/dispatchers.d.ts.map +0 -1
  284. package/dist/store/helpers.d.ts +0 -25
  285. package/dist/store/helpers.d.ts.map +0 -1
  286. package/dist/store/index.d.ts.map +0 -1
  287. package/dist/styles/embedder.d.ts +0 -2
  288. package/dist/styles/embedder.d.ts.map +0 -1
  289. package/dist/styles/minified.d.ts +0 -3
  290. package/dist/styles/minified.d.ts.map +0 -1
  291. package/dist/styles/utils.d.ts +0 -52
  292. package/dist/styles/utils.d.ts.map +0 -1
  293. package/dist/types.d.ts +0 -365
  294. package/dist/types.d.ts.map +0 -1
  295. package/dist/utils.d.ts +0 -2
  296. package/dist/utils.d.ts.map +0 -1
  297. /package/dist/{components → react-core/src/components}/Cell.d.ts +0 -0
  298. /package/dist/{components → react-core/src/components}/CellStateOverlay.d.ts +0 -0
  299. /package/dist/{components → react-core/src/components}/ColumnMenu.d.ts +0 -0
  300. /package/dist/{components → react-core/src/components}/Editor.d.ts +0 -0
  301. /package/dist/{components → react-core/src/components}/EditorOptions.d.ts +0 -0
  302. /package/dist/{components → react-core/src/components}/Emitter.d.ts +0 -0
  303. /package/dist/{components → react-core/src/components}/Fixed.d.ts +0 -0
  304. /package/dist/{components → react-core/src/components}/FormulaBar.d.ts +0 -0
  305. /package/dist/{components → react-core/src/components}/HeaderCellLeft.d.ts +0 -0
  306. /package/dist/{components → react-core/src/components}/HeaderCellTop.d.ts +0 -0
  307. /package/dist/{components → react-core/src/components}/Resizer.d.ts +0 -0
  308. /package/dist/{components → react-core/src/components}/RowMenu.d.ts +0 -0
  309. /package/dist/{components → react-core/src/components}/ScrollHandle.d.ts +0 -0
  310. /package/dist/{components → react-core/src/components}/SearchBar.d.ts +0 -0
  311. /package/dist/{components → react-core/src/components}/Tabular.d.ts +0 -0
  312. /package/dist/{components → react-core/src/components}/svg/AddIcon.d.ts +0 -0
  313. /package/dist/{components → react-core/src/components}/svg/Base.d.ts +0 -0
  314. /package/dist/{components → react-core/src/components}/svg/CloseIcon.d.ts +0 -0
  315. /package/dist/{components → react-core/src/components}/svg/SearchIcon.d.ts +0 -0
  316. /package/dist/{lib → react-core/src/lib}/events.d.ts +0 -0
  317. /package/dist/{lib → react-core/src/lib}/paste.d.ts +0 -0
  318. /package/dist/{store → react-core/src/store}/index.d.ts +0 -0
@@ -1,34 +0,0 @@
1
- import { OperationType as operations } from '../types';
2
- export declare const RemoveRows: operations;
3
- export declare const RemoveCols: operations;
4
- export declare const InsertRowsAbove: operations;
5
- export declare const InsertRowsBelow: operations;
6
- export declare const InsertColsLeft: operations;
7
- export declare const InsertColsRight: operations;
8
- export declare const MoveFrom: operations;
9
- export declare const MoveTo: operations;
10
- export declare const Write: operations;
11
- export declare const Style: operations;
12
- export declare const Copy: operations;
13
- export declare const Resize: operations;
14
- export declare const SetRenderer: operations;
15
- export declare const SetParser: operations;
16
- export declare const SetPolicy: operations;
17
- export declare const Sort: operations;
18
- export declare const Filter: operations;
19
- export declare const SetLabel: operations;
20
- export declare const SetLabeler: operations;
21
- export declare const NoOperation: operations;
22
- export declare const Move: operations;
23
- export declare const Update: operations;
24
- export declare const InsertRows: operations;
25
- export declare const InsertCols: operations;
26
- export declare const Add: operations;
27
- export declare const Delete: operations;
28
- export declare const ReadOnly: operations;
29
- export declare const ColumnMenu: operations;
30
- export declare const RowMenu: operations;
31
- export declare const ViewOnly: operations;
32
- export declare const hasOperation: (operation: operations | undefined, flag: operations) => boolean;
33
- export declare const debugOperations: (prevention: operations | undefined) => string[];
34
- //# sourceMappingURL=operation.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"operation.d.ts","sourceRoot":"","sources":["../../src/lib/operation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,IAAI,UAAU,EAAE,MAAM,UAAU,CAAC;AAEvD,eAAO,MAAM,UAAU,EAAE,UAAoE,CAAC;AAC9F,eAAO,MAAM,UAAU,EAAE,UAAoE,CAAC;AAC9F,eAAO,MAAM,eAAe,EAAE,UAAoE,CAAC;AACnG,eAAO,MAAM,eAAe,EAAE,U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U,YAK/E,CAAC;AAGF,eAAO,MAAM,eAAe,GAAI,YAAY,UAAU,GAAG,SAAS,aAsDjE,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const COLOR_PALETTE: string[];
2
- //# sourceMappingURL=palette.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"palette.d.ts","sourceRoot":"","sources":["../../src/lib/palette.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,UAqBzB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"paste.d.ts","sourceRoot":"","sources":["../../src/lib/paste.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAC5C,eAAO,MAAM,SAAS,GAAI,MAAM,MAAM,EAAE,mBAAiB,KAAG,WAAW,EAAE,EA4FxE,CAAC;AAiEF,eAAO,MAAM,SAAS,GAAI,KAAK,MAAM,EAAE,YAAU,KAAG,WAAW,EAAE,EAkChE,CAAC"}
@@ -1,13 +0,0 @@
1
- import { CellsByIdType, Id } from '../types';
2
- import { Table } from './table';
3
- export declare class ReferencePreserver {
4
- map: {
5
- [id: Id]: Id;
6
- };
7
- private table;
8
- private dependentIds;
9
- constructor(table: Table);
10
- addTheDependents(...ids: Id[]): void;
11
- resolveDependents(operation?: 'move' | 'removeRows' | 'removeCols'): CellsByIdType;
12
- }
13
- //# sourceMappingURL=reference.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"reference.d.ts","sourceRoot":"","sources":["../../src/lib/reference.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,EAAE,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,qBAAa,kBAAkB;IACtB,GAAG,EAAE;QAAE,CAAC,EAAE,EAAE,EAAE,GAAG,EAAE,CAAA;KAAE,CAAM;IAClC,OAAO,CAAC,KAAK,CAAQ;IACrB,OAAO,CAAC,YAAY,CAA0B;gBAElC,KAAK,EAAE,KAAK;IAIxB,gBAAgB,CAAC,GAAG,GAAG,EAAE,EAAE,EAAE;IAS7B,iBAAiB,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,YAAY,GAAG,YAAY,GAAG,aAAa;CAmBnF"}
@@ -1,3 +0,0 @@
1
- export declare const escapeSheetName: (name: string) => string;
2
- export declare const getSheetPrefix: (name?: string) => string;
3
- //# sourceMappingURL=sheet.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sheet.d.ts","sourceRoot":"","sources":["../../src/lib/sheet.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,GAAI,MAAM,MAAM,KAAG,MAG9C,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,OAAO,MAAM,KAAG,MAK9C,CAAC"}
@@ -1,94 +0,0 @@
1
- import { MatrixType, AreaType, ZoneType, RangeType, PointType, Y, X, CellsByAddressType, ShapeType, MatricesByAddress, CellType, Address } from '../types';
2
- export declare const slideArea: (area: AreaType, y: Y, x: X) => AreaType;
3
- export declare const superposeArea: (srcArea: AreaType, dstArea: AreaType) => ShapeType;
4
- export declare const concatAreas: (area1: AreaType, area2: AreaType) => AreaType;
5
- export declare const zoneToArea: (zone: ZoneType) => AreaType;
6
- export declare const areaToZone: (area: AreaType) => ZoneType;
7
- export declare const areaToRange: (area: AreaType) => string;
8
- export declare const between: (range: RangeType, index: number) => boolean;
9
- export declare const among: (area: AreaType, point: PointType) => boolean;
10
- type ShapeExtension = {
11
- base?: number;
12
- };
13
- export declare const zoneShape: ({ base, ...zone }: ZoneType & ShapeExtension) => ShapeType;
14
- export declare const areaShape: ({ base, ...area }: AreaType & ShapeExtension) => ShapeType;
15
- export declare const matrixShape: ({ base, matrix }: {
16
- matrix: MatrixType;
17
- } & ShapeExtension) => ShapeType;
18
- export declare const makeSequence: (start: number, stop: number, step?: number) => number[];
19
- export declare const oa2aa: (oa: {
20
- [s: string]: any;
21
- }[], fields: string[]) => MatrixType;
22
- export declare const aa2oa: (aa: MatrixType, fields: string[]) => {
23
- [s: string]: any;
24
- }[];
25
- type PutMatrixFilterProps<T = any> = {
26
- srcValue: T;
27
- dstValue: T;
28
- srcPoint: PointType;
29
- dstPoint: PointType;
30
- };
31
- export declare const putMatrix: <T = any>(dst: T[][], src: T[][], dstArea: AreaType, filter?: (arg: PutMatrixFilterProps) => boolean) => MatricesByAddress<T>;
32
- export declare const createMatrix: <T = any>(numRows: number, numCols: number, fill?: T) => T[][];
33
- export declare const cropMatrix: <T = any>(matrix: T[][], area: AreaType) => T[][];
34
- export declare const buildInitialCellsFromOrigin: ({ cells, ensured, matrix, flattenAs, origin, }: {
35
- cells?: CellsByAddressType;
36
- ensured?: {
37
- numRows?: number;
38
- numCols?: number;
39
- };
40
- flattenAs?: keyof CellType;
41
- matrix?: MatrixType;
42
- origin?: Address;
43
- }) => CellsByAddressType;
44
- export declare const buildInitialCells: ({ cells, ensured, matrices, flattenAs, }?: {
45
- cells?: CellsByAddressType;
46
- ensured?: {
47
- numRows?: number;
48
- numCols?: number;
49
- };
50
- flattenAs?: keyof CellType;
51
- matrices?: MatricesByAddress<any>;
52
- }) => CellsByAddressType;
53
- export declare const buildCells: <T>({ cells, matrices, flattenAs, }: {
54
- cells?: CellsByAddressType;
55
- flattenAs?: keyof CellType;
56
- matrices?: MatricesByAddress<T>;
57
- }) => CellsByAddressType;
58
- export declare const getMaxSizesFromCells: (cells?: CellsByAddressType) => {
59
- numRows: number;
60
- numCols: number;
61
- };
62
- export declare const range: (start: number, end: number) => number[];
63
- export declare const complementSelectingArea: (selectingArea: AreaType, choosing: PointType) => AreaType;
64
- export declare const isSameArea: (area1: AreaType, area2: AreaType) => boolean;
65
- export declare const expandRange: (range: string) => Address[];
66
- export declare const restrictZone: (zone: ZoneType) => ZoneType;
67
- export type BinarySearchPredicate = (mid: number) => boolean;
68
- export declare const binarySearch: (low: number, high: number, predicate: BinarySearchPredicate, lessThan: boolean) => number;
69
- export declare const moveKey: (obj: any, keyFrom: string, keyTo: string) => void;
70
- export declare const invertObject: (obj: {
71
- [key: string]: string;
72
- }) => {
73
- [value: string]: string;
74
- };
75
- /**
76
- * Convert a list of addresses into an array of bounding areas.
77
- * Adjacent cells (4-connected: up/down/left/right) are grouped into the same area.
78
- * Each resulting AreaType is the bounding rectangle of one connected group.
79
- */
80
- export declare const addressesToAreas: (addresses: Address[]) => AreaType[];
81
- /**
82
- * Extract unique column indices (x) from a list of addresses, ignoring row information.
83
- * @param asc - true: ascending, false: descending, null: insertion order
84
- */
85
- export declare const addressesToCols: (addresses: Address[], asc?: boolean | null) => number[];
86
- /**
87
- * Extract unique row indices (y) from a list of addresses, ignoring column information.
88
- * @param asc - true: ascending, false: descending, null: insertion order
89
- */
90
- export declare const addressesToRows: (addresses: Address[], asc?: boolean | null) => number[];
91
- export declare const isAreaNotSelected: (area: AreaType) => boolean;
92
- export declare const isZoneNotSelected: (zone: ZoneType) => boolean;
93
- export {};
94
- //# sourceMappingURL=spatial.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"spatial.d.ts","sourceRoot":"","sources":["../../src/lib/spatial.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,UAAU,EACV,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,SAAS,EACT,CAAC,EACD,CAAC,EACD,kBAAkB,EAClB,SAAS,EACT,iBAAiB,EACjB,QAAQ,EACR,OAAO,EACR,MAAM,UAAU,CAAC;AAGlB,eAAO,MAAM,SAAS,GAAI,MAAM,QAAQ,EAAE,GAAG,CAAC,EAAE,GAAG,CAAC,KAAG,QAGtD,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,SAAS,QAAQ,EAAE,SAAS,QAAQ,KAAG,SASpE,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,OAAO,QAAQ,EAAE,OAAO,QAAQ,KAAG,QAe9D,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,MAAM,QAAQ,KAAG,QAO3C,CAAC;AAEF,eAAO,MAAM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AElD,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,MAAM,QAAQ,KAAG,OAElD,CAAC"}
@@ -1,463 +0,0 @@
1
- import { RendererCallProps } from '../renderers/core';
2
- import { Id, AreaType, CellsByIdType, CellsByAddressType, PointType, Address, CellFilter, MatrixType, CellType, FilterConfig, HistoryType, StorePatchType, ShapeType, OperatorType, OperationType, RawCellType, ExtraPointType, StoreType, RefEvaluation } from '../types';
3
- import { FunctionMapping } from '../formula/functions/__base';
4
- import { Wire } from './hub';
5
- import { PolicyType } from '../policy/core';
6
- type Props = {
7
- minNumRows?: number;
8
- maxNumRows?: number;
9
- minNumCols?: number;
10
- maxNumCols?: number;
11
- functions?: FunctionMapping;
12
- sheetName?: string;
13
- hub?: Wire;
14
- };
15
- type GetProps = {
16
- refEvaluation?: RefEvaluation;
17
- raise?: boolean;
18
- filter?: CellFilter;
19
- };
20
- type MoveProps = {
21
- srcTable?: UserTable;
22
- src: AreaType;
23
- dst: AreaType;
24
- operator?: OperatorType;
25
- undoReflection?: StorePatchType;
26
- redoReflection?: StorePatchType;
27
- historicize?: boolean;
28
- };
29
- type CellField = keyof CellType;
30
- type GetCellProps = GetProps & {
31
- ignoreFields?: CellField[];
32
- };
33
- type GetFieldProps = GetProps & {
34
- field?: keyof CellType;
35
- };
36
- type GetCellMatrixProps = GetCellProps & {
37
- area?: AreaType;
38
- };
39
- type GetFieldMatrixProps = GetFieldProps & {
40
- area?: AreaType;
41
- };
42
- type GetCellObjectProps = GetCellProps & {
43
- addresses?: Address[];
44
- };
45
- type GetFieldObjectProps = GetFieldProps & {
46
- addresses?: Address[];
47
- };
48
- type GetCellRowsProps = GetCellProps & {
49
- rows?: number[];
50
- };
51
- type GetFieldRowsProps = GetFieldProps & {
52
- rows?: number[];
53
- };
54
- type GetCellColsProps = GetCellProps & {
55
- cols?: (number | string)[];
56
- };
57
- type GetFieldColsProps = GetFieldProps & {
58
- cols?: (number | string)[];
59
- };
60
- export interface UserTable {
61
- changedTime: number;
62
- lastChangedTime?: number;
63
- top: number;
64
- left: number;
65
- bottom: number;
66
- right: number;
67
- minNumRows: number;
68
- maxNumRows: number;
69
- minNumCols: number;
70
- maxNumCols: number;
71
- headerWidth: number;
72
- headerHeight: number;
73
- sheetName: string;
74
- /**
75
- * Returns the raw table object, which is used for internal operations.
76
- * This is not intended for public use and may change in future versions.
77
- */
78
- __raw__: Table;
79
- getRectSize(area: AreaType): ShapeType;
80
- getCellByPoint(point: PointType, refEvaluation?: RefEvaluation, raise?: boolean): CellType | undefined;
81
- getCellByAddress(address: Address, refEvaluation?: RefEvaluation, raise?: boolean): CellType | undefined;
82
- getPolicyByPoint(point: PointType): PolicyType;
83
- getNumRows(base?: number): number;
84
- getNumCols(base?: number): number;
85
- getFieldMatrix(args?: GetFieldMatrixProps): any[][];
86
- getFieldObject(args?: GetFieldObjectProps): {
87
- [address: Address]: any;
88
- };
89
- getFieldRows(args?: GetFieldRowsProps): {
90
- [address: Address]: any;
91
- }[];
92
- getFieldCols(args?: GetFieldColsProps): {
93
- [address: Address]: any;
94
- }[];
95
- getCellMatrix(args?: GetCellMatrixProps): (CellType | null)[][];
96
- getCellObject(args?: GetCellObjectProps): CellsByAddressType;
97
- getCellRows(args?: GetCellRowsProps): CellsByAddressType[];
98
- getCellCols(args?: GetCellColsProps): CellsByAddressType[];
99
- getHistories(): HistoryType[];
100
- move(args: MoveProps): UserTable;
101
- copy(args: MoveProps & {
102
- onlyValue?: boolean;
103
- }): UserTable;
104
- update(args: {
105
- diff: CellsByAddressType;
106
- historicize?: boolean;
107
- partial?: boolean;
108
- updateChangedTime?: boolean;
109
- reflection?: StorePatchType;
110
- }): UserTable;
111
- writeMatrix(args: {
112
- point: PointType;
113
- matrix: MatrixType<string>;
114
- updateChangedTime?: boolean;
115
- reflection?: StorePatchType;
116
- }): UserTable;
117
- write(args: {
118
- point: PointType;
119
- value: string;
120
- updateChangedTime?: boolean;
121
- reflection?: StorePatchType;
122
- }): UserTable;
123
- insertRows(args: {
124
- y: number;
125
- numRows: number;
126
- baseY: number;
127
- diff?: CellsByAddressType;
128
- partial?: boolean;
129
- updateChangedTime?: boolean;
130
- reflection?: StorePatchType;
131
- }): UserTable;
132
- removeRows(args: {
133
- y: number;
134
- numRows: number;
135
- reflection?: StorePatchType;
136
- }): UserTable;
137
- insertCols(args: {
138
- x: number;
139
- numCols: number;
140
- baseX: number;
141
- diff?: CellsByAddressType;
142
- partial?: boolean;
143
- updateChangedTime?: boolean;
144
- reflection?: StorePatchType;
145
- }): UserTable;
146
- removeCols(args: {
147
- x: number;
148
- numCols: number;
149
- reflection?: StorePatchType;
150
- }): UserTable;
151
- undo(): {
152
- history: HistoryType | null;
153
- };
154
- redo(): {
155
- history: HistoryType | null;
156
- };
157
- getHistories(): HistoryType[];
158
- getHistoryIndex(): number;
159
- getHistorySize(): number;
160
- setHeaderHeight(height: number, historicize?: boolean): UserTable;
161
- setHeaderWidth(width: number, historicize?: boolean): UserTable;
162
- sortRows(args: {
163
- x: number;
164
- direction: 'asc' | 'desc';
165
- }): UserTable;
166
- filterRows(args?: {
167
- x?: number;
168
- filter?: FilterConfig;
169
- }): UserTable;
170
- isRowFiltered(y: number): boolean;
171
- hasActiveFilters(): boolean;
172
- hasPendingCells(): boolean;
173
- waitForPending(): Promise<void>;
174
- getLastChangedAddresses(): Address[];
175
- stringify(props: {
176
- point: PointType;
177
- cell?: CellType;
178
- refEvaluation?: RefEvaluation;
179
- }): string;
180
- }
181
- export declare class Table implements UserTable {
182
- changedTime: number;
183
- lastChangedTime?: number;
184
- minNumRows: number;
185
- maxNumRows: number;
186
- minNumCols: number;
187
- maxNumCols: number;
188
- sheetId: number;
189
- sheetName: string;
190
- prevSheetName: string;
191
- status: 0 | 1 | 2;
192
- wire: Wire;
193
- idsToBeIdentified: Id[];
194
- totalWidth: number;
195
- totalHeight: number;
196
- fullHeight: number;
197
- private version;
198
- private idMatrix;
199
- private area;
200
- private addressCaches;
201
- private lastChangedAddresses;
202
- constructor({ minNumRows, maxNumRows, minNumCols, maxNumCols, sheetName, hub, }: Props);
203
- get headerHeight(): number;
204
- setHeaderHeight(height: number, historicize?: boolean): Table;
205
- get headerWidth(): number;
206
- setHeaderWidth(width: number, historicize?: boolean): Table;
207
- /** Get the raw (mutable) cell data for a point. Unlike getCellByPoint, this returns the actual wire.data reference. */
208
- private _getRawCellByPoint;
209
- isRowFiltered(y: number): boolean;
210
- hasActiveFilters(): boolean;
211
- /**
212
- * Returns true if any data cell in this sheet currently holds a Pending value
213
- * (i.e. an async formula that hasn't resolved yet).
214
- */
215
- hasPendingCells(): boolean;
216
- /**
217
- * Returns a Promise that resolves when all in-flight async formula computations
218
- * have completed and no data cells hold Pending values.
219
- * If nothing is pending, resolves immediately.
220
- * Useful for waiting before sort/filter so that cell values are fully resolved.
221
- */
222
- waitForPending(): Promise<void>;
223
- /**
224
- * Returns the addresses that were changed in the most recent `_update()` call.
225
- * Useful inside `onChange` to know which cells were modified.
226
- */
227
- getLastChangedAddresses(): Address[];
228
- /** Capture the current state of all filter-related cells (column headers + row headers) as a CellsByIdType snapshot */
229
- /** Capture the full cell state of all filter-related header cells as a CellsByIdType snapshot */
230
- private _captureFilterCellStates;
231
- filterRows({ x, filter, }?: {
232
- x?: number;
233
- filter?: FilterConfig;
234
- }): Table;
235
- private _reapplyFilters;
236
- sortRows({ x, direction }: {
237
- x: number;
238
- direction: 'asc' | 'desc';
239
- }): Table;
240
- private _sortRowMapping;
241
- get isInitialized(): boolean;
242
- get functions(): FunctionMapping;
243
- get parsers(): {
244
- [parserName: string]: import('../parsers/core').Parser | null;
245
- };
246
- get renderers(): {
247
- [rendererName: string]: import('../renderers/core').Renderer | null;
248
- };
249
- get labelers(): {
250
- [labelerName: string]: ((n: number) => string) | null;
251
- };
252
- get policies(): {
253
- [policyName: string]: import('../policy/core').Policy | null;
254
- };
255
- identifyFormula(): void;
256
- getSheetId(): number;
257
- getTableBySheetName(sheetName: string): Table | null;
258
- getTableBySheetId(sheetId: number): Table | null;
259
- private static _stack;
260
- initialize(cells: CellsByAddressType): void;
261
- incrementVersion(): void;
262
- private generateId;
263
- getRectSize({ top, left, bottom, right }: AreaType): {
264
- width: number;
265
- height: number;
266
- };
267
- setTotalSize(): void;
268
- refresh(relocate?: boolean, resize?: boolean): Table;
269
- clone(relocate?: boolean): Table;
270
- getPointById(id: Id, slideY?: number, slideX?: number): PointType & {
271
- absCol: boolean;
272
- absRow: boolean;
273
- };
274
- getAddressById(id: Id, slideY?: number, slideX?: number): string | undefined;
275
- getAddressesByIds(ids: CellsByIdType): CellsByAddressType;
276
- clearAddressCaches(): void;
277
- getId(point: PointType): string;
278
- getIdFormula(point: ExtraPointType): {
279
- id: Id | null;
280
- formula: string | null;
281
- };
282
- getCellByPoint(point: PointType, refEvaluation?: RefEvaluation, raise?: boolean): CellType | undefined;
283
- getCellByAddress(address: Address, refEvaluation?: RefEvaluation, raise?: boolean): CellType | undefined;
284
- getById(id: Id): CellType<any, any> | undefined;
285
- getNumRows(base?: number): number;
286
- getNumCols(base?: number): number;
287
- get top(): number;
288
- get left(): number;
289
- get bottom(): number;
290
- get right(): number;
291
- getFullRef(ref: Address): string;
292
- getFieldMatrix({ area, field, refEvaluation, raise, filter, }?: GetFieldMatrixProps): any[][];
293
- getFieldObject({ field, refEvaluation, raise, filter, addresses, }?: GetFieldObjectProps): {
294
- [Address: string]: any;
295
- };
296
- getFieldRows({ field, refEvaluation, raise, filter, rows, }?: GetFieldRowsProps): CellsByAddressType[];
297
- getFieldCols({ field, refEvaluation, raise, filter, cols, }?: GetFieldColsProps): CellsByAddressType[];
298
- getCellMatrix({ area, refEvaluation, raise, filter, ignoreFields, }?: GetCellMatrixProps): (CellType | null)[][];
299
- getCellObject({ refEvaluation, raise, filter, addresses, ignoreFields, }?: GetCellObjectProps): CellsByAddressType;
300
- getCellRows({ refEvaluation, raise, filter, rows, ignoreFields, }?: GetCellRowsProps): CellsByAddressType[];
301
- getCellCols({ refEvaluation, raise, filter, cols, ignoreFields, }?: GetCellColsProps): CellsByAddressType[];
302
- private pushHistory;
303
- private cleanObsolete;
304
- private cleanStrayed;
305
- private getNewIdMatrix;
306
- private getIdMatrixFromArea;
307
- private setChangedTime;
308
- private copyCellLayout;
309
- move({ srcTable, src, dst, historicize, operator, undoReflection, redoReflection, }: MoveProps): Table;
310
- /**
311
- * Build MoveRelations from src area to dst area, skipping filtered rows.
312
- *
313
- * Layout of the returned array (processed in this order by _moveCells):
314
- * 1. Entries where [0] is a newly-generated ID — these fill the vacated src cells (processed last in forward order)
315
- * 2. Entries where [0] is a src address and [1] is a dst address — the actual moves (processed first in forward order, descending)
316
- * Entries whose [1] is an existing ID mean the destination cell is displaced/overflowed and
317
- * is no longer addressable; on forward pass they are skipped; on reverse pass the ID is written back.
318
- */
319
- private _createMoveRelations;
320
- get defaultPolicy(): PolicyType;
321
- /**
322
- * Apply (or reverse) a MoveRelations list.
323
- *
324
- * Forward (reverse=false): process descending — actual ID moves happen bottom-up so
325
- * earlier entries don't clobber later ones; vacate entries (at front of array) are
326
- * applied last.
327
- * Reverse (reverse=true): process ascending — restores IDs in the natural order.
328
- *
329
- * On forward pass: applies policy, collects diffBefore, runs ReferencePreserver.
330
- * On reverse pass: only moves IDs (caller is responsible for applyDiff(diffBefore)).
331
- */
332
- private _moveCells;
333
- copy({ srcTable, src, dst, onlyValue, operator, undoReflection, redoReflection, }: MoveProps & {
334
- onlyValue?: boolean;
335
- }): Table;
336
- getPolicyByPoint(point: PointType): PolicyType;
337
- private _update;
338
- update({ diff, partial, updateChangedTime, historicize, operator, operation: op, ignoreFields, undoReflection, redoReflection, }: {
339
- diff: CellsByAddressType;
340
- partial?: boolean;
341
- updateChangedTime?: boolean;
342
- historicize?: boolean;
343
- operator?: OperatorType;
344
- operation?: OperationType;
345
- ignoreFields?: CellField[];
346
- undoReflection?: StorePatchType;
347
- redoReflection?: StorePatchType;
348
- }): Table;
349
- writeRawCellMatrix({ point, matrix, updateChangedTime, historicize, onlyValue, operator, undoReflection, redoReflection, }: {
350
- point: PointType;
351
- matrix: MatrixType<RawCellType>;
352
- updateChangedTime?: boolean;
353
- historicize?: boolean;
354
- onlyValue?: boolean;
355
- operator?: OperatorType;
356
- undoReflection?: StorePatchType;
357
- redoReflection?: StorePatchType;
358
- }): Table;
359
- writeMatrix(props: {
360
- point: PointType;
361
- matrix: MatrixType<string>;
362
- updateChangedTime?: boolean;
363
- historicize?: boolean;
364
- operator?: OperatorType;
365
- undoReflection?: StorePatchType;
366
- redoReflection?: StorePatchType;
367
- }): Table;
368
- write(props: {
369
- point: PointType;
370
- value: string;
371
- updateChangedTime?: boolean;
372
- historicize?: boolean;
373
- operator?: OperatorType;
374
- undoReflection?: StorePatchType;
375
- redoReflection?: StorePatchType;
376
- }): Table;
377
- insertRows({ y, numRows, baseY, diff, partial, updateChangedTime, operator, undoReflection, redoReflection, }: {
378
- y: number;
379
- numRows: number;
380
- baseY: number;
381
- diff?: CellsByAddressType;
382
- partial?: boolean;
383
- updateChangedTime?: boolean;
384
- operator?: OperatorType;
385
- undoReflection?: StorePatchType;
386
- redoReflection?: StorePatchType;
387
- }): Table;
388
- removeRows({ y, numRows, operator, undoReflection, redoReflection, }: {
389
- y: number;
390
- numRows: number;
391
- operator?: OperatorType;
392
- undoReflection?: StorePatchType;
393
- redoReflection?: StorePatchType;
394
- }): Table;
395
- insertCols({ x, numCols, baseX, diff, partial, updateChangedTime, operator, undoReflection, redoReflection, }: {
396
- x: number;
397
- numCols: number;
398
- baseX: number;
399
- diff?: CellsByAddressType;
400
- partial?: boolean;
401
- updateChangedTime?: boolean;
402
- operator?: OperatorType;
403
- undoReflection?: StorePatchType;
404
- redoReflection?: StorePatchType;
405
- }): Table;
406
- removeCols({ x, numCols, operator, undoReflection, redoReflection, }: {
407
- x: number;
408
- numCols: number;
409
- operator?: OperatorType;
410
- undoReflection?: StorePatchType;
411
- redoReflection?: StorePatchType;
412
- }): Table;
413
- getHistories(): HistoryType[];
414
- getHistoryIndex(): number;
415
- getHistorySize(): number;
416
- getHistoryLimit(): number;
417
- getArea(): AreaType;
418
- parse(point: PointType, value: string): CellType;
419
- render(props: RendererCallProps): any;
420
- stringify({ point, cell, refEvaluation, }: {
421
- point: PointType;
422
- cell?: CellType;
423
- refEvaluation?: RefEvaluation;
424
- }): string;
425
- trim(area: AreaType): Table;
426
- private applyDiff;
427
- undo(): {
428
- history: null;
429
- newTable: Table;
430
- callback?: undefined;
431
- } | {
432
- history: HistoryType;
433
- callback: ({ tableReactive: tableRef }: StoreType) => void;
434
- newTable?: undefined;
435
- };
436
- redo(): {
437
- history: null;
438
- newTable: Table;
439
- callback?: undefined;
440
- } | {
441
- history: HistoryType;
442
- callback: ({ tableReactive: tableRef }: StoreType) => void;
443
- newTable?: undefined;
444
- };
445
- getFunction(name: string): typeof import('../formula/functions/__base').BaseFunction;
446
- getLabel(label: string | undefined, labelerKey: string | undefined, n: number): string | null;
447
- getBase(): this;
448
- addDependents(id: Id, dependency: string): void;
449
- getSolvedCache(point: PointType): any;
450
- setSolvingCache(point: PointType): void;
451
- finishSolvedCache(point: PointType, value: any): void;
452
- clearSolvedCaches(): void;
453
- sheetPrefix(omit?: boolean): string;
454
- rangeToArea(range: string): {
455
- top: number;
456
- left: number;
457
- bottom: number;
458
- right: number;
459
- };
460
- get __raw__(): Table;
461
- }
462
- export {};
463
- //# sourceMappingURL=table.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../src/lib/table.ts"],"names":[],"mappings":"AACA,OAAO,EAAmB,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACvE,OAAO,EACL,EAAE,EAGF,QAAQ,EACR,aAAa,EACb,kBAAkB,EAClB,SAAS,EACT,OAAO,EACP,UAAU,EACV,UAAU,EACV,QAAQ,EACR,YAAY,EACZ,WAAW,EAEX,cAAc,EACd,SAAS,EACT,YAAY,EACZ,aAAa,EACb,WAAW,EACX,cAAc,EACd,SAAS,EACT,aAAa,EAKd,MAAM,UAAU,CAAC;AA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