@gridsheet/react-core 3.0.0-rc.7 → 3.0.0-rc.9

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 (260) hide show
  1. package/LICENSE +190 -0
  2. package/dist/hooks-6pHKH3g9.mjs +1109 -0
  3. package/dist/hooks-6pHKH3g9.mjs.map +1 -0
  4. package/dist/index.d.ts +2 -34
  5. package/dist/index.js +2227 -7975
  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.map +1 -0
  11. package/dist/react-core/src/components/ColumnMenuLabelSection.d.ts.map +1 -0
  12. package/dist/react-core/src/components/ColumnMenuSortSection.d.ts.map +1 -0
  13. package/dist/react-core/src/components/ContextMenu.d.ts.map +1 -0
  14. package/dist/react-core/src/components/Editor.d.ts.map +1 -0
  15. package/dist/react-core/src/components/EditorOptions.d.ts.map +1 -0
  16. package/dist/react-core/src/components/Emitter.d.ts.map +1 -0
  17. package/dist/react-core/src/components/Fixed.d.ts.map +1 -0
  18. package/dist/react-core/src/components/FormulaBar.d.ts.map +1 -0
  19. package/dist/{components → react-core/src/components}/FunctionGuide.d.ts +2 -2
  20. package/dist/react-core/src/components/FunctionGuide.d.ts.map +1 -0
  21. package/dist/react-core/src/components/GridSheet.d.ts.map +1 -0
  22. package/dist/react-core/src/components/HeaderCellLeft.d.ts.map +1 -0
  23. package/dist/react-core/src/components/HeaderCellTop.d.ts.map +1 -0
  24. package/dist/react-core/src/components/MenuItem.d.ts.map +1 -0
  25. package/dist/react-core/src/components/PluginBase.d.ts.map +1 -0
  26. package/dist/react-core/src/components/Resizer.d.ts.map +1 -0
  27. package/dist/react-core/src/components/RowMenu.d.ts.map +1 -0
  28. package/dist/react-core/src/components/ScrollHandle.d.ts.map +1 -0
  29. package/dist/react-core/src/components/SearchBar.d.ts.map +1 -0
  30. package/dist/react-core/src/components/StoreObserver.d.ts.map +1 -0
  31. package/dist/react-core/src/components/Tabular.d.ts.map +1 -0
  32. package/dist/react-core/src/components/svg/AddIcon.d.ts.map +1 -0
  33. package/dist/react-core/src/components/svg/Base.d.ts.map +1 -0
  34. package/dist/react-core/src/components/svg/CloseIcon.d.ts.map +1 -0
  35. package/dist/react-core/src/components/svg/SearchIcon.d.ts.map +1 -0
  36. package/dist/{components → react-core/src/components}/useAutocomplete.d.ts +3 -3
  37. package/dist/react-core/src/components/useAutocomplete.d.ts.map +1 -0
  38. package/dist/react-core/src/index.d.ts +17 -0
  39. package/dist/react-core/src/index.d.ts.map +1 -0
  40. package/dist/{lib → react-core/src/lib}/clipboard.d.ts +1 -1
  41. package/dist/react-core/src/lib/clipboard.d.ts.map +1 -0
  42. package/dist/react-core/src/lib/events.d.ts.map +1 -0
  43. package/dist/{components → react-core/src/lib}/hooks.d.ts +2 -0
  44. package/dist/react-core/src/lib/hooks.d.ts.map +1 -0
  45. package/dist/{lib → react-core/src/lib}/menu.d.ts +1 -1
  46. package/dist/react-core/src/lib/menu.d.ts.map +1 -0
  47. package/dist/react-core/src/lib/paste.d.ts.map +1 -0
  48. package/dist/react-core/src/lib/style.d.ts +12 -0
  49. package/dist/react-core/src/lib/style.d.ts.map +1 -0
  50. package/dist/react-core/src/policy/checkbox.d.ts +3 -0
  51. package/dist/react-core/src/policy/checkbox.d.ts.map +1 -0
  52. package/dist/react-core/src/spellbook.d.ts +6 -0
  53. package/dist/react-core/src/spellbook.d.ts.map +1 -0
  54. package/dist/{store → react-core/src/store}/actions.d.ts +1 -1
  55. package/dist/react-core/src/store/actions.d.ts.map +1 -0
  56. package/dist/{store/dispatchers.d.ts → react-core/src/store/applyers.d.ts} +1 -1
  57. package/dist/{store/dispatchers.d.ts.map → react-core/src/store/applyers.d.ts.map} +1 -1
  58. package/dist/{store → react-core/src/store}/helpers.d.ts +1 -2
  59. package/dist/react-core/src/store/helpers.d.ts.map +1 -0
  60. package/dist/react-core/src/store/index.d.ts.map +1 -0
  61. package/dist/react-core/src/types.d.ts +104 -0
  62. package/dist/react-core/src/types.d.ts.map +1 -0
  63. package/dist/spellbook.d.ts +2 -0
  64. package/dist/spellbook.js +9 -0
  65. package/dist/spellbook.js.map +1 -0
  66. package/package.json +16 -10
  67. package/dist/components/Cell.d.ts.map +0 -1
  68. package/dist/components/CellStateOverlay.d.ts.map +0 -1
  69. package/dist/components/ColumnMenu.d.ts.map +0 -1
  70. package/dist/components/ColumnMenuFilterSection.d.ts.map +0 -1
  71. package/dist/components/ColumnMenuLabelSection.d.ts.map +0 -1
  72. package/dist/components/ColumnMenuSortSection.d.ts.map +0 -1
  73. package/dist/components/ContextMenu.d.ts.map +0 -1
  74. package/dist/components/Editor.d.ts.map +0 -1
  75. package/dist/components/EditorOptions.d.ts.map +0 -1
  76. package/dist/components/Emitter.d.ts.map +0 -1
  77. package/dist/components/Fixed.d.ts.map +0 -1
  78. package/dist/components/FormulaBar.d.ts.map +0 -1
  79. package/dist/components/FunctionGuide.d.ts.map +0 -1
  80. package/dist/components/GridSheet.d.ts.map +0 -1
  81. package/dist/components/HeaderCellLeft.d.ts.map +0 -1
  82. package/dist/components/HeaderCellTop.d.ts.map +0 -1
  83. package/dist/components/MenuItem.d.ts.map +0 -1
  84. package/dist/components/PluginBase.d.ts.map +0 -1
  85. package/dist/components/Resizer.d.ts.map +0 -1
  86. package/dist/components/RowMenu.d.ts.map +0 -1
  87. package/dist/components/ScrollHandle.d.ts.map +0 -1
  88. package/dist/components/SearchBar.d.ts.map +0 -1
  89. package/dist/components/StoreObserver.d.ts.map +0 -1
  90. package/dist/components/Tabular.d.ts.map +0 -1
  91. package/dist/components/hooks.d.ts.map +0 -1
  92. package/dist/components/svg/AddIcon.d.ts.map +0 -1
  93. package/dist/components/svg/Base.d.ts.map +0 -1
  94. package/dist/components/svg/CloseIcon.d.ts.map +0 -1
  95. package/dist/components/svg/SearchIcon.d.ts.map +0 -1
  96. package/dist/components/useAutocomplete.d.ts.map +0 -1
  97. package/dist/constants.d.ts +0 -21
  98. package/dist/constants.d.ts.map +0 -1
  99. package/dist/formula/evaluator.d.ts +0 -134
  100. package/dist/formula/evaluator.d.ts.map +0 -1
  101. package/dist/formula/formula-error.d.ts +0 -10
  102. package/dist/formula/formula-error.d.ts.map +0 -1
  103. package/dist/formula/functions/__async.d.ts +0 -67
  104. package/dist/formula/functions/__async.d.ts.map +0 -1
  105. package/dist/formula/functions/__base.d.ts +0 -112
  106. package/dist/formula/functions/__base.d.ts.map +0 -1
  107. package/dist/formula/functions/__utils.d.ts +0 -23
  108. package/dist/formula/functions/__utils.d.ts.map +0 -1
  109. package/dist/formula/functions/abs.d.ts +0 -9
  110. package/dist/formula/functions/abs.d.ts.map +0 -1
  111. package/dist/formula/functions/add.d.ts +0 -10
  112. package/dist/formula/functions/add.d.ts.map +0 -1
  113. package/dist/formula/functions/and.d.ts +0 -9
  114. package/dist/formula/functions/and.d.ts.map +0 -1
  115. package/dist/formula/functions/arrayformula.d.ts +0 -12
  116. package/dist/formula/functions/arrayformula.d.ts.map +0 -1
  117. package/dist/formula/functions/average.d.ts +0 -9
  118. package/dist/formula/functions/average.d.ts.map +0 -1
  119. package/dist/formula/functions/concat.d.ts +0 -9
  120. package/dist/formula/functions/concat.d.ts.map +0 -1
  121. package/dist/formula/functions/count.d.ts +0 -9
  122. package/dist/formula/functions/count.d.ts.map +0 -1
  123. package/dist/formula/functions/counta.d.ts +0 -9
  124. package/dist/formula/functions/counta.d.ts.map +0 -1
  125. package/dist/formula/functions/divide.d.ts +0 -10
  126. package/dist/formula/functions/divide.d.ts.map +0 -1
  127. package/dist/formula/functions/eq.d.ts +0 -9
  128. package/dist/formula/functions/eq.d.ts.map +0 -1
  129. package/dist/formula/functions/gt.d.ts +0 -9
  130. package/dist/formula/functions/gt.d.ts.map +0 -1
  131. package/dist/formula/functions/gte.d.ts +0 -9
  132. package/dist/formula/functions/gte.d.ts.map +0 -1
  133. package/dist/formula/functions/if.d.ts +0 -9
  134. package/dist/formula/functions/if.d.ts.map +0 -1
  135. package/dist/formula/functions/iferror.d.ts +0 -10
  136. package/dist/formula/functions/iferror.d.ts.map +0 -1
  137. package/dist/formula/functions/len.d.ts +0 -9
  138. package/dist/formula/functions/len.d.ts.map +0 -1
  139. package/dist/formula/functions/lt.d.ts +0 -9
  140. package/dist/formula/functions/lt.d.ts.map +0 -1
  141. package/dist/formula/functions/lte.d.ts +0 -9
  142. package/dist/formula/functions/lte.d.ts.map +0 -1
  143. package/dist/formula/functions/max.d.ts +0 -9
  144. package/dist/formula/functions/max.d.ts.map +0 -1
  145. package/dist/formula/functions/min.d.ts +0 -9
  146. package/dist/formula/functions/min.d.ts.map +0 -1
  147. package/dist/formula/functions/minus.d.ts +0 -10
  148. package/dist/formula/functions/minus.d.ts.map +0 -1
  149. package/dist/formula/functions/multiply.d.ts +0 -9
  150. package/dist/formula/functions/multiply.d.ts.map +0 -1
  151. package/dist/formula/functions/ne.d.ts +0 -9
  152. package/dist/formula/functions/ne.d.ts.map +0 -1
  153. package/dist/formula/functions/not.d.ts +0 -9
  154. package/dist/formula/functions/not.d.ts.map +0 -1
  155. package/dist/formula/functions/now.d.ts +0 -9
  156. package/dist/formula/functions/now.d.ts.map +0 -1
  157. package/dist/formula/functions/or.d.ts +0 -9
  158. package/dist/formula/functions/or.d.ts.map +0 -1
  159. package/dist/formula/functions/power.d.ts +0 -9
  160. package/dist/formula/functions/power.d.ts.map +0 -1
  161. package/dist/formula/functions/sum.d.ts +0 -9
  162. package/dist/formula/functions/sum.d.ts.map +0 -1
  163. package/dist/formula/functions/uminus.d.ts +0 -9
  164. package/dist/formula/functions/uminus.d.ts.map +0 -1
  165. package/dist/formula/mapping.d.ts +0 -11
  166. package/dist/formula/mapping.d.ts.map +0 -1
  167. package/dist/formula/solver.d.ts +0 -39
  168. package/dist/formula/solver.d.ts.map +0 -1
  169. package/dist/index.d.ts.map +0 -1
  170. package/dist/lib/autofill.d.ts +0 -17
  171. package/dist/lib/autofill.d.ts.map +0 -1
  172. package/dist/lib/book.d.ts +0 -127
  173. package/dist/lib/book.d.ts.map +0 -1
  174. package/dist/lib/cell.d.ts +0 -17
  175. package/dist/lib/cell.d.ts.map +0 -1
  176. package/dist/lib/clipboard.d.ts.map +0 -1
  177. package/dist/lib/coords.d.ts +0 -22
  178. package/dist/lib/coords.d.ts.map +0 -1
  179. package/dist/lib/date.d.ts +0 -2
  180. package/dist/lib/date.d.ts.map +0 -1
  181. package/dist/lib/dom.d.ts +0 -7
  182. package/dist/lib/dom.d.ts.map +0 -1
  183. package/dist/lib/events.d.ts.map +0 -1
  184. package/dist/lib/filter.d.ts +0 -7
  185. package/dist/lib/filter.d.ts.map +0 -1
  186. package/dist/lib/input.d.ts +0 -24
  187. package/dist/lib/input.d.ts.map +0 -1
  188. package/dist/lib/label.d.ts +0 -4
  189. package/dist/lib/label.d.ts.map +0 -1
  190. package/dist/lib/menu.d.ts.map +0 -1
  191. package/dist/lib/operation.d.ts +0 -31
  192. package/dist/lib/operation.d.ts.map +0 -1
  193. package/dist/lib/palette.d.ts +0 -2
  194. package/dist/lib/palette.d.ts.map +0 -1
  195. package/dist/lib/paste.d.ts.map +0 -1
  196. package/dist/lib/popup.d.ts +0 -24
  197. package/dist/lib/popup.d.ts.map +0 -1
  198. package/dist/lib/reference.d.ts +0 -19
  199. package/dist/lib/reference.d.ts.map +0 -1
  200. package/dist/lib/sheet.d.ts +0 -508
  201. package/dist/lib/sheet.d.ts.map +0 -1
  202. package/dist/lib/sheet_utils.d.ts +0 -55
  203. package/dist/lib/sheet_utils.d.ts.map +0 -1
  204. package/dist/lib/spatial.d.ts +0 -79
  205. package/dist/lib/spatial.d.ts.map +0 -1
  206. package/dist/lib/time.d.ts +0 -29
  207. package/dist/lib/time.d.ts.map +0 -1
  208. package/dist/lib/virtualization.d.ts +0 -22
  209. package/dist/lib/virtualization.d.ts.map +0 -1
  210. package/dist/policy/checkbox.d.ts +0 -3
  211. package/dist/policy/checkbox.d.ts.map +0 -1
  212. package/dist/policy/core.d.ts +0 -164
  213. package/dist/policy/core.d.ts.map +0 -1
  214. package/dist/policy/thousand_separator.d.ts +0 -4
  215. package/dist/policy/thousand_separator.d.ts.map +0 -1
  216. package/dist/sentinels.d.ts +0 -40
  217. package/dist/sentinels.d.ts.map +0 -1
  218. package/dist/store/actions.d.ts.map +0 -1
  219. package/dist/store/helpers.d.ts.map +0 -1
  220. package/dist/store/index.d.ts.map +0 -1
  221. package/dist/styles/embedder.d.ts +0 -2
  222. package/dist/styles/embedder.d.ts.map +0 -1
  223. package/dist/styles/minified.d.ts +0 -3
  224. package/dist/styles/minified.d.ts.map +0 -1
  225. package/dist/styles/utils.d.ts +0 -52
  226. package/dist/styles/utils.d.ts.map +0 -1
  227. package/dist/types.d.ts +0 -369
  228. package/dist/types.d.ts.map +0 -1
  229. package/dist/utils.d.ts +0 -2
  230. package/dist/utils.d.ts.map +0 -1
  231. /package/dist/{components → react-core/src/components}/Cell.d.ts +0 -0
  232. /package/dist/{components → react-core/src/components}/CellStateOverlay.d.ts +0 -0
  233. /package/dist/{components → react-core/src/components}/ColumnMenu.d.ts +0 -0
  234. /package/dist/{components → react-core/src/components}/ColumnMenuFilterSection.d.ts +0 -0
  235. /package/dist/{components → react-core/src/components}/ColumnMenuLabelSection.d.ts +0 -0
  236. /package/dist/{components → react-core/src/components}/ColumnMenuSortSection.d.ts +0 -0
  237. /package/dist/{components → react-core/src/components}/ContextMenu.d.ts +0 -0
  238. /package/dist/{components → react-core/src/components}/Editor.d.ts +0 -0
  239. /package/dist/{components → react-core/src/components}/EditorOptions.d.ts +0 -0
  240. /package/dist/{components → react-core/src/components}/Emitter.d.ts +0 -0
  241. /package/dist/{components → react-core/src/components}/Fixed.d.ts +0 -0
  242. /package/dist/{components → react-core/src/components}/FormulaBar.d.ts +0 -0
  243. /package/dist/{components → react-core/src/components}/GridSheet.d.ts +0 -0
  244. /package/dist/{components → react-core/src/components}/HeaderCellLeft.d.ts +0 -0
  245. /package/dist/{components → react-core/src/components}/HeaderCellTop.d.ts +0 -0
  246. /package/dist/{components → react-core/src/components}/MenuItem.d.ts +0 -0
  247. /package/dist/{components → react-core/src/components}/PluginBase.d.ts +0 -0
  248. /package/dist/{components → react-core/src/components}/Resizer.d.ts +0 -0
  249. /package/dist/{components → react-core/src/components}/RowMenu.d.ts +0 -0
  250. /package/dist/{components → react-core/src/components}/ScrollHandle.d.ts +0 -0
  251. /package/dist/{components → react-core/src/components}/SearchBar.d.ts +0 -0
  252. /package/dist/{components → react-core/src/components}/StoreObserver.d.ts +0 -0
  253. /package/dist/{components → react-core/src/components}/Tabular.d.ts +0 -0
  254. /package/dist/{components → react-core/src/components}/svg/AddIcon.d.ts +0 -0
  255. /package/dist/{components → react-core/src/components}/svg/Base.d.ts +0 -0
  256. /package/dist/{components → react-core/src/components}/svg/CloseIcon.d.ts +0 -0
  257. /package/dist/{components → react-core/src/components}/svg/SearchIcon.d.ts +0 -0
  258. /package/dist/{lib → react-core/src/lib}/events.d.ts +0 -0
  259. /package/dist/{lib → react-core/src/lib}/paste.d.ts +0 -0
  260. /package/dist/{store → react-core/src/store}/index.d.ts +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../src/lib/input.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAOrC,eAAO,MAAM,kBAAkB,GAAI,OAAO,mBAAmB,EAAE,MAAM,MAAM,SAQ1E,CAAC;AAEF,KAAK,cAAc,GAAG;IACpB,KAAK,EAAE,mBAAmB,GAAG,IAAI,CAAC;IAClC,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,wBAAgC,cAAc,KAAG,OAgD1E,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,OAAO,mBAAmB,GAAG,IAAI,KAAG,OAEnE,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,OAAO,mBAAmB,GAAG,IAAI,SAM5D,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,OAAO,mBAAmB,GAAG,IAAI,EAAE,OAAO,KAAK,EAAE,OAAO,SAAS,SAS3F,CAAC;AAEF,eAAO,MAAM,OAAO,GAAI,OAAO,mBAAmB,GAAG,IAAI,KAAG,OAK3D,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,2BAA2B,GACtC,GAAG,KAAK,CAAC,aAAa,CAAC,mBAAmB,CAAC,EAC3C,WAAW,MAAM,KAChB,OAsEF,CAAC"}
