@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":"HeaderCellTop.d.ts","sourceRoot":"","sources":["../../src/components/HeaderCellTop.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AA6BhC,KAAK,KAAK,GAAG;IACX,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,KAAK,CAmRlC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"MenuItem.d.ts","sourceRoot":"","sources":["../../src/components/MenuItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,KAAK,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,UAAU,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,KAAK,eAMtD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Resizer.d.ts","sourceRoot":"","sources":["../../src/components/Resizer.tsx"],"names":[],"mappings":"AAYA,eAAO,MAAM,OAAO,mBAuGnB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"RowMenu.d.ts","sourceRoot":"","sources":["../../src/components/RowMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAAc,MAAM,OAAO,CAAC;AA8C5C,eAAO,MAAM,OAAO,EAAE,EAmCrB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ScrollHandle.d.ts","sourceRoot":"","sources":["../../src/components/ScrollHandle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAU3C,KAAK,KAAK,GAAG;IACX,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,aAAa,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAQF,wBAAgB,YAAY,CAAC,EAAE,KAAK,EAAE,UAAc,EAAE,QAAY,EAAE,SAAc,EAAE,EAAE,KAAK,eAsL1F"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"SearchBar.d.ts","sourceRoot":"","sources":["../../src/components/SearchBar.tsx"],"names":[],"mappings":"AAYA,eAAO,MAAM,SAAS,0BAuMrB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"StoreObserver.d.ts","sourceRoot":"","sources":["../../src/components/StoreObserver.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAGlD,OAAO,KAAK,EAAE,WAAW,EAAS,WAAW,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAQ7E,KAAK,kBAAkB,GAAG,WAAW,GAAG;IACtC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,gBAAgB,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IAChD,QAAQ,CAAC,EAAE,gBAAgB,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;CACjD,CAAC;AAEF,eAAO,MAAM,cAAc,qDAAwC,CAAC;AACpE,eAAO,MAAM,WAAW,4CAAyC,CAAC;AAClE,eAAO,MAAM,cAAc,qDAAwC,CAAC;AACpE,eAAO,MAAM,WAAW,4CAAyC,CAAC;AAClE,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAqFhD,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Tabular.d.ts","sourceRoot":"","sources":["../../src/components/Tabular.tsx"],"names":[],"mappings":"AAiBA,eAAO,MAAM,OAAO,0BAuOnB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../src/components/hooks.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU;;;;;;CAStB,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,CAAC,EAAE,OAAO,CAAC,EAAE,cAAW,MAWnD,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,UAAU,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,EAAE,cAAW,MAQzE,GAAG,MAAM,GAAG,EAAE,SAMvB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"AddIcon.d.ts","sourceRoot":"","sources":["../../../src/components/svg/AddIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAQ,MAAM,QAAQ,CAAC;AAI9C,eAAO,MAAM,OAAO,GAAI,wBAAsC,SAAS,gBAQtE,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Base.d.ts","sourceRoot":"","sources":["../../../src/components/svg/Base.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtD,MAAM,WAAW,SAAS;IACxB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,UAAU,SAAU,SAAQ,SAAS;IACnC,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAID,eAAO,MAAM,IAAI,GAAI,2BAAgC,SAAS,gBAkB7D,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"CloseIcon.d.ts","sourceRoot":"","sources":["../../../src/components/svg/CloseIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAQ,MAAM,QAAQ,CAAC;AAI9C,eAAO,MAAM,SAAS,GAAI,wBAAsC,SAAS,gBAQxE,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"SearchIcon.d.ts","sourceRoot":"","sources":["../../../src/components/svg/SearchIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAQ,MAAM,QAAQ,CAAC;AAI9C,eAAO,MAAM,UAAU,GAAI,wBAAsC,SAAS,gBAQzE,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"useAutocomplete.d.ts","sourceRoot":"","sources":["../../src/components/useAutocomplete.ts"],"names":[],"mappings":"AACA,OAAO,EAAoB,KAAK,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACzE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAGzD,KAAK,oBAAoB,GAAG;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,kBAAkB,EAAE,CAAC;IACjC,SAAS,CAAC,EAAE,eAAe,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,sDAAsD,oBAAoB;;;;gCA6L7F,GAAG;;;;uBAkBR,KAAK,CAAC,aAAa,CAAC,mBAAmB,CAAC;yBAYxC,KAAK,CAAC,aAAa,CAAC,mBAAmB,CAAC;;;;CAsB/C,CAAC"}
@@ -1,21 +0,0 @@
1
- import { ZoneType } from './types';
2
- export declare const DEFAULT_HISTORY_LIMIT = 20;
3
- export declare const DEFAULT_HEIGHT = 24;
4
- export declare const DEFAULT_WIDTH = 90;
5
- export declare const SHEET_HEIGHT = 500;
6
- export declare const SHEET_WIDTH = 1000;
7
- export declare const HEADER_HEIGHT = 24;
8
- export declare const HEADER_WIDTH = 50;
9
- export declare const MIN_WIDTH = 5;
10
- export declare const MIN_HEIGHT = 5;
11
- export declare const OVERSCAN_X = 5;
12
- export declare const OVERSCAN_Y = 10;
13
- export declare const DEFAULT_ALPHABET_CACHE_SIZE = 1000;
14
- export declare const SECONDS_IN_DAY = 86400;
15
- export declare const FULLDATE_FORMAT_UTC = "YYYY-MM-DDTHH:mm:ss.SSSZ";
16
- export declare const RESET_ZONE: ZoneType;
17
- export declare const BASE_DATE: Date;
18
- export declare const DEFAULT_KEY = "default";
19
- export declare const DEFAULT_COL_KEY = "defaultCol";
20
- export declare const DEFAULT_ROW_KEY = "defaultRow";
21
- //# sourceMappingURL=constants.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAExC,eAAO,MAAM,qBAAqB,KAAK,CAAC;AAExC,eAAO,MAAM,cAAc,KAAK,CAAC;AACjC,eAAO,MAAM,aAAa,KAAK,CAAC;AAEhC,eAAO,MAAM,YAAY,MAAM,CAAC;AAChC,eAAO,MAAM,WAAW,OAAO,CAAC;AAEhC,eAAO,MAAM,aAAa,KAAK,CAAC;AAChC,eAAO,MAAM,YAAY,KAAK,CAAC;AAE/B,eAAO,MAAM,SAAS,IAAI,CAAC;AAC3B,eAAO,MAAM,UAAU,IAAI,CAAC;AAE5B,eAAO,MAAM,UAAU,IAAI,CAAC;AAC5B,eAAO,MAAM,UAAU,KAAK,CAAC;AAE7B,eAAO,MAAM,2BAA2B,OAAO,CAAC;AAEhD,eAAO,MAAM,cAAc,QAAQ,CAAC;AACpC,eAAO,MAAM,mBAAmB,6BAA6B,CAAC;AAE9D,eAAO,MAAM,UAAU,EAAE,QAKxB,CAAC;AAGF,eAAO,MAAM,SAAS,MAAuB,CAAC;AAE9C,eAAO,MAAM,WAAW,YAAY,CAAC;AACrC,eAAO,MAAM,eAAe,eAAe,CAAC;AAC5C,eAAO,MAAM,eAAe,eAAe,CAAC"}
@@ -1,134 +0,0 @@
1
- import { Sheet } from '../lib/sheet';
2
- import { Id } from '../types';
3
- type EvaluateProps = {
4
- sheet: Sheet;
5
- };
6
- type IdentityBaseProps = {
7
- slideY?: number;
8
- slideX?: number;
9
- operation?: 'move' | 'removeRows' | 'removeCols';
10
- dependency: Id;
11
- };
12
- export type ProcessFormulaProps = IdentityBaseProps & {
13
- idMap?: {
14
- [id: string]: string;
15
- };
16
- };
17
- export type IdentifyProps = IdentityBaseProps & {
18
- sheet: Sheet;
19
- };
20
- export type DisplayProps = {
21
- sheet: Sheet;
22
- slideY?: number;
23
- slideX?: number;
24
- };
25
- declare class Entity<T = any> {
26
- value: T;
27
- ids: string[];
28
- constructor(value: T);
29
- }
30
- export declare class ValueEntity extends Entity {
31
- evaluate(): any;
32
- }
33
- export declare class UnreferencedEntity extends Entity {
34
- evaluate(): void;
35
- }
36
- export declare class InvalidRefEntity extends Entity<string> {
37
- evaluate(): void;
38
- }
39
- export declare class RefEntity extends Entity<string> {
40
- constructor(value: string);
41
- stringify(): string;
42
- evaluate({ sheet }: EvaluateProps): Sheet;
43
- identify(props: IdentifyProps): string;
44
- }
45
- export declare class RangeEntity extends Entity<string> {
46
- stringify(): string;
47
- evaluate({ sheet }: EvaluateProps): Sheet;
48
- identify(props: IdentifyProps): string;
49
- }
50
- export declare class IdEntity extends Entity<string> {
51
- private parse;
52
- evaluate({ sheet }: EvaluateProps): Sheet;
53
- display({ sheet, slideY, slideX }: DisplayProps): string;
54
- identify(props: IdentifyProps): string;
55
- }
56
- export declare class IdRangeEntity extends Entity<string> {
57
- private parse;
58
- evaluate({ sheet }: EvaluateProps): Sheet;
59
- display({ sheet, slideY, slideX }: DisplayProps): string;
60
- identify(props: IdentifyProps): string;
61
- }
62
- export declare class FunctionEntity {
63
- args: Expression[];
64
- name: string;
65
- precedence: number;
66
- private at?;
67
- constructor(name: string, precedence?: number, args?: Expression[], at?: Id);
68
- evaluate({ sheet }: EvaluateProps): any;
69
- }
70
- export type Expression = ValueEntity | RefEntity | RangeEntity | IdEntity | IdRangeEntity | FunctionEntity | UnreferencedEntity | InvalidRefEntity;
71
- export type TokenType = 'VALUE' | 'REF' | 'RANGE' | 'ID' | 'ID_RANGE' | 'FUNCTION' | 'PREFIX_OPERATOR' | 'INFIX_OPERATOR' | 'POSTFIX_OPERATOR' | 'OPEN' | 'CLOSE' | 'COMMA' | 'SPACE' | 'UNREFERENCED' | 'INVALID_REF';
72
- export declare class Token {
73
- type: TokenType;
74
- entity: any;
75
- precedence: number;
76
- closed: boolean;
77
- private at?;
78
- constructor(type: TokenType, entity: any, precedence?: number, at?: Id, closed?: boolean);
79
- length(): number;
80
- stringify(): string;
81
- convert(): ValueEntity | UnreferencedEntity | InvalidRefEntity | RefEntity | RangeEntity | IdEntity | IdRangeEntity | FunctionEntity | undefined;
82
- }
83
- type LexerOption = {
84
- at?: Id;
85
- };
86
- export declare class Lexer {
87
- private index;
88
- private formula;
89
- tokens: Token[];
90
- foreign: boolean;
91
- identifiedFormula: string;
92
- dependencyIds: string[];
93
- private at?;
94
- constructor(formula: string, options?: LexerOption);
95
- private isWhiteSpace;
96
- private next;
97
- private get;
98
- private getToken;
99
- getTokenIndexByCharPosition(pos: number): [number, boolean];
100
- getTokenPositionRange(index: number, slide?: number): [number, number];
101
- stringify(): string;
102
- identify(props: IdentifyProps): void;
103
- display({ sheet }: DisplayProps): string;
104
- tokenize(idMap?: {
105
- [id: Id]: Id;
106
- }): void;
107
- private skipSpaces;
108
- private getString;
109
- }
110
- export declare class Parser {
111
- index: number;
112
- depth: number;
113
- tokens: Token[];
114
- constructor(tokens: Token[]);
115
- build(): Expression | undefined;
116
- private parse;
117
- }
118
- /** Alias for Parser, exported for external tooling (e.g. Debugger). */
119
- export declare const FormulaParser: typeof Parser;
120
- export declare const stripSheetName: (sheetName: string) => string;
121
- export declare function splitRef(ref: string): {
122
- sheetName: string | undefined;
123
- addresses: string[];
124
- };
125
- export declare const parseRef: (ref: string, { sheet, operation, dependency }: IdentifyProps) => {
126
- sheet: Sheet;
127
- sheetId?: number;
128
- formula?: string;
129
- sheetName?: string;
130
- addresses: string[];
131
- ids: string[];
132
- };
133
- export {};
134
- //# sourceMappingURL=evaluator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"evaluator.d.ts","sourceRoot":"","sources":["../../src/formula/evaluator.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AACrC,OAAO,EAAE,EAAE,EAAa,MAAM,UAAU,CAAC;AAGzC,KAAK,aAAa,GAAG;IACnB,KAAK,EAAE,KAAK,CAAC;CACd,CAAC;AAEF,KAAK,iBAAiB,GAAG;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,GAAG,YAAY,GAAG,YAAY,CAAC;IACjD,UAAU,EAAE,EAAE,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,iBAAiB,GAAG;IACpD,KAAK,CAAC,EAAE;QAAE,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;CAClC,CAAC;AAEF,MAAM,MAAM,aAAa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,SAAS,CAAC;IAAC,SAAS,EAAE,MAAM,EAAE,CAAA;CAAE,CA0C5F;AAED,eAAO,MAAM,QAAQ,GACnB,KAAK,MAAM,EACX,kCAAkC,aAAa,KAC9C;IACD,KAAK,EAAE,KAAK,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,GAAG,EAAE,MAAM,EAAE,CAAC;CA2Cf,CAAC"}
@@ -1,10 +0,0 @@
1
- export declare class FormulaError {
2
- code: string;
3
- message: string;
4
- error?: Error;
5
- readonly __gsType: "FormulaError";
6
- constructor(code: string, message: string, error?: Error);
7
- static is(obj: any): obj is FormulaError;
8
- toString(): string;
9
- }
10
- //# sourceMappingURL=formula-error.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"formula-error.d.ts","sourceRoot":"","sources":["../../src/formula/formula-error.ts"],"names":[],"mappings":"AAAA,qBAAa,YAAY;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,KAAK,CAAC;IACrB,SAAgB,QAAQ,EAAG,cAAc,CAAU;gBACvC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,KAAK;IAKxD,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,YAAY;IAGxC,QAAQ;CAGT"}
@@ -1,67 +0,0 @@
1
- import { Pending, Sentinel } from '../../sentinels';
2
- import { Registry } from '../../lib/book';
3
- import { Id, PointType } from '../../types';
4
- /**
5
- * Sentinel value to distinguish cache miss from user-returned undefined/null.
6
- * Since user functions can return undefined or null, we need a special marker
7
- * to indicate "no cache entry found" vs "cache entry is undefined".
8
- */
9
- export declare const asyncCacheMiss: Sentinel;
10
- /** Returns true if any element of `args` is a Pending sentinel. */
11
- export declare const hasPendingArg: (args: any[]) => boolean;
12
- /**
13
- * Recursively check whether any value in the structure is a Pending sentinel.
14
- * Handles flat values, nested arrays, and Sheet objects (via getFieldMatrix).
15
- */
16
- export declare const hasDeepPending: (values: any[], at: Id) => boolean;
17
- /**
18
- * Build a cache key from function name + hashed serialised arguments.
19
- *
20
- * Format: `funcName:length:hash1-hash2-...`
21
- * - length: byte length of the JSON-serialised args
22
- * - hash: cyrb53 hash of the JSON string, repeated hashPrecision times with different seeds
23
- *
24
- * When a Sheet appears as an argument its trimmed area is converted to a
25
- * value matrix (`any[][]`) via `getFieldMatrix()` so the key reflects the
26
- * actual cell values the function will operate on.
27
- */
28
- export declare const buildAsyncCacheKey: (funcName: string, args: any[], hashPrecision?: number) => string;
29
- /**
30
- * Try to retrieve a cached or pending async result for the given cache key.
31
- *
32
- * Returns:
33
- * - Cached value if present, valid, and not expired
34
- * - Pending if there is an in-flight promise for this cell
35
- * - asyncCacheMiss if no cache/pending exists (distinguishes from user-returned undefined/null)
36
- */
37
- export declare const getAsyncCache: (sheet: {
38
- registry: Registry;
39
- getId: (p: PointType) => string;
40
- }, id: Id, key: string, useInflight?: boolean) => any;
41
- /**
42
- * Handle an async (Promise) result returned by BaseFunction.main().
43
- *
44
- * Cache is stored per-cell in cell.asyncCache.
45
- * In-flight tracking uses Binding.asyncPending (keyed by cell ID).
46
- * If useInflight is true, also tracks by cache key in Binding.asyncInflight.
47
- *
48
- * Flow:
49
- * 1. If cell has asyncCache and the key matches (inputs unchanged) and not expired → return cached value
50
- * 2. If there is already an in-flight promise for this cell → return its Pending
51
- * 3. If useInflight is true and there is an in-flight promise for this key → return its Pending
52
- * 4. Otherwise start the async work, return a new Pending, and on completion
53
- * write the result into cell.asyncCache and trigger a re-render.
54
- *
55
- * @param ttlMilliseconds - Cache time-to-live in **milliseconds**. undefined = never expires.
56
- * @param useInflight - If true, reuse the same promise for matching cache keys across different cells.
57
- */
58
- export declare const awaitAndSave: (promise: Promise<any>, sheet: {
59
- registry: Registry;
60
- getId: (p: PointType) => string;
61
- }, id: Id, key: string, ttlMilliseconds?: number, useInflight?: boolean) => Pending;
62
- /**
63
- * Create a Pending sentinel that resolves immediately.
64
- * Used when an argument is already pending — the result is propagated.
65
- */
66
- export declare const createPropagatedPending: () => Pending;
67
- //# sourceMappingURL=__async.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"__async.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/__async.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAY,MAAM,iBAAiB,CAAC;AAG9D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,KAAK,EAAY,EAAE,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAI3D;;;;GAIG;AACH,eAAO,MAAM,cAAc,UAAiC,CAAC;AAE7D,mEAAmE;AACnE,eAAO,MAAM,aAAa,GAAI,MAAM,GAAG,EAAE,KAAG,OAE3C,CAAC;AAMF;;;GAGG;AACH,eAAO,MAAM,cAAc,GAAI,QAAQ,GAAG,EAAE,EAAE,IAAI,EAAE,KAAG,OAsBtD,CAAC;AAqBF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,kBAAkB,GAAI,UAAU,MAAM,EAAE,MAAM,GAAG,EAAE,EAAE,gBAAe,MAAU,KAAG,MAY7F,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,aAAa,GACxB,OAAO;IAAE,QAAQ,EAAE,QAAQ,CAAC;IAAC,KAAK,EAAE,CAAC,CAAC,EAAE,SAAS,KAAK,MAAM,CAAA;CAAE,EAC9D,IAAI,EAAE,EACN,KAAK,MAAM,EACX,cAAa,OAAe,KAC3B,GA6DF,CAAC;AAEF;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,YAAY,GACvB,SAAS,OAAO,CAAC,GAAG,CAAC,EACrB,OAAO;IAAE,QAAQ,EAAE,QAAQ,CAAC;IAAC,KAAK,EAAE,CAAC,CAAC,EAAE,SAAS,KAAK,MAAM,CAAA;CAAE,EAC9D,IAAI,EAAE,EACN,KAAK,MAAM,EACX,kBAAkB,MAAM,EACxB,cAAa,OAAe,KAC3B,OAmDF,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,uBAAuB,QAAO,OAE1C,CAAC"}
@@ -1,112 +0,0 @@
1
- import { Sheet } from '../../lib/sheet';
2
- import { Id } from '../../types';
3
- import { Expression } from '../evaluator';
4
- /** Duck-type check for Sheet instances (avoids runtime import cycle). */
5
- export declare const isSheet: (v: any) => v is Sheet;
6
- export type FunctionCategory = 'math' | 'statistics' | 'text' | 'time' | 'lookup' | 'information' | 'finance' | 'engineering' | 'logical' | 'other';
7
- export type FunctionProps = {
8
- args: Expression[];
9
- sheet: Sheet;
10
- at?: Id;
11
- };
12
- export type FunctionArgumentType = 'number' | 'string' | 'boolean' | 'date' | 'time' | 'matrix' | 'reference' | 'any';
13
- export type FunctionArgumentDefinition = {
14
- name: string;
15
- description: string;
16
- optional?: boolean;
17
- nullable?: boolean;
18
- variadic?: boolean;
19
- errorTolerant?: boolean;
20
- acceptedTypes?: FunctionArgumentType[];
21
- /** When true, this argument takes a range/matrix value — broadcasting is suppressed for it. */
22
- takesMatrix?: boolean;
23
- };
24
- export declare const conditionArg: FunctionArgumentDefinition;
25
- /**
26
- * Check if a value is a "matrix" (Sheet, Spilling, or 2D array).
27
- */
28
- export declare const isMatrix: (value: any) => boolean;
29
- /**
30
- * Extract the scalar from a 1×1 matrix (Sheet, Spilling, or plain 2D array).
31
- * Returns the value unchanged if it is not a matrix.
32
- */
33
- export declare const stripMatrix: (value: any, at: Id) => any;
34
- /**
35
- * Check if a value is a matrix that is larger than 1×1.
36
- */
37
- export declare const isMultiCell: (value: any) => boolean;
38
- export declare class BaseFunction {
39
- defs: FunctionArgumentDefinition[];
40
- example: string | undefined;
41
- description: string;
42
- category: FunctionCategory;
43
- /** Indicates if this function is async. Override in subclass or use BaseFunctionAsync. */
44
- protected isAsync: boolean;
45
- /** Cache TTL in milliseconds. Override in subclass to set expiry. undefined = never expires. */
46
- protected ttlMilliseconds?: number;
47
- /** Hash precision for cache key generation. Higher values reduce collision risk. Default: 1 */
48
- protected hashPrecision: number;
49
- /** If true, reuse the same in-flight promise for matching cache keys across different cells. */
50
- protected useInflight: boolean;
51
- /** If true, broadcasting is unconditionally disabled for this function. */
52
- protected broadcastDisabled: boolean;
53
- protected args: any[];
54
- protected autoSpilling: boolean;
55
- sheet: Sheet;
56
- at: Id;
57
- static __name: string;
58
- constructor({ args, sheet, at }: FunctionProps);
59
- private _main;
60
- /**
61
- * Validate and normalise arguments before `main()` is called.
62
- *
63
- * Checks:
64
- * 1. Argument count satisfies defs (respecting optional / variadic).
65
- * 2. Each argument's runtime type matches the corresponding def's `type` list.
66
- *
67
- * Subclasses may override for additional coercion / spreading.
68
- */
69
- protected validate(args: any[]): any[];
70
- eachMatrix: (value: any, callback: (v: any) => void) => void;
71
- /**
72
- * Extract a 2D array from a matrix value (Spilling, Sheet, or nested array).
73
- * Default behavior for Sheet is value.solve(). Functions like COL can override
74
- * this to preserve Sheet metadata per cell.
75
- */
76
- protected toMatrix(value: any): any[][];
77
- /**
78
- * Collapse a 1×1 matrix value (Sheet, Spilling, or 2D array) to a scalar.
79
- * Non-matrix values pass through unchanged.
80
- *
81
- * Override in sub-classes that need the original Sheet / reference
82
- * metadata (e.g. COL, ROW) — for instance, to extract position
83
- * information before collapsing.
84
- */
85
- protected toScalar(value: any): any;
86
- call(): any;
87
- /**
88
- * If any broadcastable argument is a matrix (multi-cell), expand the call
89
- * across all element positions and return a Spilling.
90
- * Returns `undefined` when no broadcast is necessary.
91
- *
92
- * Rules:
93
- * - broadcastDisabled = true → never broadcast
94
- * - An arg is broadcastable when its corresponding args[].takesMatrix is not true
95
- * - A Sheet/Spilling/2D-array whose size is (1,1) is treated as a scalar
96
- * (not broadcast); only multi-cell matrices trigger broadcast
97
- * - For variadic args, extra args are assigned round-robin
98
- * across the variadic helpArg positions
99
- */
100
- private broadcast;
101
- }
102
- /**
103
- * Base class for async functions.
104
- * Extend this class to create async functions that support caching.
105
- */
106
- export declare class BaseFunctionAsync extends BaseFunction {
107
- protected isAsync: boolean;
108
- }
109
- export type FunctionMapping = {
110
- [functionName: string]: typeof BaseFunction;
111
- };
112
- //# sourceMappingURL=__base.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"__base.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/__base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAE7C,yEAAyE;AACzE,eAAO,MAAM,OAAO,GAAI,GAAG,GAAG,KAAG,CAAC,IAAI,KAAgC,CAAC;AAIvE,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AAGtC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAY/C,MAAM,MAAM,gBAAgB,GACxB,MAAM,GACN,YAAY,GACZ,MAAM,GACN,MAAM,GACN,QAAQ,GACR,aAAa,GACb,SAAS,GACT,aAAa,GACb,SAAS,GACT,OAAO,CAAC;AAEZ,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,UAAU,EAAE,CAAC;IACnB,KAAK,EAAE,KAAK,CAAC;IACb,EAAE,CAAC,EAAE,EAAE,CAAC;CACT,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,GAAG,QAAQ,GAAG,WAAW,GAAG,KAAK,CAAC;AAEtH,MAAM,MAAM,0BAA0B,GAAG;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IAEpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,aAAa,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C,UAAU,GAAI,OAAO,GAAG,EAAE,UAAU,CAAC,CAAC,EAAE,GAAG,KAAK,IAAI,UAwBlD;IAEF;;;;OAIG;IACH,SAAS,CAAC,QAAQ,CAAC,KAAK,EAAE,GAAG,GAAG,GAAG,EAAE,EAAE;IAavC;;;;;;;OAOG;IACH,SAAS,CAAC,QAAQ,CAAC,KAAK,EAAE,GAAG,GAAG,GAAG;IAoB5B,IAAI;IAiCX;;;;;;;;;;;;OAYG;IACH,OAAO,CAAC,SAAS;CAyFlB;AAED;;;GAGG;AACH,qBAAa,iBAAkB,SAAQ,YAAY;IACjD,SAAS,CAAC,OAAO,EAAE,OAAO,CAAQ;CACnC;AAED,MAAM,MAAM,eAAe,GAAG;IAAE,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,YAAY,CAAA;CAAE,CAAC"}
@@ -1,23 +0,0 @@
1
- import { Sheet } from '../../lib/sheet';
2
- import { Id, PointType } from '../../types';
3
- export declare const gt: (left: any, right: any) => boolean;
4
- export declare const gte: (left: any, right: any) => boolean;
5
- export declare const lt: (left: any, right: any) => boolean;
6
- export declare const lte: (left: any, right: any) => boolean;
7
- export declare const eq: (left: any, right: any) => boolean;
8
- export declare const ne: (left: any, right: any) => boolean;
9
- export type EnsureNumberOptions = {
10
- alternative?: number;
11
- ignore?: boolean;
12
- };
13
- export type EnsureBooleanOptions = {
14
- alternative?: boolean;
15
- ignore?: boolean;
16
- };
17
- export declare const ensureNumber: (value: any, options?: EnsureNumberOptions) => number;
18
- export declare const ensureString: (value: any) => string;
19
- export declare const ensureBoolean: (value: any, options?: EnsureBooleanOptions) => boolean;
20
- export declare const check: (value: any, condition: string) => boolean;
21
- export declare const eachMatrix: (value: any, callback: (v: any, relativePoint: PointType) => void, at: Id) => void;
22
- export declare const createBooleanMask: (sheets: Sheet[], conditions: string[], at: Id) => boolean[][];
23
- //# sourceMappingURL=__utils.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"__utils.d.ts","sourceRoot":"","sources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AC,CAAC,EAAE,GAAG,EAAE,aAAa,EAAE,SAAS,KAAK,IAAI,EAAE,IAAI,EAAE,SAwBlG,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,QAAQ,KAAK,EAAE,EAAE,YAAY,MAAM,EAAE,EAAE,IAAI,EAAE,KAAG,OAAO,EAAE,EAsB1F,CAAC"}
@@ -1,9 +0,0 @@
1
- import { BaseFunction, FunctionCategory, FunctionArgumentDefinition } from './__base';
2
- export declare class AbsFunction extends BaseFunction {
3
- example: string;
4
- description: string;
5
- defs: FunctionArgumentDefinition[];
6
- category: FunctionCategory;
7
- protected main(value: any): number;
8
- }
9
- //# sourceMappingURL=abs.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"abs.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/abs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAKtF,qBAAa,WAAY,SAAQ,YAAY;IAC3C,OAAO,SAAa;IACpB,WAAW,SAAe;IAC1B,IAAI,EAAE,0BAA0B,EAAE,CAAgF;IAClH,QAAQ,EAAE,gBAAgB,CAAU;IAEpC,SAAS,CAAC,IAAI,CAAC,KAAK,EAAE,GAAG;CAG1B"}
@@ -1,10 +0,0 @@
1
- import { BaseFunction, FunctionCategory, FunctionArgumentDefinition } from './__base';
2
- import { Time } from '../../lib/time';
3
- export declare class AddFunction extends BaseFunction {
4
- example: string;
5
- description: string;
6
- defs: FunctionArgumentDefinition[];
7
- category: FunctionCategory;
8
- protected main(v1: number | Date | Time, v2: number | Date | Time): number | Date;
9
- }
10
- //# sourceMappingURL=add.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"add.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/add.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,KAAK,gBAAgB,EAAE,KAAK,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAEhG,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAMtC,qBAAa,WAAY,SAAQ,YAAY;IAC3C,OAAO,SAAe;IACtB,WAAW,SAAe;IAC1B,IAAI,EAAE,0BAA0B,EAAE,CAGhC;IACF,QAAQ,EAAE,gBAAgB,CAAU;IAEpC,SAAS,CAAC,IAAI,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,EAAE,EAAE,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI;CA0BlE"}
@@ -1,9 +0,0 @@
1
- import { BaseFunction, FunctionCategory, FunctionArgumentDefinition } from './__base';
2
- export declare class AndFunction extends BaseFunction {
3
- example: string;
4
- description: string;
5
- defs: FunctionArgumentDefinition[];
6
- category: FunctionCategory;
7
- protected main(...values: any[]): boolean;
8
- }
9
- //# sourceMappingURL=and.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"and.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/and.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAMtF,qBAAa,WAAY,SAAQ,YAAY;IAC3C,OAAO,SAAqB;IAC5B,WAAW,SAAe;IAC1B,IAAI,EAAE,0BAA0B,EAAE,CAOhC;IACF,QAAQ,EAAE,gBAAgB,CAAa;IAEvC,SAAS,CAAC,IAAI,CAAC,GAAG,MAAM,EAAE,GAAG,EAAE;CAGhC"}
@@ -1,12 +0,0 @@
1
- import { Spilling } from '../../sentinels';
2
- import { BaseFunction, FunctionCategory, FunctionArgumentDefinition } from './__base';
3
- export declare class ArrayformulaFunction extends BaseFunction {
4
- autoSpilling: boolean;
5
- example: string;
6
- description: string;
7
- defs: FunctionArgumentDefinition[];
8
- category: FunctionCategory;
9
- protected broadcastDisabled: boolean;
10
- protected main(value: any): any[] | Spilling;
11
- }
12
- //# sourceMappingURL=arrayformula.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"arrayformula.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/arrayformula.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAKtF,qBAAa,oBAAqB,SAAQ,YAAY;IACpD,YAAY,UAAQ;IACpB,OAAO,SAAmC;IAC1C,WAAW,SAAe;IAC1B,IAAI,EAAE,0BAA0B,EAAE,CAOhC;IACF,QAAQ,EAAE,gBAAgB,CAAa;IACvC,SAAS,CAAC,iBAAiB,UAAQ;IAEnC,SAAS,CAAC,IAAI,CAAC,KAAK,EAAE,GAAG;CAY1B"}
@@ -1,9 +0,0 @@
1
- import { BaseFunction, FunctionCategory, FunctionArgumentDefinition } from './__base';
2
- export declare class AverageFunction extends BaseFunction {
3
- example: string;
4
- description: string;
5
- defs: FunctionArgumentDefinition[];
6
- category: FunctionCategory;
7
- protected main(...values: any[]): number;
8
- }
9
- //# sourceMappingURL=average.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"average.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/average.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,0BAA0B,EAAY,MAAM,UAAU,CAAC;AAKhG,qBAAa,eAAgB,SAAQ,YAAY;IAC/C,OAAO,SAA2B;IAClC,WAAW,SAAe;IAC1B,IAAI,EAAE,0BAA0B,EAAE,CAQhC;IACF,QAAQ,EAAE,gBAAgB,CAAgB;IAE1C,SAAS,CAAC,IAAI,CAAC,GAAG,MAAM,EAAE,GAAG,EAAE;CA2BhC"}
@@ -1,9 +0,0 @@
1
- import { BaseFunction, FunctionCategory, FunctionArgumentDefinition } from './__base';
2
- export declare class ConcatFunction extends BaseFunction {
3
- example: string;
4
- description: string;
5
- defs: FunctionArgumentDefinition[];
6
- category: FunctionCategory;
7
- protected main(v1: any, v2: any): string;
8
- }
9
- //# sourceMappingURL=concat.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"concat.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/concat.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAMtF,qBAAa,cAAe,SAAQ,YAAY;IAC9C,OAAO,SAA8B;IACrC,WAAW,SAAe;IAC1B,IAAI,EAAE,0BAA0B,EAAE,CAWhC;IACF,QAAQ,EAAE,gBAAgB,CAAU;IAEpC,SAAS,CAAC,IAAI,CAAC,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG;CAGhC"}
@@ -1,9 +0,0 @@
1
- import { BaseFunction, FunctionCategory, FunctionArgumentDefinition } from './__base';
2
- export declare class CountFunction extends BaseFunction {
3
- example: string;
4
- description: string;
5
- defs: FunctionArgumentDefinition[];
6
- category: FunctionCategory;
7
- protected main(...values: any[]): number;
8
- }
9
- //# sourceMappingURL=count.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"count.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/count.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,0BAA0B,EAAY,MAAM,UAAU,CAAC;AAKhG,qBAAa,aAAc,SAAQ,YAAY;IAC7C,OAAO,SAAiC;IACxC,WAAW,SAAe;IAC1B,IAAI,EAAE,0BAA0B,EAAE,CAQhC;IACF,QAAQ,EAAE,gBAAgB,CAAU;IAEpC,SAAS,CAAC,IAAI,CAAC,GAAG,MAAM,EAAE,GAAG,EAAE;CAoBhC"}
@@ -1,9 +0,0 @@
1
- import { BaseFunction, FunctionCategory, FunctionArgumentDefinition } from './__base';
2
- export declare class CountaFunction extends BaseFunction {
3
- example: string;
4
- description: string;
5
- defs: FunctionArgumentDefinition[];
6
- category: FunctionCategory;
7
- protected main(...values: any[]): number;
8
- }
9
- //# sourceMappingURL=counta.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"counta.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/counta.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAKtF,qBAAa,cAAe,SAAQ,YAAY;IAC9C,OAAO,SAAkC;IACzC,WAAW,SAAe;IAC1B,IAAI,EAAE,0BAA0B,EAAE,CAQhC;IACF,QAAQ,EAAE,gBAAgB,CAAU;IAEpC,SAAS,CAAC,IAAI,CAAC,GAAG,MAAM,EAAE,GAAG,EAAE;CAehC"}
@@ -1,10 +0,0 @@
1
- import { BaseFunction, FunctionCategory, FunctionArgumentDefinition } from './__base';
2
- export declare class DivideFunction extends BaseFunction {
3
- example: string;
4
- description: string;
5
- defs: FunctionArgumentDefinition[];
6
- category: FunctionCategory;
7
- protected validate(args: any[]): any[];
8
- protected main(divided: number, divisor: number): number;
9
- }
10
- //# sourceMappingURL=divide.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"divide.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/divide.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAMtF,qBAAa,cAAe,SAAQ,YAAY;IAC9C,OAAO,SAAkB;IACzB,WAAW,SAAe;IAC1B,IAAI,EAAE,0BAA0B,EAAE,CAWhC;IACF,QAAQ,EAAE,gBAAgB,CAAU;IAEpC,SAAS,CAAC,QAAQ,CAAC,IAAI,EAAE,GAAG,EAAE,GAAG,GAAG,EAAE;IAQtC,SAAS,CAAC,IAAI,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM;CAGhD"}
@@ -1,9 +0,0 @@
1
- import { BaseFunction, FunctionCategory, FunctionArgumentDefinition } from './__base';
2
- export declare class EqFunction extends BaseFunction {
3
- example: string;
4
- description: string;
5
- defs: FunctionArgumentDefinition[];
6
- category: FunctionCategory;
7
- protected main(v1: any, v2: any): boolean;
8
- }
9
- //# sourceMappingURL=eq.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"eq.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/eq.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAMtF,qBAAa,UAAW,SAAQ,YAAY;IAC1C,OAAO,SAAc;IACrB,WAAW,SAAe;IAC1B,IAAI,EAAE,0BAA0B,EAAE,CAGhC;IACF,QAAQ,EAAE,gBAAgB,CAAa;IAEvC,SAAS,CAAC,IAAI,CAAC,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG;CAGhC"}