@@ -1,4 +0,0 @@
1
- import { PointType } from '../types';
2
- import { UserSheet } from './sheet';
3
- export declare const getLabel: (sheet: UserSheet, label: string | undefined, point: PointType, n: number) => string | null;
4
- //# sourceMappingURL=label.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"label.d.ts","sourceRoot":"","sources":["../../src/lib/label.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,eAAO,MAAM,QAAQ,GAAI,OAAO,SAAS,EAAE,OAAO,MAAM,GAAG,SAAS,EAAE,OAAO,SAAS,EAAE,GAAG,MAAM,KAAG,MAAM,GAAG,IAM5G,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["../../src/lib/menu.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH,OAAO,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAClE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,KA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MAAM,mBAAmB,GAAG;IAChC,CAAC,EAAE,MAAM,CAAC;IACV,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,CAAC,EAAE,MAAM,CAAC;IACV,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,+DAA+D;IAC/D,SAAS,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,EAAE,MAAM,CAAC,EAAE,MAAM,IAAI,KAAK,IAAI,CAAC;CACnE,CAAC;AAIF;;;;;;GAMG;AAEH,wBAAgB,qBAAqB,CAAC,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,EAAE,CAAC,GAAG,CAAC,GAAG,IAAI,CAE1E;AAED,uDAAuD;AAEvD,wBAAgB,gBAAgB,CAAC,EAAE,EAAE,MAAM,GAAG,EAAE,CAAC,GAAG,CAAC,GAAG,SAAS,CAEhE"}
@@ -1,31 +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 SetPolicy: operations;
15
- export declare const Sort: operations;
16
- export declare const Filter: operations;
17
- export declare const SetLabel: operations;
18
- export declare const NoOperation: operations;
19
- export declare const Move: operations;
20
- export declare const Update: operations;
21
- export declare const InsertRows: operations;
22
- export declare const InsertCols: operations;
23
- export declare const Add: operations;
24
- export declare const Delete: operations;
25
- export declare const ReadOnly: operations;
26
- export declare const ColumnMenu: operations;
27
- export declare const RowMenu: operations;
28
- export declare const ViewOnly: operations;
29
- export declare const hasOperation: (operation: operations | undefined, flag: operations) => boolean;
30
- export declare const debugOperations: (prevention: operations | undefined) => string[];
31
- //# 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,UAAoE,CAAC;AACnG,eAAO,MAAM,cAAc,EAAE,UAAoE,CAAC;AAClG,eAAO,MAAM,eAAe,EAAE,UAAoE,CAAC;AACnG,eAAO,MAAM,QAAQ,EAAE,UAAoE,CAAC;AAC5F,eAAO,MAAM,MAAM,EAAE,UAAoE,CAAC;AAC1F,eAAO,MAAM,KAAK,EAAE,UAAoE,CAAC;AACzF,eAAO,MAAM,KAAK,EAAE,UAAoE,CAAC;AACzF,eAAO,MAAM,IAAI,EAAE,UAAoE,CAAC;AACxF,eAAO,MAAM,MAAM,EAAE,UAAoE,CAAC;AAC1F,eAAO,MAAM,SAAS,EAAE,UAAoE,CAAC;AAC7F,eAAO,MAAM,IAAI,EAAE,UAAoE,CAAC;AACxF,eAAO,MAAM,MAAM,EAAE,UAAoE,CAAC;AAC1F,eAAO,MAAM,QAAQ,EAAE,UAAoE,CAAC;AAE5F,eAAO,MAAM,WAAW,EAAE,UAAc,CAAC;AAEzC,eAAO,MAAM,IAAI,EAAE,UAA8B,CAAC;AAElD,eAAO,MAAM,MAAM,EAAE,UAAiE,CAAC;AAEvF,eAAO,MAAM,UAAU,EAAE,UAA8C,CAAC;AAExE,eAAO,MAAM,UAAU,EAAE,UAA6C,CAAC;AAEvE,eAAO,MAAM,GAAG,EAAE,UAAoC,CAAC;AAEvD,eAAO,MAAM,MAAM,EAAE,UAAoC,CAAC;AAE1D,eAAO,MAAM,QAAQ,EAAE,UAAyC,CAAC;AAEjE,eAAO,MAAM,UAAU,EAAE,UAAqC,CAAC;AAE/D,eAAO,MAAM,OAAO,EAAE,UAAoE,CAAC;AAE3F,eAAO,MAAM,QAAQ,EAAE,UAAkC,CAAC;AAE1D,eAAO,MAAM,YAAY,GAAI,WAAW,UAAU,GAAG,SAAS,EAAE,MAAM,UAAU,YAK/E,CAAC;AAGF,eAAO,MAAM,eAAe,GAAI,YAAY,UAAU,GAAG,SAAS,aAgDjE,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,24 +0,0 @@
1
- /**
2
- * lib/popup.ts
3
- *
4
- * Utility functions for computing the position of floating UI elements
5
- * (tooltips, dropdowns, autocomplete lists, function guides, etc.)
6
- * so they don't overflow the viewport.
7
- */
8
- export type HAlign = 'left' | 'right';
9
- export type VAlign = 'top' | 'bottom';
10
- export type PopupPosition = {
11
- x: number;
12
- y: number;
13
- hAlign: HAlign;
14
- };
15
- export declare const calcBelowPosition: (rect: DOMRect, maxWidth?: number, margin?: number) => PopupPosition;
16
- export declare const clampLeft: (left: number, width: number, margin?: number) => number;
17
- export type SideStyle = {
18
- left: string;
19
- right: string;
20
- };
21
- export declare const calcSideStyle: (el: HTMLElement, gap?: number) => SideStyle;
22
- export declare const clampPopup: (el: HTMLElement) => void;
23
- export declare const hAlignTransform: (hAlign: HAlign) => string;
24
- //# sourceMappingURL=popup.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"popup.d.ts","sourceRoot":"","sources":["../../src/lib/popup.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAQH,MAAM,MAAM,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;AACtC,MAAM,MAAM,MAAM,GAAG,KAAK,GAAG,QAAQ,CAAC;AAEtC,MAAM,MAAM,aAAa,GAAG;IAC1B,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAgBF,eAAO,MAAM,iBAAiB,GAAI,MAAM,OAAO,EAAE,iBAAc,EAAE,eAAe,KAAG,aAKlF,CAAC;AAUF,eAAO,MAAM,SAAS,GAAI,MAAM,MAAM,EAAE,OAAO,MAAM,EAAE,eAAe,KAAG,MAIxE,CAAC;AAgBF,MAAM,MAAM,SAAS,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAExD,eAAO,MAAM,aAAa,GAAI,IAAI,WAAW,EAAE,YAAY,KAAG,SAc7D,CAAC;AAYF,eAAO,MAAM,UAAU,GAAI,IAAI,WAAW,KAAG,IAW5C,CAAC;AASF,eAAO,MAAM,eAAe,GAAI,QAAQ,MAAM,KAAG,MAA6D,CAAC"}
@@ -1,19 +0,0 @@
1
- import { CellsByIdType, Id } from '../types';
2
- import { Sheet } from './sheet';
3
- export declare class ReferencePreserver {
4
- map: {
5
- [id: Id]: Id;
6
- };
7
- private sheet;
8
- private dependentIds;
9
- constructor(sheet: Sheet);
10
- collectDependents(...ids: Id[]): void;
11
- /**
12
- * Compare two idMatrix snapshots (`before` and `after`) and populate
13
- * `this.map` and collect dependents for every position where the occupying
14
- * cell ID changed. Works for any rearrangement (sort, move, etc.).
15
- */
16
- buildMap(before: Id[], after: Id[]): void;
17
- resolveDependents(operation?: 'move' | 'removeRows' | 'removeCols'): CellsByIdType;
18
- }
19
- //# sourceMappingURL=reference.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"reference.d.ts","sourceRoot":"","sources":["../../src/lib/reference.ts"],"names":[],"mappings":"AAAA,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,iBAAiB,CAAC,GAAG,GAAG,EAAE,EAAE,EAAE;IAQ9B;;;;OAIG;IACH,QAAQ,CAAC,MAAM,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE;IAWlC,iBAAiB,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,YAAY,GAAG,YAAY,GAAG,aAAa;CAmBnF"}
@@ -1,508 +0,0 @@
1
- import { Id, AreaType, CellsByAddressType, PointType, Address, CellFilter, MatrixType, CellType, FilterConfig, HistoryType, StorePatchType, ShapeType, RectType, OperatorType, OperationType, RawCellType, StoreType, Resolution, System } from '../types';
2
- import { FunctionMapping } from '../formula/functions/__base';
3
- import { ProcessFormulaProps } from '../formula/evaluator';
4
- import { SolveOptions } from '../formula/solver';
5
- import { Registry } from './book';
6
- import { PolicyType, RenderProps } from '../policy/core';
7
- type CellField = keyof CellType;
8
- export type SheetLimits = {
9
- minRows?: number;
10
- maxRows?: number;
11
- minCols?: number;
12
- maxCols?: number;
13
- };
14
- type Props = {
15
- limits?: SheetLimits;
16
- functions?: FunctionMapping;
17
- name?: string;
18
- registry?: Registry;
19
- };
20
- type MoveProps = {
21
- srcSheet?: UserSheet;
22
- src: AreaType;
23
- dst: AreaType;
24
- operator?: OperatorType;
25
- undoReflection?: StorePatchType;
26
- redoReflection?: StorePatchType;
27
- historicize?: boolean;
28
- };
29
- export interface UserSheet {
30
- changedTime: number;
31
- lastChangedTime?: number;
32
- area: AreaType;
33
- top: number;
34
- left: number;
35
- bottom: number;
36
- right: number;
37
- minNumRows: number;
38
- maxNumRows: number;
39
- minNumCols: number;
40
- maxNumCols: number;
41
- headerWidth: number;
42
- headerHeight: number;
43
- name: string;
44
- /**
45
- * Returns the raw sheet object, which is used for internal operations.
46
- * This is not intended for public use and may change in future versions.
47
- */
48
- __raw__: Sheet;
49
- getRectSize(area: AreaType): RectType;
50
- getCell(point: PointType, options?: {
51
- resolution?: Resolution;
52
- raise?: boolean;
53
- }): CellType | undefined;
54
- getPolicy(point: PointType): PolicyType;
55
- get numRows(): number;
56
- get numCols(): number;
57
- get shape(): ShapeType;
58
- move(args: MoveProps): UserSheet;
59
- copy(args: MoveProps & {
60
- onlyValue?: boolean;
61
- }): UserSheet;
62
- update(args: {
63
- diff: CellsByAddressType;
64
- historicize?: boolean;
65
- partial?: boolean;
66
- updateChangedTime?: boolean;
67
- reflection?: StorePatchType;
68
- }): UserSheet;
69
- writeMatrix(args: {
70
- point: PointType;
71
- matrix: MatrixType<string>;
72
- updateChangedTime?: boolean;
73
- reflection?: StorePatchType;
74
- }): UserSheet;
75
- write(args: {
76
- point: PointType;
77
- value: string;
78
- updateChangedTime?: boolean;
79
- reflection?: StorePatchType;
80
- }): UserSheet;
81
- insertRows(args: {
82
- y: number;
83
- numRows: number;
84
- baseY: number;
85
- diff?: CellsByAddressType;
86
- partial?: boolean;
87
- updateChangedTime?: boolean;
88
- reflection?: StorePatchType;
89
- }): UserSheet;
90
- removeRows(args: {
91
- y: number;
92
- numRows: number;
93
- reflection?: StorePatchType;
94
- }): UserSheet;
95
- insertCols(args: {
96
- x: number;
97
- numCols: number;
98
- baseX: number;
99
- diff?: CellsByAddressType;
100
- partial?: boolean;
101
- updateChangedTime?: boolean;
102
- reflection?: StorePatchType;
103
- }): UserSheet;
104
- removeCols(args: {
105
- x: number;
106
- numCols: number;
107
- reflection?: StorePatchType;
108
- }): UserSheet;
109
- undo(): {
110
- history: HistoryType | null;
111
- };
112
- redo(): {
113
- history: HistoryType | null;
114
- };
115
- histories(): HistoryType[];
116
- historyIndex(): number;
117
- historySize(): number;
118
- setHeaderHeight(height: number, historicize?: boolean): UserSheet;
119
- setHeaderWidth(width: number, historicize?: boolean): UserSheet;
120
- sortRows(args: {
121
- x: number;
122
- direction: 'asc' | 'desc';
123
- }): UserSheet;
124
- filterRows(args?: {
125
- x?: number;
126
- filter?: FilterConfig;
127
- }): UserSheet;
128
- isRowFiltered(y: number): boolean;
129
- hasActiveFilters(): boolean;
130
- hasPendingCells(): boolean;
131
- waitForPending(): Promise<void>;
132
- getLastChangedAddresses(): Address[];
133
- getSerializedValue(props: {
134
- point: PointType;
135
- cell?: CellType;
136
- resolution?: Resolution;
137
- }): string;
138
- }
139
- type InternalToValueMatrixProps = {
140
- area?: AreaType;
141
- resolution?: Resolution;
142
- raise?: boolean;
143
- filter?: CellFilter;
144
- asScalar?: boolean;
145
- at?: Id;
146
- };
147
- export declare class Sheet implements UserSheet {
148
- /** @internal */
149
- __gsType: string;
150
- changedTime: number;
151
- lastChangedTime?: number;
152
- area: AreaType;
153
- /** @internal */
154
- private _limits;
155
- get minNumRows(): number;
156
- get maxNumRows(): number;
157
- get minNumCols(): number;
158
- get maxNumCols(): number;
159
- /** @internal */
160
- id: number;
161
- name: string;
162
- /** @internal */
163
- prevName: string;
164
- /** @internal */
165
- status: 0 | 1 | 2;
166
- /** @internal */
167
- registry: Registry;
168
- /** @internal */
169
- idsToBeIdentified: Id[];
170
- /** @internal */
171
- totalWidth: number;
172
- /** @internal */
173
- totalHeight: number;
174
- /** @internal */
175
- fullHeight: number;
176
- /** @internal */
177
- defaultColWidth: number;
178
- /** @internal */
179
- defaultRowHeight: number;
180
- /** @internal */
181
- private version;
182
- /** @internal */
183
- private idMatrix;
184
- /** @internal */
185
- private addressCaches;
186
- /** @internal */
187
- private lastChangedAddresses;
188
- constructor({ limits, name, registry }: Props);
189
- static is(obj: any): obj is Sheet;
190
- toString(): string;
191
- get headerHeight(): number;
192
- setHeaderHeight(height: number, historicize?: boolean): Sheet;
193
- get headerWidth(): number;
194
- setHeaderWidth(width: number, historicize?: boolean): Sheet;
195
- /**
196
- * Get the raw (mutable) cell data for a point. Unlike getCell, this returns the actual registry.data reference.
197
- * @internal
198
- */
199
- private _pointToRawCell;
200
- isRowFiltered(y: number): boolean;
201
- hasActiveFilters(): boolean;
202
- /**
203
- * Returns true if any data cell in this sheet currently holds a Pending value
204
- * (i.e. an async formula that hasn't resolved yet).
205
- */
206
- hasPendingCells(): boolean;
207
- /**
208
- * Returns a Promise that resolves when all in-flight async formula computations
209
- * have completed and no data cells hold Pending values.
210
- * If nothing is pending, resolves immediately.
211
- * Useful for waiting before sort/filter so that cell values are fully resolved.
212
- */
213
- waitForPending(): Promise<void>;
214
- /**
215
- * Returns the addresses that were changed in the most recent `_update()` call.
216
- * Useful inside `onChange` to know which cells were modified.
217
- */
218
- getLastChangedAddresses(): Address[];
219
- /**
220
- * Capture the full cell state of all filter-related header cells as a CellsByIdType snapshot.
221
- * @internal
222
- */
223
- private _captureFilterCellStates;
224
- filterRows({ x, filter, }?: {
225
- x?: number;
226
- filter?: FilterConfig;
227
- }): Sheet;
228
- /** @internal */
229
- private _reapplyFilters;
230
- sortRows({ x, direction }: {
231
- x: number;
232
- direction: 'asc' | 'desc';
233
- }): Sheet;
234
- /** @internal */
235
- private _sortRowMapping;
236
- get isInitialized(): boolean;
237
- get policies(): {
238
- [policyName: string]: import('../policy/core').Policy | null;
239
- };
240
- /** @internal */
241
- getSystem(point: PointType): System | undefined;
242
- /** @internal */
243
- processFormula(value: any, { idMap, ...props }: ProcessFormulaProps): any;
244
- /** @internal */
245
- resolveFormulas(): void;
246
- /** @internal */
247
- getSheetBySheetName(sheetName: string): Sheet | null;
248
- /** @internal */
249
- getSheetBySheetId(sheetId: number): Sheet | null;
250
- /** @internal */
251
- private static _stack;
252
- /** @internal */
253
- initialize(cells: CellsByAddressType): void;
254
- /** @internal */
255
- private _incrementVersion;
256
- /** @internal */
257
- private _xsheetDispatch;
258
- /** @internal */
259
- private _generateId;
260
- getRectSize({ top, left, bottom, right }: AreaType): RectType;
261
- /** @internal */
262
- setTotalSize(): void;
263
- /** @internal */
264
- refresh(relocate?: boolean, resize?: boolean): Sheet;
265
- /** @internal */
266
- clone(relocate?: boolean): Sheet;
267
- /** @internal */
268
- getPointById(id: Id, slideY?: number, slideX?: number): PointType & {
269
- absCol: boolean;
270
- absRow: boolean;
271
- };
272
- /** @internal */
273
- getAddressById(id: Id, slideY?: number, slideX?: number): string | undefined;
274
- /** @internal */
275
- clearAddressCaches(): void;
276
- /** @internal */
277
- private _warmAddressCaches;
278
- /** @internal */
279
- getId(point: PointType): string;
280
- /** @internal */
281
- getCell(point: PointType, { resolution, raise }?: SolveOptions): CellType | undefined;
282
- /** @internal */
283
- get numRows(): number;
284
- get numCols(): number;
285
- get top(): number;
286
- get left(): number;
287
- get bottom(): number;
288
- get right(): number;
289
- /** @internal */
290
- _toValueMatrix({ area, at, resolution, raise, filter, asScalar, }?: InternalToValueMatrixProps): any[][];
291
- /** @internal */
292
- private _pushHistory;
293
- /** @internal */
294
- private _cleanObsolete;
295
- /** @internal */
296
- private _cleanStrayed;
297
- /**
298
- * Remove an id from registry.data and registry.dependents entirely.
299
- * @internal
300
- */
301
- private _deleteOrphanedId;
302
- /** @internal */
303
- private _copyCellLayout;
304
- move({ srcSheet, src, dst, historicize, operator, undoReflection, redoReflection, }: MoveProps): Sheet;
305
- /**
306
- * Build MoveRelations from src area to dst area, skipping filtered rows.
307
- *
308
- * Layout of the returned array (processed in this order by _moveCells):
309
- * 1. Entries where [0] is a newly-generated ID — these fill the vacated src cells (processed last in forward order)
310
- * 2. Entries where [0] is a src address and [1] is a dst address — the actual moves (processed first in forward order, descending)
311
- * Entries whose [1] is an existing ID mean the destination cell is displaced/overflowed and
312
- * is no longer addressable; on forward pass they are skipped; on reverse pass the ID is written back.
313
- */
314
- /** @internal */
315
- private _createMoveRelations;
316
- get defaultPolicy(): PolicyType;
317
- /**
318
- * Apply (or reverse) a MoveRelations list.
319
- *
320
- * Forward (reverse=false): process descending — actual ID moves happen bottom-up so
321
- * earlier entries don't clobber later ones; vacate entries (at front of array) are
322
- * applied last.
323
- * Reverse (reverse=true): process ascending — restores IDs in the natural order.
324
- *
325
- * On forward pass: applies policy, collects diffBefore, runs ReferencePreserver.
326
- * On reverse pass: only moves IDs (caller is responsible for applyDiff(diffBefore)).
327
- */
328
- /** @internal */
329
- private _moveCells;
330
- copy({ srcSheet, src, dst, onlyValue, operator, undoReflection, redoReflection, }: MoveProps & {
331
- onlyValue?: boolean;
332
- }): Sheet;
333
- getPolicy(point: PointType): PolicyType;
334
- /** @internal */
335
- private _update;
336
- update({ diff, partial, updateChangedTime, historicize, operator, operation: op, ignoreFields, undoReflection, redoReflection, }: {
337
- diff: CellsByAddressType;
338
- partial?: boolean;
339
- updateChangedTime?: boolean;
340
- historicize?: boolean;
341
- operator?: OperatorType;
342
- operation?: OperationType;
343
- ignoreFields?: CellField[];
344
- undoReflection?: StorePatchType;
345
- redoReflection?: StorePatchType;
346
- }): Sheet;
347
- /** @internal */
348
- writeRawCellMatrix({ point, matrix, updateChangedTime, historicize, onlyValue, operator, undoReflection, redoReflection, }: {
349
- point: PointType;
350
- matrix: MatrixType<RawCellType>;
351
- updateChangedTime?: boolean;
352
- historicize?: boolean;
353
- onlyValue?: boolean;
354
- operator?: OperatorType;
355
- undoReflection?: StorePatchType;
356
- redoReflection?: StorePatchType;
357
- }): Sheet;
358
- writeMatrix(props: {
359
- point: PointType;
360
- matrix: MatrixType<string>;
361
- updateChangedTime?: boolean;
362
- historicize?: boolean;
363
- operator?: OperatorType;
364
- undoReflection?: StorePatchType;
365
- redoReflection?: StorePatchType;
366
- }): Sheet;
367
- write(props: {
368
- point: PointType;
369
- value: string;
370
- updateChangedTime?: boolean;
371
- historicize?: boolean;
372
- operator?: OperatorType;
373
- undoReflection?: StorePatchType;
374
- redoReflection?: StorePatchType;
375
- }): Sheet;
376
- insertRows({ y, numRows, baseY, diff, partial, updateChangedTime, operator, undoReflection, redoReflection, }: {
377
- y: number;
378
- numRows: number;
379
- baseY: number;
380
- diff?: CellsByAddressType;
381
- partial?: boolean;
382
- updateChangedTime?: boolean;
383
- operator?: OperatorType;
384
- undoReflection?: StorePatchType;
385
- redoReflection?: StorePatchType;
386
- }): Sheet;
387
- removeRows({ y, numRows, operator, undoReflection, redoReflection, }: {
388
- y: number;
389
- numRows: number;
390
- operator?: OperatorType;
391
- undoReflection?: StorePatchType;
392
- redoReflection?: StorePatchType;
393
- }): Sheet;
394
- insertCols({ x, numCols, baseX, diff, partial, updateChangedTime, operator, undoReflection, redoReflection, }: {
395
- x: number;
396
- numCols: number;
397
- baseX: number;
398
- diff?: CellsByAddressType;
399
- partial?: boolean;
400
- updateChangedTime?: boolean;
401
- operator?: OperatorType;
402
- undoReflection?: StorePatchType;
403
- redoReflection?: StorePatchType;
404
- }): Sheet;
405
- removeCols({ x, numCols, operator, undoReflection, redoReflection, }: {
406
- x: number;
407
- numCols: number;
408
- operator?: OperatorType;
409
- undoReflection?: StorePatchType;
410
- redoReflection?: StorePatchType;
411
- }): Sheet;
412
- /** @internal */
413
- histories(): HistoryType[];
414
- /** @internal */
415
- historyIndex(): number;
416
- /** @internal */
417
- historySize(): number;
418
- /** @internal */
419
- getHistoryLimit(): number;
420
- /** @internal */
421
- parse(point: PointType, value: any): CellType;
422
- /** @internal */
423
- render(props: RenderProps): any;
424
- getSerializedValue({ point, cell, resolution, }: {
425
- point: PointType;
426
- cell?: CellType;
427
- resolution?: Resolution;
428
- }): string;
429
- /** @internal */
430
- trim(area: AreaType): Sheet;
431
- /**
432
- * Solve all formulas in this sheet and return a 2D matrix of resolved values.
433
- * @internal
434
- */
435
- solve({ raise, at }: {
436
- raise?: boolean;
437
- at: Id;
438
- }): any[][];
439
- /**
440
- * Collapse this sheet to a scalar (top-left cell value).
441
- * @internal
442
- */
443
- strip({ raise, at }: {
444
- raise?: boolean;
445
- at?: Id;
446
- }): any;
447
- /** @internal */
448
- private _applyDiff;
449
- undo(): {
450
- history: null;
451
- newSheet: Sheet;
452
- callback?: undefined;
453
- } | {
454
- history: HistoryType;
455
- callback: ({ sheetReactive: sheetRef }: StoreType) => void;
456
- newSheet?: undefined;
457
- };
458
- redo(): {
459
- history: null;
460
- newSheet: Sheet;
461
- callback?: undefined;
462
- } | {
463
- history: HistoryType;
464
- callback: ({ sheetReactive: sheetRef }: StoreType) => void;
465
- newSheet?: undefined;
466
- };
467
- /** @internal */
468
- getFunctionByName(name: string): typeof import('../formula/functions/__base').BaseFunction;
469
- /** @internal */
470
- clearDependencies(id: Id): void;
471
- /** @internal */
472
- addDependency(id: Id, dependency: Id): void;
473
- /** @internal */
474
- getSolvedCache(point: PointType): [boolean, any];
475
- /** @internal */
476
- setSolvingCache(point: PointType): void;
477
- /** @internal */
478
- finishSolvedCache(point: PointType, value: any): void;
479
- /** @internal */
480
- clearSolvedCaches(): void;
481
- /**
482
- * Spill a 2D matrix of values starting from the origin cell.
483
- * The origin cell receives matrix[0][0] and adjacent cells receive spill values in solvedCaches.
484
- * For a 1×1 matrix, no spill occurs — the single value is cached directly.
485
- * Throws FormulaError('#REF!') if the spill range is obstructed.
486
- *
487
- * @param origin The anchor cell that produced the spill.
488
- * @param matrix The 2D array of resolved scalar values.
489
- * @returns The top-left value (matrix[0][0]).
490
- * @internal
491
- */
492
- spill(origin: PointType, matrix: any[][]): any;
493
- /** @internal */
494
- sheetPrefix(omit?: boolean): string;
495
- /** @internal */
496
- rangeToArea(range: string): {
497
- top: number;
498
- left: number;
499
- bottom: number;
500
- right: number;
501
- };
502
- get __raw__(): Sheet;
503
- get shape(): ShapeType;
504
- get hasSingleCell(): boolean;
505
- get currentVersion(): number;
506
- }
507
- export {};
508
- //# sourceMappingURL=sheet.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sheet.d.ts","sourceRoot":"","sources":["../../src/lib/sheet.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EAGF,QAAQ,EAER,kBAAkB,EAClB,SAAS,EACT,OAAO,EACP,UAAU,EACV,UAAU,EACV,QAAQ,EACR,YAAY,EACZ,WAAW,EAEX,cAAc,EACd,SAAS,EACT,QAAQ,EACR,YAAY,EACZ,aAAa,EACb,WAAW,EAEX,SAAS,EACT,UAAU,EAIV,MAAM,EACP,MAAM,UAAU,CAAC;AAGlB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAS,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAElE,OAAO,EAAgB,YAAY,EAA0B,MAAM,mBAAmB,CAAC;AAkBvF,OAAO,EAAE,QAAQ,EAAkB,MAAM,QAAQ,CAAC;AAClD,OAAO,EAAc,UAAU,EAAuB,WAAW,EAAe,MAAM,gBAAgB,CAAC;AAIvG,KAAK,SAAS,GAAG,MAAM,QAAQ,CAAC;AAEhC,MAAM,MAAM,WAAW,GAAG;IACxB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,KAAK,KAAK,GAAG;IACX,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,SAAS,CAAC,EAAE,eAAe,CAAC;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACrB,CAAC;AAIF,KAAK,SAAS,GAAG;IACf,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,GAAG,EAAE,QAAQ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