@gridsheet/react-core 1.4.0 → 2.0.0-rc.2

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 (415) hide show
  1. package/README.md +1 -1
  2. package/dist/components/Cell.d.ts +3 -3
  3. package/dist/components/Cell.d.ts.map +1 -1
  4. package/dist/components/ContextMenu.d.ts +19 -2
  5. package/dist/components/ContextMenu.d.ts.map +1 -1
  6. package/dist/components/Editor.d.ts +4 -4
  7. package/dist/components/Editor.d.ts.map +1 -1
  8. package/dist/components/Emitter.d.ts +2 -2
  9. package/dist/components/Emitter.d.ts.map +1 -1
  10. package/dist/components/Fixed.d.ts +3 -3
  11. package/dist/components/Fixed.d.ts.map +1 -1
  12. package/dist/components/FormulaBar.d.ts +1 -2
  13. package/dist/components/FormulaBar.d.ts.map +1 -1
  14. package/dist/components/GridSheet.d.ts +1 -2
  15. package/dist/components/GridSheet.d.ts.map +1 -1
  16. package/dist/components/HeaderCellLeft.d.ts +2 -2
  17. package/dist/components/HeaderCellLeft.d.ts.map +1 -1
  18. package/dist/components/HeaderCellTop.d.ts +2 -2
  19. package/dist/components/HeaderCellTop.d.ts.map +1 -1
  20. package/dist/components/PluginBase.d.ts +4 -4
  21. package/dist/components/PluginBase.d.ts.map +1 -1
  22. package/dist/components/Resizer.d.ts +1 -2
  23. package/dist/components/Resizer.d.ts.map +1 -1
  24. package/dist/components/ScrollHandle.d.ts +9 -0
  25. package/dist/components/ScrollHandle.d.ts.map +1 -0
  26. package/dist/components/SearchBar.d.ts +1 -2
  27. package/dist/components/SearchBar.d.ts.map +1 -1
  28. package/dist/components/StoreObserver.d.ts +11 -0
  29. package/dist/components/StoreObserver.d.ts.map +1 -0
  30. package/dist/components/Tabular.d.ts +3 -3
  31. package/dist/components/Tabular.d.ts.map +1 -1
  32. package/dist/components/hooks.d.ts +2 -0
  33. package/dist/components/hooks.d.ts.map +1 -1
  34. package/dist/components/svg/AddIcon.d.ts +1 -2
  35. package/dist/components/svg/AddIcon.d.ts.map +1 -1
  36. package/dist/components/svg/Base.d.ts +4 -4
  37. package/dist/components/svg/Base.d.ts.map +1 -1
  38. package/dist/components/svg/CloseIcon.d.ts +1 -2
  39. package/dist/components/svg/CloseIcon.d.ts.map +1 -1
  40. package/dist/components/svg/SearchIcon.d.ts +1 -2
  41. package/dist/components/svg/SearchIcon.d.ts.map +1 -1
  42. package/dist/constants.d.ts +3 -2
  43. package/dist/constants.d.ts.map +1 -1
  44. package/dist/formula/evaluator.d.ts +42 -18
  45. package/dist/formula/evaluator.d.ts.map +1 -1
  46. package/dist/formula/functions/__base.d.ts.map +1 -1
  47. package/dist/formula/functions/__utils.d.ts +5 -2
  48. package/dist/formula/functions/__utils.d.ts.map +1 -1
  49. package/dist/formula/functions/abs.d.ts.map +1 -1
  50. package/dist/formula/functions/acos.d.ts.map +1 -1
  51. package/dist/formula/functions/add.d.ts +1 -1
  52. package/dist/formula/functions/add.d.ts.map +1 -1
  53. package/dist/formula/functions/and.d.ts.map +1 -1
  54. package/dist/formula/functions/asin.d.ts.map +1 -1
  55. package/dist/formula/functions/atan.d.ts.map +1 -1
  56. package/dist/formula/functions/atan2.d.ts.map +1 -1
  57. package/dist/formula/functions/average.d.ts.map +1 -1
  58. package/dist/formula/functions/col.d.ts.map +1 -1
  59. package/dist/formula/functions/concat.d.ts.map +1 -1
  60. package/dist/formula/functions/concatenate.d.ts.map +1 -1
  61. package/dist/formula/functions/cos.d.ts.map +1 -1
  62. package/dist/formula/functions/count.d.ts.map +1 -1
  63. package/dist/formula/functions/counta.d.ts.map +1 -1
  64. package/dist/formula/functions/countif.d.ts.map +1 -1
  65. package/dist/formula/functions/divide.d.ts.map +1 -1
  66. package/dist/formula/functions/eq.d.ts.map +1 -1
  67. package/dist/formula/functions/exp.d.ts.map +1 -1
  68. package/dist/formula/functions/gt.d.ts.map +1 -1
  69. package/dist/formula/functions/gte.d.ts.map +1 -1
  70. package/dist/formula/functions/hlookup.d.ts.map +1 -1
  71. package/dist/formula/functions/if.d.ts.map +1 -1
  72. package/dist/formula/functions/iferror.d.ts.map +1 -1
  73. package/dist/formula/functions/index.d.ts +18 -0
  74. package/dist/formula/functions/index.d.ts.map +1 -0
  75. package/dist/formula/functions/len.d.ts.map +1 -1
  76. package/dist/formula/functions/lenb.d.ts.map +1 -1
  77. package/dist/formula/functions/ln.d.ts.map +1 -1
  78. package/dist/formula/functions/log.d.ts.map +1 -1
  79. package/dist/formula/functions/log10.d.ts.map +1 -1
  80. package/dist/formula/functions/lt.d.ts.map +1 -1
  81. package/dist/formula/functions/lte.d.ts.map +1 -1
  82. package/dist/formula/functions/match.d.ts +18 -0
  83. package/dist/formula/functions/match.d.ts.map +1 -0
  84. package/dist/formula/functions/match.test.d.ts +2 -0
  85. package/dist/formula/functions/match.test.d.ts.map +1 -0
  86. package/dist/formula/functions/max.d.ts.map +1 -1
  87. package/dist/formula/functions/min.d.ts.map +1 -1
  88. package/dist/formula/functions/minus.d.ts.map +1 -1
  89. package/dist/formula/functions/mod.d.ts.map +1 -1
  90. package/dist/formula/functions/multiply.d.ts.map +1 -1
  91. package/dist/formula/functions/ne.d.ts.map +1 -1
  92. package/dist/formula/functions/not.d.ts.map +1 -1
  93. package/dist/formula/functions/now.d.ts.map +1 -1
  94. package/dist/formula/functions/or.d.ts.map +1 -1
  95. package/dist/formula/functions/pi.d.ts.map +1 -1
  96. package/dist/formula/functions/power.d.ts.map +1 -1
  97. package/dist/formula/functions/product.d.ts.map +1 -1
  98. package/dist/formula/functions/radians.d.ts.map +1 -1
  99. package/dist/formula/functions/rand.d.ts.map +1 -1
  100. package/dist/formula/functions/round.d.ts.map +1 -1
  101. package/dist/formula/functions/rounddown.d.ts.map +1 -1
  102. package/dist/formula/functions/roundup.d.ts.map +1 -1
  103. package/dist/formula/functions/row.d.ts.map +1 -1
  104. package/dist/formula/functions/sin.d.ts.map +1 -1
  105. package/dist/formula/functions/sqrt.d.ts.map +1 -1
  106. package/dist/formula/functions/sum.d.ts.map +1 -1
  107. package/dist/formula/functions/sumif.d.ts.map +1 -1
  108. package/dist/formula/functions/tan.d.ts.map +1 -1
  109. package/dist/formula/functions/uminus.d.ts.map +1 -1
  110. package/dist/formula/functions/vlookup.d.ts.map +1 -1
  111. package/dist/formula/mapping.d.ts.map +1 -1
  112. package/dist/formula/solver.d.ts +10 -7
  113. package/dist/formula/solver.d.ts.map +1 -1
  114. package/dist/index.d.ts +15 -6
  115. package/dist/index.d.ts.map +1 -1
  116. package/dist/index.js +10330 -20
  117. package/dist/index.js.map +1 -1
  118. package/dist/lib/autofill.d.ts +2 -2
  119. package/dist/lib/autofill.d.ts.map +1 -1
  120. package/dist/lib/clipboard.d.ts.map +1 -1
  121. package/dist/lib/converters.d.ts +3 -4
  122. package/dist/lib/converters.d.ts.map +1 -1
  123. package/dist/lib/events.d.ts +6 -0
  124. package/dist/lib/events.d.ts.map +1 -0
  125. package/dist/lib/hub.d.ts +72 -0
  126. package/dist/lib/hub.d.ts.map +1 -0
  127. package/dist/lib/input.d.ts +12 -2
  128. package/dist/lib/input.d.ts.map +1 -1
  129. package/dist/lib/operation.d.ts +27 -0
  130. package/dist/lib/operation.d.ts.map +1 -0
  131. package/dist/lib/palette.d.ts +1 -1
  132. package/dist/lib/palette.d.ts.map +1 -1
  133. package/dist/lib/paste.d.ts +4 -0
  134. package/dist/lib/paste.d.ts.map +1 -0
  135. package/dist/lib/reference.d.ts +13 -0
  136. package/dist/lib/reference.d.ts.map +1 -0
  137. package/dist/lib/sheet.d.ts +3 -0
  138. package/dist/lib/sheet.d.ts.map +1 -0
  139. package/dist/lib/structs.d.ts +12 -3
  140. package/dist/lib/structs.d.ts.map +1 -1
  141. package/dist/lib/table.d.ts +152 -91
  142. package/dist/lib/table.d.ts.map +1 -1
  143. package/dist/lib/time.d.ts +1 -0
  144. package/dist/lib/time.d.ts.map +1 -1
  145. package/dist/lib/virtualization.d.ts +3 -2
  146. package/dist/lib/virtualization.d.ts.map +1 -1
  147. package/dist/parsers/core.d.ts +2 -0
  148. package/dist/parsers/core.d.ts.map +1 -1
  149. package/dist/policy/core.d.ts +47 -0
  150. package/dist/policy/core.d.ts.map +1 -0
  151. package/dist/renderers/checkbox.d.ts +2 -2
  152. package/dist/renderers/checkbox.d.ts.map +1 -1
  153. package/dist/renderers/core.d.ts +39 -25
  154. package/dist/renderers/core.d.ts.map +1 -1
  155. package/dist/renderers/thousand_separator.d.ts +2 -3
  156. package/dist/renderers/thousand_separator.d.ts.map +1 -1
  157. package/dist/store/actions.d.ts +141 -49
  158. package/dist/store/actions.d.ts.map +1 -1
  159. package/dist/store/dispatchers.d.ts +13 -0
  160. package/dist/store/dispatchers.d.ts.map +1 -0
  161. package/dist/store/helpers.d.ts +1 -0
  162. package/dist/store/helpers.d.ts.map +1 -1
  163. package/dist/store/index.d.ts +1 -2
  164. package/dist/store/index.d.ts.map +1 -1
  165. package/dist/styles/embedder.d.ts.map +1 -1
  166. package/dist/styles/minified.d.ts +2 -2
  167. package/dist/styles/minified.d.ts.map +1 -1
  168. package/dist/styles/utils.d.ts +52 -0
  169. package/dist/styles/utils.d.ts.map +1 -0
  170. package/dist/types.d.ts +112 -55
  171. package/dist/types.d.ts.map +1 -1
  172. package/dist/utils.d.ts.map +1 -1
  173. package/package.json +7 -10
  174. package/dist/_virtual/_commonjsHelpers.js +0 -7
  175. package/dist/_virtual/_commonjsHelpers.js.map +0 -1
  176. package/dist/_virtual/dayjs.min.js +0 -8
  177. package/dist/_virtual/dayjs.min.js.map +0 -1
  178. package/dist/_virtual/dayjs.min2.js +0 -5
  179. package/dist/_virtual/dayjs.min2.js.map +0 -1
  180. package/dist/_virtual/timezone.js +0 -8
  181. package/dist/_virtual/timezone.js.map +0 -1
  182. package/dist/_virtual/timezone2.js +0 -5
  183. package/dist/_virtual/timezone2.js.map +0 -1
  184. package/dist/_virtual/utc.js +0 -8
  185. package/dist/_virtual/utc.js.map +0 -1
  186. package/dist/_virtual/utc2.js +0 -5
  187. package/dist/_virtual/utc2.js.map +0 -1
  188. package/dist/components/Cell.js +0 -234
  189. package/dist/components/Cell.js.map +0 -1
  190. package/dist/components/ContextMenu.js +0 -297
  191. package/dist/components/ContextMenu.js.map +0 -1
  192. package/dist/components/Editor.js +0 -464
  193. package/dist/components/Editor.js.map +0 -1
  194. package/dist/components/Emitter.js +0 -26
  195. package/dist/components/Emitter.js.map +0 -1
  196. package/dist/components/Fixed.js +0 -17
  197. package/dist/components/Fixed.js.map +0 -1
  198. package/dist/components/FormulaBar.js +0 -150
  199. package/dist/components/FormulaBar.js.map +0 -1
  200. package/dist/components/GridSheet.js +0 -247
  201. package/dist/components/GridSheet.js.map +0 -1
  202. package/dist/components/HeaderCellLeft.js +0 -131
  203. package/dist/components/HeaderCellLeft.js.map +0 -1
  204. package/dist/components/HeaderCellTop.js +0 -132
  205. package/dist/components/HeaderCellTop.js.map +0 -1
  206. package/dist/components/PluginBase.js +0 -35
  207. package/dist/components/PluginBase.js.map +0 -1
  208. package/dist/components/Resizer.js +0 -98
  209. package/dist/components/Resizer.js.map +0 -1
  210. package/dist/components/SearchBar.js +0 -108
  211. package/dist/components/SearchBar.js.map +0 -1
  212. package/dist/components/SheetProvider.d.ts +0 -30
  213. package/dist/components/SheetProvider.d.ts.map +0 -1
  214. package/dist/components/SheetProvider.js +0 -59
  215. package/dist/components/SheetProvider.js.map +0 -1
  216. package/dist/components/StoreInitializer.d.ts +0 -4
  217. package/dist/components/StoreInitializer.d.ts.map +0 -1
  218. package/dist/components/StoreInitializer.js +0 -84
  219. package/dist/components/StoreInitializer.js.map +0 -1
  220. package/dist/components/Tabular.js +0 -317
  221. package/dist/components/Tabular.js.map +0 -1
  222. package/dist/components/Toggle.d.ts +0 -12
  223. package/dist/components/Toggle.d.ts.map +0 -1
  224. package/dist/components/hooks.js +0 -15
  225. package/dist/components/hooks.js.map +0 -1
  226. package/dist/components/svg/Base.js +0 -24
  227. package/dist/components/svg/Base.js.map +0 -1
  228. package/dist/components/svg/CloseIcon.js +0 -13
  229. package/dist/components/svg/CloseIcon.js.map +0 -1
  230. package/dist/components/svg/SearchIcon.js +0 -13
  231. package/dist/components/svg/SearchIcon.js.map +0 -1
  232. package/dist/constants.js +0 -43
  233. package/dist/constants.js.map +0 -1
  234. package/dist/formula/evaluator.js +0 -679
  235. package/dist/formula/evaluator.js.map +0 -1
  236. package/dist/formula/functions/__base.js +0 -20
  237. package/dist/formula/functions/__base.js.map +0 -1
  238. package/dist/formula/functions/__utils.js +0 -145
  239. package/dist/formula/functions/__utils.js.map +0 -1
  240. package/dist/formula/functions/abs.js +0 -24
  241. package/dist/formula/functions/abs.js.map +0 -1
  242. package/dist/formula/functions/abs.spec.d.ts +0 -2
  243. package/dist/formula/functions/abs.spec.d.ts.map +0 -1
  244. package/dist/formula/functions/acos.js +0 -32
  245. package/dist/formula/functions/acos.js.map +0 -1
  246. package/dist/formula/functions/add.js +0 -57
  247. package/dist/formula/functions/add.js.map +0 -1
  248. package/dist/formula/functions/and.js +0 -28
  249. package/dist/formula/functions/and.js.map +0 -1
  250. package/dist/formula/functions/asin.js +0 -32
  251. package/dist/formula/functions/asin.js.map +0 -1
  252. package/dist/formula/functions/atan.js +0 -29
  253. package/dist/formula/functions/atan.js.map +0 -1
  254. package/dist/formula/functions/atan2.js +0 -35
  255. package/dist/formula/functions/atan2.js.map +0 -1
  256. package/dist/formula/functions/average.js +0 -44
  257. package/dist/formula/functions/average.js.map +0 -1
  258. package/dist/formula/functions/col.js +0 -34
  259. package/dist/formula/functions/col.js.map +0 -1
  260. package/dist/formula/functions/col.spec.d.ts +0 -2
  261. package/dist/formula/functions/col.spec.d.ts.map +0 -1
  262. package/dist/formula/functions/concat.js +0 -27
  263. package/dist/formula/functions/concat.js.map +0 -1
  264. package/dist/formula/functions/concatenate.js +0 -28
  265. package/dist/formula/functions/concatenate.js.map +0 -1
  266. package/dist/formula/functions/cos.js +0 -29
  267. package/dist/formula/functions/cos.js.map +0 -1
  268. package/dist/formula/functions/count.js +0 -38
  269. package/dist/formula/functions/count.js.map +0 -1
  270. package/dist/formula/functions/counta.js +0 -38
  271. package/dist/formula/functions/counta.js.map +0 -1
  272. package/dist/formula/functions/countif.js +0 -32
  273. package/dist/formula/functions/countif.js.map +0 -1
  274. package/dist/formula/functions/countif.spec.d.ts +0 -2
  275. package/dist/formula/functions/countif.spec.d.ts.map +0 -1
  276. package/dist/formula/functions/divide.js +0 -33
  277. package/dist/formula/functions/divide.js.map +0 -1
  278. package/dist/formula/functions/eq.js +0 -29
  279. package/dist/formula/functions/eq.js.map +0 -1
  280. package/dist/formula/functions/eq.spec.d.ts +0 -2
  281. package/dist/formula/functions/eq.spec.d.ts.map +0 -1
  282. package/dist/formula/functions/exp.js +0 -29
  283. package/dist/formula/functions/exp.js.map +0 -1
  284. package/dist/formula/functions/gt.js +0 -29
  285. package/dist/formula/functions/gt.js.map +0 -1
  286. package/dist/formula/functions/gte.js +0 -29
  287. package/dist/formula/functions/gte.js.map +0 -1
  288. package/dist/formula/functions/hlookup.js +0 -75
  289. package/dist/formula/functions/hlookup.js.map +0 -1
  290. package/dist/formula/functions/if.js +0 -39
  291. package/dist/formula/functions/if.js.map +0 -1
  292. package/dist/formula/functions/iferror.js +0 -45
  293. package/dist/formula/functions/iferror.js.map +0 -1
  294. package/dist/formula/functions/iferror.spec.d.ts +0 -2
  295. package/dist/formula/functions/iferror.spec.d.ts.map +0 -1
  296. package/dist/formula/functions/len.js +0 -29
  297. package/dist/formula/functions/len.js.map +0 -1
  298. package/dist/formula/functions/lenb.js +0 -29
  299. package/dist/formula/functions/lenb.js.map +0 -1
  300. package/dist/formula/functions/ln.js +0 -32
  301. package/dist/formula/functions/ln.js.map +0 -1
  302. package/dist/formula/functions/log.js +0 -36
  303. package/dist/formula/functions/log.js.map +0 -1
  304. package/dist/formula/functions/log10.js +0 -32
  305. package/dist/formula/functions/log10.js.map +0 -1
  306. package/dist/formula/functions/lt.js +0 -29
  307. package/dist/formula/functions/lt.js.map +0 -1
  308. package/dist/formula/functions/lte.js +0 -29
  309. package/dist/formula/functions/lte.js.map +0 -1
  310. package/dist/formula/functions/max.js +0 -47
  311. package/dist/formula/functions/max.js.map +0 -1
  312. package/dist/formula/functions/min.js +0 -47
  313. package/dist/formula/functions/min.js.map +0 -1
  314. package/dist/formula/functions/minus.js +0 -57
  315. package/dist/formula/functions/minus.js.map +0 -1
  316. package/dist/formula/functions/mod.js +0 -33
  317. package/dist/formula/functions/mod.js.map +0 -1
  318. package/dist/formula/functions/mod.spec.d.ts +0 -2
  319. package/dist/formula/functions/mod.spec.d.ts.map +0 -1
  320. package/dist/formula/functions/multiply.js +0 -27
  321. package/dist/formula/functions/multiply.js.map +0 -1
  322. package/dist/formula/functions/ne.js +0 -29
  323. package/dist/formula/functions/ne.js.map +0 -1
  324. package/dist/formula/functions/not.js +0 -30
  325. package/dist/formula/functions/not.js.map +0 -1
  326. package/dist/formula/functions/now.js +0 -22
  327. package/dist/formula/functions/now.js.map +0 -1
  328. package/dist/formula/functions/or.js +0 -28
  329. package/dist/formula/functions/or.js.map +0 -1
  330. package/dist/formula/functions/pi.js +0 -22
  331. package/dist/formula/functions/pi.js.map +0 -1
  332. package/dist/formula/functions/power.js +0 -27
  333. package/dist/formula/functions/power.js.map +0 -1
  334. package/dist/formula/functions/product.js +0 -40
  335. package/dist/formula/functions/product.js.map +0 -1
  336. package/dist/formula/functions/radians.js +0 -29
  337. package/dist/formula/functions/radians.js.map +0 -1
  338. package/dist/formula/functions/rand.js +0 -22
  339. package/dist/formula/functions/rand.js.map +0 -1
  340. package/dist/formula/functions/round.js +0 -35
  341. package/dist/formula/functions/round.js.map +0 -1
  342. package/dist/formula/functions/rounddown.js +0 -35
  343. package/dist/formula/functions/rounddown.js.map +0 -1
  344. package/dist/formula/functions/roundup.js +0 -35
  345. package/dist/formula/functions/roundup.js.map +0 -1
  346. package/dist/formula/functions/row.js +0 -34
  347. package/dist/formula/functions/row.js.map +0 -1
  348. package/dist/formula/functions/row.spec.d.ts +0 -2
  349. package/dist/formula/functions/row.spec.d.ts.map +0 -1
  350. package/dist/formula/functions/sin.js +0 -29
  351. package/dist/formula/functions/sin.js.map +0 -1
  352. package/dist/formula/functions/sqrt.js +0 -32
  353. package/dist/formula/functions/sqrt.js.map +0 -1
  354. package/dist/formula/functions/sum.js +0 -47
  355. package/dist/formula/functions/sum.js.map +0 -1
  356. package/dist/formula/functions/sum.spec.d.ts +0 -2
  357. package/dist/formula/functions/sum.spec.d.ts.map +0 -1
  358. package/dist/formula/functions/sumif.js +0 -65
  359. package/dist/formula/functions/sumif.js.map +0 -1
  360. package/dist/formula/functions/tan.js +0 -29
  361. package/dist/formula/functions/tan.js.map +0 -1
  362. package/dist/formula/functions/uminus.js +0 -24
  363. package/dist/formula/functions/uminus.js.map +0 -1
  364. package/dist/formula/functions/vlookup.js +0 -75
  365. package/dist/formula/functions/vlookup.js.map +0 -1
  366. package/dist/formula/mapping.js +0 -119
  367. package/dist/formula/mapping.js.map +0 -1
  368. package/dist/formula/solver.js +0 -70
  369. package/dist/formula/solver.js.map +0 -1
  370. package/dist/lib/autofill.js +0 -391
  371. package/dist/lib/autofill.js.map +0 -1
  372. package/dist/lib/clipboard.js +0 -72
  373. package/dist/lib/clipboard.js.map +0 -1
  374. package/dist/lib/converters.js +0 -141
  375. package/dist/lib/converters.js.map +0 -1
  376. package/dist/lib/input.js +0 -52
  377. package/dist/lib/input.js.map +0 -1
  378. package/dist/lib/palette.js +0 -24
  379. package/dist/lib/palette.js.map +0 -1
  380. package/dist/lib/prevention.d.ts +0 -24
  381. package/dist/lib/prevention.d.ts.map +0 -1
  382. package/dist/lib/prevention.js +0 -82
  383. package/dist/lib/prevention.js.map +0 -1
  384. package/dist/lib/structs.js +0 -276
  385. package/dist/lib/structs.js.map +0 -1
  386. package/dist/lib/table.js +0 -1259
  387. package/dist/lib/table.js.map +0 -1
  388. package/dist/lib/time.js +0 -170
  389. package/dist/lib/time.js.map +0 -1
  390. package/dist/lib/virtualization.js +0 -129
  391. package/dist/lib/virtualization.js.map +0 -1
  392. package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/dayjs.min.js +0 -287
  393. package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/dayjs.min.js.map +0 -1
  394. package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/timezone.js +0 -72
  395. package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/timezone.js.map +0 -1
  396. package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/utc.js +0 -85
  397. package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/utc.js.map +0 -1
  398. package/dist/parsers/core.js +0 -111
  399. package/dist/parsers/core.js.map +0 -1
  400. package/dist/renderers/checkbox.js +0 -20
  401. package/dist/renderers/checkbox.js.map +0 -1
  402. package/dist/renderers/core.js +0 -135
  403. package/dist/renderers/core.js.map +0 -1
  404. package/dist/renderers/thousand_separator.js +0 -17
  405. package/dist/renderers/thousand_separator.js.map +0 -1
  406. package/dist/store/actions.js +0 -762
  407. package/dist/store/actions.js.map +0 -1
  408. package/dist/store/helpers.js +0 -88
  409. package/dist/store/helpers.js.map +0 -1
  410. package/dist/store/index.js +0 -8
  411. package/dist/store/index.js.map +0 -1
  412. package/dist/styles/embedder.js +0 -19
  413. package/dist/styles/embedder.js.map +0 -1
  414. package/dist/styles/minified.js +0 -7
  415. package/dist/styles/minified.js.map +0 -1
package/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  ## Introduction
7
7
 
8
- @gridsheet/react-core is a simple yet highly functional spreadsheet component for ReactJS.
8
+ @gridsheet/react-core is a lightweight and extensible spreadsheet component for React with formula support, custom rendering, and real-time updates.
9
9
 
10
10
  ![gridsheet](https://github.com/walkframe/gridsheet/raw/master/gridsheet.png)
11
11
 
@@ -1,9 +1,9 @@
1
- import { default as React } from 'react';
1
+ import { CSSProperties, FC } from 'react';
2
2
  type Props = {
3
3
  y: number;
4
4
  x: number;
5
- operationStyle?: React.CSSProperties;
5
+ operationStyle?: CSSProperties;
6
6
  };
7
- export declare const Cell: React.FC<Props>;
7
+ export declare const Cell: FC<Props>;
8
8
  export {};
9
9
  //# sourceMappingURL=Cell.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Cell.d.ts","sourceRoot":"","sources":["../../components/Cell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAwB1B,KAAK,KAAK,GAAG;IACX,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,cAAc,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CACtC,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAoO/B,CAAC"}
1
+ {"version":3,"file":"Cell.d.ts","sourceRoot":"","sources":["../../src/components/Cell.tsx"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EAAE,aAAa,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAG/C,KAAK,KAAK,GAAG;IACX,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,cAAc,CAAC,EAAE,aAAa,CAAC;CAChC,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,EAAE,CAAC,KAAK,CA2P1B,CAAC"}
@@ -1,3 +1,20 @@
1
- import { default as React } from 'react';
2
- export declare const ContextMenu: React.FC;
1
+ import { FC } from 'react';
2
+ import { ContextMenuProps } from '../types';
3
+ export declare const ContextMenu: () => JSX.Element | null;
4
+ export declare const DividerItem: (props: ContextMenuProps) => JSX.Element;
5
+ export declare const CutItem: (props: ContextMenuProps) => JSX.Element;
6
+ export declare const CopyItem: (props: ContextMenuProps) => JSX.Element;
7
+ export declare const PasteItem: (props: ContextMenuProps) => JSX.Element;
8
+ export declare const PasteOnlyValueItem: (props: ContextMenuProps) => JSX.Element;
9
+ export declare const RowsColsOperationDividerItem: (props: ContextMenuProps) => JSX.Element | null;
10
+ export declare const InsertRowsAboveItem: (props: ContextMenuProps) => JSX.Element | null;
11
+ export declare const InsertRowsBelowItem: (props: ContextMenuProps) => JSX.Element | null;
12
+ export declare const InsertColsLeftItem: (props: ContextMenuProps) => JSX.Element | null;
13
+ export declare const InsertColsRightItem: (props: ContextMenuProps) => JSX.Element | null;
14
+ export declare const RemoveRowsItem: (props: ContextMenuProps) => JSX.Element | null;
15
+ export declare const RemoveColsItem: (props: ContextMenuProps) => JSX.Element | null;
16
+ export declare const HistoryDeviderItem: (props: ContextMenuProps) => JSX.Element | null;
17
+ export declare const UndoItem: (props: ContextMenuProps) => JSX.Element | null;
18
+ export declare const RedoItem: (props: ContextMenuProps) => JSX.Element | null;
19
+ export declare const defaultContextMenuItems: FC<ContextMenuProps>[];
3
20
  //# sourceMappingURL=ContextMenu.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ContextMenu.d.ts","sourceRoot":"","sources":["../../components/ContextMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAoS/B,CAAC"}
1
+ {"version":3,"file":"ContextMenu.d.ts","sourceRoot":"","sources":["../../src/components/ContextMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAAc,MAAM,OAAO,CAAC;AAqB5C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEjD,eAAO,MAAM,WAAW,0BAyBvB,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,OAAO,gBAAgB,gBAElD,CAAC;AAEF,eAAO,MAAM,OAAO,GAAI,OAAO,gBAAgB,gBAS9C,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,OAAO,gBAAgB,gBAS/C,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,OAAO,gBAAgB,gBAShD,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,OAAO,gBAAgB,gBASzD,CAAC;AAEF,eAAO,MAAM,4BAA4B,GAAI,OAAO,gBAAgB,uBAMnE,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,OAAO,gBAAgB,uBA0B1D,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,OAAO,gBAAgB,uBA0B1D,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,OAAO,gBAAgB,uBA0BzD,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,OAAO,gBAAgB,uBA0B1D,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,OAAO,gBAAgB,uBA0BrD,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,OAAO,gBAAgB,uBA0BrD,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,OAAO,gBAAgB,uBAOzD,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,OAAO,gBAAgB,uBAc/C,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,OAAO,gBAAgB,uBAc/C,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,EAAE,CAAC,gBAAgB,CAAC,EAmBzD,CAAC"}
@@ -1,10 +1,10 @@
1
- import { default as React } from 'react';
1
+ import { FC, KeyboardEvent } from 'react';
2
2
  import { CursorStateType, ModeType } from '../types';
3
3
  type Props = {
4
4
  mode: ModeType;
5
- handleKeyUp?: (e: React.KeyboardEvent<HTMLTextAreaElement>, points: CursorStateType) => void;
5
+ handleKeyUp?: (e: KeyboardEvent<HTMLTextAreaElement>, points: CursorStateType) => void;
6
6
  };
7
- export declare const Editor: React.FC<Props>;
8
- export declare const editorStyle: (text: string) => React.JSX.Element;
7
+ export declare const Editor: FC<Props>;
8
+ export declare const editorStyle: (text: string) => JSX.Element;
9
9
  export {};
10
10
  //# sourceMappingURL=Editor.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Editor.d.ts","sourceRoot":"","sources":["../../components/Editor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AA8B1B,OAAO,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAGrD,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,QAAQ,CAAC;IACf,WAAW,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,mBAAmB,CAAC,EAAE,MAAM,EAAE,eAAe,KAAK,IAAI,CAAC;CAC9F,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CA4alC,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,MAAM,MAAM,sBAuCvC,CAAC"}
1
+ {"version":3,"file":"Editor.d.ts","sourceRoot":"","sources":["../../src/components/Editor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AA6B/C,OAAO,EAAE,eAAe,EAA8B,QAAQ,EAAE,MAAM,UAAU,CAAC;AAIjF,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,QAAQ,CAAC;IACf,WAAW,CAAC,EAAE,CAAC,CAAC,EAAE,aAAa,CAAC,mBAAmB,CAAC,EAAE,MAAM,EAAE,eAAe,KAAK,IAAI,CAAC;CACxF,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,EAAE,CAAC,KAAK,CAkjB5B,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,MAAM,MAAM,gBAuCvC,CAAC"}
@@ -1,9 +1,9 @@
1
- import { default as React } from 'react';
1
+ import { FC } from 'react';
2
2
  import { FeedbackType } from '../types';
3
3
  type Props = {
4
4
  onChange?: FeedbackType;
5
5
  onSelect?: FeedbackType;
6
6
  };
7
- export declare const Emitter: React.FC<Props>;
7
+ export declare const Emitter: FC<Props>;
8
8
  export {};
9
9
  //# sourceMappingURL=Emitter.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Emitter.d.ts","sourceRoot":"","sources":["../../components/Emitter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAExC,KAAK,KAAK,GAAG;IACX,QAAQ,CAAC,EAAE,YAAY,CAAC;IACxB,QAAQ,CAAC,EAAE,YAAY,CAAC;CACzB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAwBnC,CAAC"}
1
+ {"version":3,"file":"Emitter.d.ts","sourceRoot":"","sources":["../../src/components/Emitter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAE7C,KAAK,KAAK,GAAG;IACX,QAAQ,CAAC,EAAE,YAAY,CAAC;IACxB,QAAQ,CAAC,EAAE,YAAY,CAAC;CACzB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,EAAE,CAAC,KAAK,CAqB7B,CAAC"}
@@ -1,10 +1,10 @@
1
- import { default as React, CSSProperties } from 'react';
1
+ import { CSSProperties, FC, ReactNode } from 'react';
2
2
  type Props = {
3
3
  className?: string;
4
4
  style?: CSSProperties;
5
- children: React.ReactNode;
5
+ children: ReactNode;
6
6
  [attr: string]: any;
7
7
  };
8
- export declare const Fixed: React.FC<Props>;
8
+ export declare const Fixed: FC<Props>;
9
9
  export {};
10
10
  //# sourceMappingURL=Fixed.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Fixed.d.ts","sourceRoot":"","sources":["../../components/Fixed.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAI7C,KAAK,KAAK,GAAG;IACX,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAWjC,CAAC"}
1
+ {"version":3,"file":"Fixed.d.ts","sourceRoot":"","sources":["../../src/components/Fixed.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAI1D,KAAK,KAAK,GAAG;IACX,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,QAAQ,EAAE,SAAS,CAAC;IACpB,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,EAAE,CAAC,KAAK,CAW3B,CAAC"}
@@ -1,3 +1,2 @@
1
- import { default as React } from 'react';
2
- export declare const FormulaBar: React.FC;
1
+ export declare const FormulaBar: () => JSX.Element;
3
2
  //# sourceMappingURL=FormulaBar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FormulaBar.d.ts","sourceRoot":"","sources":["../../components/FormulaBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EA0I9B,CAAC"}
1
+ {"version":3,"file":"FormulaBar.d.ts","sourceRoot":"","sources":["../../src/components/FormulaBar.tsx"],"names":[],"mappings":"AAUA,eAAO,MAAM,UAAU,mBA0JtB,CAAC"}
@@ -1,4 +1,3 @@
1
1
  import { Props } from '../types';
2
- import * as React from 'react';
3
- export declare function GridSheet({ initialCells, sheetName, tableRef, options, className, style, additionalFunctions, }: Props): React.JSX.Element;
2
+ export declare function GridSheet({ initialCells, sheetName, tableRef, storeRef, options, className, style, hub: initialHub, }: Props): JSX.Element;
4
3
  //# sourceMappingURL=GridSheet.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"GridSheet.d.ts","sourceRoot":"","sources":["../../components/GridSheet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAmC,KAAK,EAAa,MAAM,UAAU,CAAC;AA4B7E,wBAAgB,SAAS,CAAC,EACxB,YAAY,EACZ,SAAc,EACd,QAAQ,EACR,OAAY,EACZ,SAAS,EACT,KAAK,EACL,mBAAwB,GACzB,EAAE,KAAK,qBAwLP"}
1
+ {"version":3,"file":"GridSheet.d.ts","sourceRoot":"","sources":["../../src/components/GridSheet.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAmC,KAAK,EAAa,MAAM,UAAU,CAAC;AAmBlF,wBAAgB,SAAS,CAAC,EACxB,YAAY,EACZ,SAAc,EACd,QAAQ,EACR,QAAQ,EACR,OAAY,EACZ,SAAS,EACT,KAAK,EACL,GAAG,EAAE,UAAU,GAChB,EAAE,KAAK,eA2JP"}
@@ -1,7 +1,7 @@
1
- import { default as React } from 'react';
1
+ import { FC } from 'react';
2
2
  type Props = {
3
3
  y: number;
4
4
  };
5
- export declare const HeaderCellLeft: React.FC<Props>;
5
+ export declare const HeaderCellLeft: FC<Props>;
6
6
  export {};
7
7
  //# sourceMappingURL=HeaderCellLeft.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"HeaderCellLeft.d.ts","sourceRoot":"","sources":["../../components/HeaderCellLeft.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAkB1B,KAAK,KAAK,GAAG;IACX,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CA4HzC,CAAC"}
1
+ {"version":3,"file":"HeaderCellLeft.d.ts","sourceRoot":"","sources":["../../src/components/HeaderCellLeft.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAyBhC,KAAK,KAAK,GAAG;IACX,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,KAAK,CAuLpC,CAAC"}
@@ -1,7 +1,7 @@
1
- import { default as React } from 'react';
1
+ import { FC } from 'react';
2
2
  type Props = {
3
3
  x: number;
4
4
  };
5
- export declare const HeaderCellTop: React.FC<Props>;
5
+ export declare const HeaderCellTop: FC<Props>;
6
6
  export {};
7
7
  //# sourceMappingURL=HeaderCellTop.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"HeaderCellTop.d.ts","sourceRoot":"","sources":["../../components/HeaderCellTop.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAkB1B,KAAK,KAAK,GAAG;IACX,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CA8HxC,CAAC"}
1
+ {"version":3,"file":"HeaderCellTop.d.ts","sourceRoot":"","sources":["../../src/components/HeaderCellTop.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAyBhC,KAAK,KAAK,GAAG;IACX,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,KAAK,CAwLnC,CAAC"}
@@ -1,4 +1,4 @@
1
- import { default as React } from 'react';
1
+ import { ReactNode } from 'react';
2
2
  import { StoreType } from '../types';
3
3
  import { Dispatcher } from '../store';
4
4
  export type PluginContextType = {
@@ -8,14 +8,14 @@ export type PluginContextType = {
8
8
  setStore: (store: StoreType) => void;
9
9
  setDispatch: (dispatch: Dispatcher) => void;
10
10
  };
11
- export declare const PluginContext: React.Context<PluginContextType>;
11
+ export declare const PluginContext: import('react').Context<PluginContextType>;
12
12
  export declare function useInitialPluginContext(): PluginContextType;
13
13
  export declare function usePluginContext(): [boolean, PluginContextType];
14
14
  export declare function usePluginDispatch(): PluginContextType | undefined;
15
15
  type Props = {
16
- children: React.ReactNode;
16
+ children: ReactNode;
17
17
  context: PluginContextType;
18
18
  };
19
- export declare function PluginBase({ children, context }: Props): React.JSX.Element;
19
+ export declare function PluginBase({ children, context }: Props): JSX.Element;
20
20
  export {};
21
21
  //# sourceMappingURL=PluginBase.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PluginBase.d.ts","sourceRoot":"","sources":["../../components/PluginBase.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAEtC,MAAM,MAAM,iBAAiB,GAAG;IAC9B,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,QAAQ,CAAC,EAAE,UAAU,CAAC;IACtB,QAAQ,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,IAAI,CAAC;IACrC,WAAW,EAAE,CAAC,QAAQ,EAAE,UAAU,KAAK,IAAI,CAAC;CAC7C,CAAC;AAEF,eAAO,MAAM,aAAa,kCAA+C,CAAC;AAE1E,wBAAgB,uBAAuB,IAAI,iBAAiB,CAU3D;AAED,wBAAgB,gBAAgB,IAAI,CAAC,OAAO,EAAE,iBAAiB,CAAC,CAM/D;AAED,wBAAgB,iBAAiB,kCAMhC;AAED,KAAK,KAAK,GAAG;IACX,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,EAAE,iBAAiB,CAAC;CAC5B,CAAC;AAEF,wBAAgB,UAAU,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,KAAK,qBAMtD"}
1
+ {"version":3,"file":"PluginBase.d.ts","sourceRoot":"","sources":["../../src/components/PluginBase.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAE3C,MAAM,MAAM,iBAAiB,GAAG;IAC9B,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,QAAQ,CAAC,EAAE,UAAU,CAAC;IACtB,QAAQ,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,IAAI,CAAC;IACrC,WAAW,EAAE,CAAC,QAAQ,EAAE,UAAU,KAAK,IAAI,CAAC;CAC7C,CAAC;AAEF,eAAO,MAAM,aAAa,4CAAyC,CAAC;AAEpE,wBAAgB,uBAAuB,IAAI,iBAAiB,CAU3D;AAED,wBAAgB,gBAAgB,IAAI,CAAC,OAAO,EAAE,iBAAiB,CAAC,CAM/D;AAED,wBAAgB,iBAAiB,kCAMhC;AAED,KAAK,KAAK,GAAG;IACX,QAAQ,EAAE,SAAS,CAAC;IACpB,OAAO,EAAE,iBAAiB,CAAC;CAC5B,CAAC;AAEF,wBAAgB,UAAU,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,KAAK,eAMtD"}
@@ -1,3 +1,2 @@
1
- import { default as React } from 'react';
2
- export declare const Resizer: React.FC;
1
+ export declare const Resizer: () => JSX.Element | null;
3
2
  //# sourceMappingURL=Resizer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Resizer.d.ts","sourceRoot":"","sources":["../../components/Resizer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EA+F1B,CAAC"}
1
+ {"version":3,"file":"Resizer.d.ts","sourceRoot":"","sources":["../../src/components/Resizer.tsx"],"names":[],"mappings":"AAWA,eAAO,MAAM,OAAO,0BA+FnB,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { CSSProperties } from 'react';
2
+ type Props = {
3
+ style: CSSProperties;
4
+ horizontal?: number;
5
+ vertical?: number;
6
+ };
7
+ export declare function ScrollHandle({ style, horizontal, vertical }: Props): JSX.Element | null;
8
+ export {};
9
+ //# sourceMappingURL=ScrollHandle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScrollHandle.d.ts","sourceRoot":"","sources":["../../src/components/ScrollHandle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAS3C,KAAK,KAAK,GAAG;IACX,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,EAAE,KAAK,sBA+I1E"}
@@ -1,3 +1,2 @@
1
- import { default as React } from 'react';
2
- export declare const SearchBar: React.FC;
1
+ export declare const SearchBar: () => JSX.Element | null;
3
2
  //# sourceMappingURL=SearchBar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SearchBar.d.ts","sourceRoot":"","sources":["../../components/SearchBar.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAyF7B,CAAC"}
1
+ {"version":3,"file":"SearchBar.d.ts","sourceRoot":"","sources":["../../src/components/SearchBar.tsx"],"names":[],"mappings":"AAUA,eAAO,MAAM,SAAS,0BAyFrB,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { FC, MutableRefObject } from 'react';
2
+ import { OptionsType, StoreRef } from '../types';
3
+ type StoreInitializerProps = OptionsType & {
4
+ sheetName?: string;
5
+ storeRef?: MutableRefObject<StoreRef | null>;
6
+ };
7
+ export declare const createStoreRef: () => import('react').RefObject<StoreRef | null>;
8
+ export declare const useStoreRef: () => MutableRefObject<StoreRef | null>;
9
+ export declare const StoreObserver: FC<StoreInitializerProps>;
10
+ export {};
11
+ //# sourceMappingURL=StoreObserver.d.ts.map
@@ -0,0 +1 @@
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,QAAQ,EAAE,MAAM,UAAU,CAAC;AAQ7D,KAAK,qBAAqB,GAAG,WAAW,GAAG;IACzC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,gBAAgB,CAAC,QAAQ,GAAG,IAAI,CAAC,CAAC;CAC9C,CAAC;AAEF,eAAO,MAAM,cAAc,kDAAqC,CAAC;AACjE,eAAO,MAAM,WAAW,yCAAsC,CAAC;AAC/D,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,qBAAqB,CA0FnD,CAAC"}
@@ -1,9 +1,9 @@
1
- import { default as React } from 'react';
2
1
  import { TableRef } from '../types';
3
2
  type Props = {
4
3
  tableRef: React.MutableRefObject<TableRef | null> | undefined;
5
4
  };
6
- export declare const createTableRef: () => React.MutableRefObject<TableRef | null>;
7
- export declare const Tabular: ({ tableRef }: Props) => React.JSX.Element;
5
+ export declare const createTableRef: () => import('react').RefObject<TableRef | null>;
6
+ export declare const useTableRef: () => import('react').MutableRefObject<TableRef | null>;
7
+ export declare const Tabular: ({ tableRef }: Props) => JSX.Element | null;
8
8
  export {};
9
9
  //# sourceMappingURL=Tabular.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tabular.d.ts","sourceRoot":"","sources":["../../components/Tabular.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B,OAAO,EAAwC,QAAQ,EAAkB,MAAM,UAAU,CAAC;AAS1F,KAAK,KAAK,GAAG;IACX,QAAQ,EAAE,KAAK,CAAC,gBAAgB,CAAC,QAAQ,GAAG,IAAI,CAAC,GAAG,SAAS,CAAC;CAC/D,CAAC;AAEF,eAAO,MAAM,cAAc,+CAA4C,CAAC;AAExE,eAAO,MAAM,OAAO,GAAI,cAAc,KAAK,sBAmL1C,CAAC"}
1
+ {"version":3,"file":"Tabular.d.ts","sourceRoot":"","sources":["../../src/components/Tabular.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAwC,QAAQ,EAAkB,MAAM,UAAU,CAAC;AAS/F,KAAK,KAAK,GAAG;IACX,QAAQ,EAAE,KAAK,CAAC,gBAAgB,CAAC,QAAQ,GAAG,IAAI,CAAC,GAAG,SAAS,CAAC;CAC/D,CAAC;AAEF,eAAO,MAAM,cAAc,kDAAqC,CAAC;AACjE,eAAO,MAAM,WAAW,yDAAsC,CAAC;AAC/D,eAAO,MAAM,OAAO,GAAI,cAAc,KAAK,uBA0L1C,CAAC"}
@@ -5,4 +5,6 @@ export declare const useBrowser: () => {
5
5
  window: null;
6
6
  document: null;
7
7
  };
8
+ export declare const useDebounce: <T>(value: T, delay?: number) => T;
9
+ export declare const useDebounceCallback: (callback: (...args: any[]) => void, delay?: number) => (...args: any[]) => void;
8
10
  //# sourceMappingURL=hooks.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../components/hooks.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU;;;;;;CAStB,CAAC"}
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,4 +1,3 @@
1
- import { default as React } from 'react';
2
1
  import { IconProps } from './Base';
3
- export declare const AddIcon: ({ style, color, size }: IconProps) => React.JSX.Element;
2
+ export declare const AddIcon: ({ style, color, size }: IconProps) => JSX.Element;
4
3
  //# sourceMappingURL=AddIcon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AddIcon.d.ts","sourceRoot":"","sources":["../../../components/svg/AddIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,SAAS,EAAQ,MAAM,QAAQ,CAAC;AAI9C,eAAO,MAAM,OAAO,GAAI,wBAAsC,SAAS,sBAQtE,CAAC"}
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,12 +1,12 @@
1
- import { default as React } from 'react';
1
+ import { ReactNode, CSSProperties } from 'react';
2
2
  export interface IconProps {
3
- style?: React.CSSProperties;
3
+ style?: CSSProperties;
4
4
  color?: string;
5
5
  size?: number;
6
6
  }
7
7
  interface BaseProps extends IconProps {
8
- children?: React.ReactNode;
8
+ children?: ReactNode;
9
9
  }
10
- export declare const Base: ({ style, size, children }: BaseProps) => React.JSX.Element;
10
+ export declare const Base: ({ style, size, children }: BaseProps) => JSX.Element;
11
11
  export {};
12
12
  //# sourceMappingURL=Base.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Base.d.ts","sourceRoot":"","sources":["../../../components/svg/Base.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,SAAS;IACxB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,UAAU,SAAU,SAAQ,SAAS;IACnC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAID,eAAO,MAAM,IAAI,GAAI,2BAAgC,SAAS,sBAkB7D,CAAC"}
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,4 +1,3 @@
1
- import { default as React } from 'react';
2
1
  import { IconProps } from './Base';
3
- export declare const CloseIcon: ({ style, color, size }: IconProps) => React.JSX.Element;
2
+ export declare const CloseIcon: ({ style, color, size }: IconProps) => JSX.Element;
4
3
  //# sourceMappingURL=CloseIcon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CloseIcon.d.ts","sourceRoot":"","sources":["../../../components/svg/CloseIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,SAAS,EAAQ,MAAM,QAAQ,CAAC;AAI9C,eAAO,MAAM,SAAS,GAAI,wBAAsC,SAAS,sBAQxE,CAAC"}
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,4 +1,3 @@
1
- import { default as React } from 'react';
2
1
  import { IconProps } from './Base';
3
- export declare const SearchIcon: ({ style, color, size }: IconProps) => React.JSX.Element;
2
+ export declare const SearchIcon: ({ style, color, size }: IconProps) => JSX.Element;
4
3
  //# sourceMappingURL=SearchIcon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SearchIcon.d.ts","sourceRoot":"","sources":["../../../components/svg/SearchIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,SAAS,EAAQ,MAAM,QAAQ,CAAC;AAI9C,eAAO,MAAM,UAAU,GAAI,wBAAsC,SAAS,sBAQzE,CAAC"}
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,5 +1,5 @@
1
- export declare const DUMMY_IMG: HTMLImageElement;
2
- export declare const HISTORY_LIMIT = 10;
1
+ import { ZoneType } from './types';
2
+ export declare const DEFAULT_HISTORY_LIMIT = 20;
3
3
  export declare const DEFAULT_HEIGHT = 24;
4
4
  export declare const DEFAULT_WIDTH = 90;
5
5
  export declare const SHEET_HEIGHT = 500;
@@ -17,4 +17,5 @@ export declare class Special {
17
17
  }
18
18
  export declare const SECONDS_IN_DAY = 86400;
19
19
  export declare const FULLDATE_FORMAT_UTC = "YYYY-MM-DDTHH:mm:ss.SSSZ";
20
+ export declare const RESET_ZONE: ZoneType;
20
21
  //# sourceMappingURL=constants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../constants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,EAA6E,gBAAgB,CAAC;AAMpH,eAAO,MAAM,aAAa,KAAK,CAAC;AA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,cAAc,QAAQ,CAAC;AACpC,eAAO,MAAM,mBAAmB,6BAA6B,CAAC;AAE9D,eAAO,MAAM,UAAU,EAAE,QAKxB,CAAC"}
@@ -1,8 +1,22 @@
1
1
  import { Table } from '../lib/table';
2
- import { PointType } from '../types';
2
+ import { Id, PointType } from '../types';
3
3
  type EvaluateProps = {
4
4
  table: Table;
5
5
  };
6
+ export type IdentifyProps = {
7
+ table: Table;
8
+ slideY?: number;
9
+ slideX?: number;
10
+ dependency: string;
11
+ idMap?: {
12
+ [id: string]: string;
13
+ };
14
+ };
15
+ export type DisplayProps = {
16
+ table: Table;
17
+ slideY?: number;
18
+ slideX?: number;
19
+ };
6
20
  export declare class FormulaError {
7
21
  code: string;
8
22
  message: string;
@@ -25,27 +39,25 @@ export declare class InvalidRefEntity extends Entity<string> {
25
39
  export declare class RefEntity extends Entity<string> {
26
40
  constructor(value: string);
27
41
  stringify(): string;
28
- private parse;
29
42
  evaluate({ table }: EvaluateProps): Table;
30
- id(table: Table): string;
43
+ identify({ table, dependency, slideY, slideX }: IdentifyProps): string;
31
44
  }
32
45
  export declare class RangeEntity extends Entity<string> {
33
- private parse;
34
46
  stringify(): string;
35
47
  evaluate({ table }: EvaluateProps): Table;
36
- idRange(table: Table): string;
48
+ identify({ table, dependency, slideY, slideX }: IdentifyProps): string;
37
49
  }
38
50
  export declare class IdEntity extends Entity<string> {
39
51
  private parse;
40
52
  evaluate({ table }: EvaluateProps): Table;
41
- ref(table: Table, slideY?: number, slideX?: number): string | undefined;
42
- slide(table: Table, slideY?: number, slideX?: number): string | undefined;
53
+ display({ table, slideY, slideX }: DisplayProps): string;
54
+ identify({ table, dependency, slideX, slideY }: IdentifyProps): string;
43
55
  }
44
56
  export declare class IdRangeEntity extends Entity<string> {
45
57
  private parse;
46
58
  evaluate({ table }: EvaluateProps): Table;
47
- range(table: Table, slideY?: number, slideX?: number): string;
48
- slide(table: Table, slideY?: number, slideX?: number): string;
59
+ display({ table, slideY, slideX }: DisplayProps): string;
60
+ identify({ table, dependency, slideY, slideX }: IdentifyProps): string | undefined;
49
61
  }
50
62
  export declare class FunctionEntity {
51
63
  args: Expression[];
@@ -69,6 +81,9 @@ export declare class Token {
69
81
  }
70
82
  type LexerOption = {
71
83
  origin?: PointType;
84
+ idMap?: {
85
+ [id: Id]: Id;
86
+ };
72
87
  };
73
88
  export declare class Lexer {
74
89
  private index;
@@ -76,19 +91,21 @@ export declare class Lexer {
76
91
  tokens: Token[];
77
92
  foreign: boolean;
78
93
  private origin?;
94
+ private idMap;
79
95
  constructor(formula: string, options?: LexerOption);
80
96
  private isWhiteSpace;
81
97
  private next;
82
98
  private get;
83
99
  private getToken;
84
- getTokenIndexByCharPosition(pos: number): number;
100
+ getTokenIndexByCharPosition(pos: number): [number, boolean];
85
101
  getTokenPositionRange(index: number, slide?: number): [number, number];
86
102
  stringify(): string;
87
- stringifyToId(table: Table, slideY?: number, slideX?: number): string;
88
- stringifyToRef(table: Table): string;
103
+ identify(props: IdentifyProps): string;
104
+ display({ table }: DisplayProps): string;
89
105
  tokenize(): void;
90
106
  private skipSpaces;
91
107
  private getString;
108
+ private resolveIdRange;
92
109
  }
93
110
  export declare class Parser {
94
111
  index: number;
@@ -98,12 +115,19 @@ export declare class Parser {
98
115
  build(): Expression | undefined;
99
116
  private parse;
100
117
  }
101
- export declare const absolutizeFormula: ({ value, table, slideY, slideX, }: {
102
- value: any;
103
- table: Table;
104
- slideY?: number;
105
- slideX?: number;
106
- }) => any;
118
+ export declare const identifyFormula: (value: any, { idMap, ...props }: IdentifyProps) => any;
107
119
  export declare const stripSheetName: (sheetName: string) => string;
120
+ export declare function splitRef(ref: string): {
121
+ sheetName: string | undefined;
122
+ addresses: string[];
123
+ };
124
+ export declare const parseRef: (table: Table, ref: string) => {
125
+ table: Table;
126
+ sheetId?: number;
127
+ formula?: string;
128
+ sheetName?: string;
129
+ addresses: string[];
130
+ ids: string[];
131
+ };
108
132
  export {};
109
133
  //# sourceMappingURL=evaluator.d.ts.map
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"","sources":["../../../formula/functions/__base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,UAAU,EAAE,CAAC;IACnB,KAAK,EAAE,KAAK,CAAC;IACb,MAAM,CAAC,EAAE,SAAS,CAAC;CACpB,CAAC;AAEF,qBAAa,YAAY;IAChB,OAAO,SAAa;IACpB,SAAS,WAA+B;IACxC,QAAQ;;;QAAyC;IACxD,SAAS,CAAC,QAAQ,EAAE,GAAG,EAAE,CAAC;IAC1B,SAAS,CAAC,KAAK,EAAE,KAAK,CAAC;IACvB,SAAS,CAAC,MAAM,CAAC,EAAE,SAAS,CAAC;gBAEjB,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,aAAa;IAKlD,SAAS,CAAC,QAAQ;IAEX,IAAI;CAOZ;AAED,MAAM,MAAM,eAAe,GAAG;IAAE,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,YAAY,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"__base.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/__base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,UAAU,EAAE,CAAC;IACnB,KAAK,EAAE,KAAK,CAAC;IACb,MAAM,CAAC,EAAE,SAAS,CAAC;CACpB,CAAC;AAEF,qBAAa,YAAY;IAChB,OAAO,SAAa;IACpB,SAAS,WAA+B;IACxC,QAAQ;;;QAAyC;IACxD,SAAS,CAAC,QAAQ,EAAE,GAAG,EAAE,CAAC;IAC1B,SAAS,CAAC,KAAK,EAAE,KAAK,CAAC;IACvB,SAAS,CAAC,MAAM,CAAC,EAAE,SAAS,CAAC;gBAEjB,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,aAAa;IAKlD,SAAS,CAAC,QAAQ;IAEX,IAAI;CAOZ;AAED,MAAM,MAAM,eAAe,GAAG;IAAE,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,YAAY,CAAA;CAAE,CAAC"}
@@ -4,9 +4,12 @@ export declare const lt: (left: any, right: any) => boolean;
4
4
  export declare const lte: (left: any, right: any) => boolean;
5
5
  export declare const eq: (left: any, right: any) => boolean;
6
6
  export declare const ne: (left: any, right: any) => boolean;
7
- export declare const ensureNumber: (value: any, alternative?: number) => number;
7
+ export type EnsureNumberOptions = {
8
+ alternative?: number;
9
+ ignore?: boolean;
10
+ };
11
+ export declare const ensureNumber: (value: any, options?: EnsureNumberOptions) => number;
8
12
  export declare const ensureString: (value: any) => string;
9
13
  export declare const ensureBoolean: (value: any, alternative?: boolean) => boolean;
10
- export declare const stripTable: (value: any, y?: number, x?: number) => any;
11
14
  export declare const check: (value: any, condition: string) => boolean;
12
15
  //# sourceMappingURL=__utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"__utils.d.ts","sourceRoot":"","sources":["../../../formula/functions/__utils.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,EAAE,GAAI,MAAM,GAAG,EAAE,OAAO,GAAG,KAAG,OAS1C,CAAC;AAEF,eAAO,MAAM,GAAG,GAAI,MAAM,GAAG,EAAE,OAAO,GAAG,KAAG,OAS3C,CAAC;AAEF,eAAO,MAAM,EAAE,GAAI,MAAM,GAAG,EAAE,OAAO,GAAG,KAAG,OAE1C,CAAC;AAEF,eAAO,MAAM,GAAG,GAAI,MAAM,GAAG,EAAE,OAAO,GAAG,KAAG,OAE3C,CAAC;AAEF,eAAO,MAAM,EAAE,GAA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AAE,UAAU,mBAAmB,KAAG,MAgCxE,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,OAAO,GAAG,KAAG,MAmBzC,CAAC;AAEF,eAAO,MAAM,aAAa,GACxB,OAAO,GAAG,EAEV,cAAc,OAAO,KACpB,OAmBF,CAAC;AAIF,eAAO,MAAM,KAAK,GAAI,OAAO,GAAG,EAAE,WAAW,MAAM,KAAG,OAqCrD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"abs.d.ts","sourceRoot":"","sources":["../../../formula/functions/abs.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAGxC,qBAAa,WAAY,SAAQ,YAAY;IAC3C,OAAO,SAAa;IACpB,QAAQ,WAA8C;IACtD,QAAQ;;;QAAqD;IAE7D,SAAS,CAAC,QAAQ;IAOlB,SAAS,CAAC,IAAI,CAAC,KAAK,EAAE,MAAM;CAG7B"}
1
+ {"version":3,"file":"abs.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/abs.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAGxC,qBAAa,WAAY,SAAQ,YAAY;IAC3C,OAAO,SAAa;IACpB,QAAQ,WAA8C;IACtD,QAAQ;;;QAAqD;IAE7D,SAAS,CAAC,QAAQ;IAOlB,SAAS,CAAC,IAAI,CAAC,KAAK,EAAE,MAAM;CAG7B"}
@@ -1 +1 @@
1
- {"version":3,"file":"acos.d.ts","sourceRoot":"","sources":["../../../formula/functions/acos.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAGxC,qBAAa,YAAa,SAAQ,YAAY;IAC5C,OAAO,SAAa;IACpB,QAAQ,WAAwD;IAChE,QAAQ;;;QAKN;IAEF,SAAS,CAAC,QAAQ;IAUlB,SAAS,CAAC,IAAI,CAAC,KAAK,EAAE,MAAM;CAG7B"}
1
+ {"version":3,"file":"acos.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/acos.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAGxC,qBAAa,YAAa,SAAQ,YAAY;IAC5C,OAAO,SAAa;IACpB,QAAQ,WAAwD;IAChE,QAAQ;;;QAKN;IAEF,SAAS,CAAC,QAAQ;IAUlB,SAAS,CAAC,IAAI,CAAC,KAAK,EAAE,MAAM;CAG7B"}
@@ -8,6 +8,6 @@ export declare class AddFunction extends BaseFunction {
8
8
  description: string;
9
9
  }[];
10
10
  protected validate(): void;
11
- protected main(v1: number | Date | TimeDelta, v2: number | Date | TimeDelta): number | Date | TimeDelta;
11
+ protected main(v1: number | Date | TimeDelta, v2: number | Date | TimeDelta): number | Date;
12
12
  }
13
13
  //# sourceMappingURL=add.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"add.d.ts","sourceRoot":"","sources":["../../../formula/functions/add.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAGxC,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAG3C,qBAAa,WAAY,SAAQ,YAAY;IAC3C,OAAO,SAAe;IACtB,QAAQ,WAAgF;IACxF,QAAQ;;;QAGN;IAEF,SAAS,CAAC,QAAQ;IAYlB,SAAS,CAAC,IAAI,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAAE,EAAE,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS;CA4B5E"}
1
+ {"version":3,"file":"add.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/add.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAIxC,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAG3C,qBAAa,WAAY,SAAQ,YAAY;IAC3C,OAAO,SAAe;IACtB,QAAQ,WAAgF;IACxF,QAAQ;;;QAGN;IAEF,SAAS,CAAC,QAAQ;IAYlB,SAAS,CAAC,IAAI,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAAE,EAAE,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS;CA0B5E"}
@@ -1 +1 @@
1
- {"version":3,"file":"and.d.ts","sourceRoot":"","sources":["../../../formula/functions/and.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAGxC,qBAAa,WAAY,SAAQ,YAAY;IAC3C,OAAO,SAAqB;IAC5B,QAAQ,WAA8G;IACtH,QAAQ;;;;;;;;;;SAQN;IAEF,SAAS,CAAC,QAAQ;IAIlB,SAAS,CAAC,IAAI,CAAC,GAAG,MAAM,EAAE,OAAO,EAAE;CAGpC"}
1
+ {"version":3,"file":"and.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/and.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAGxC,qBAAa,WAAY,SAAQ,YAAY;IAC3C,OAAO,SAAqB;IAC5B,QAAQ,WAA8G;IACtH,QAAQ;;;;;;;;;;SAQN;IAEF,SAAS,CAAC,QAAQ;IAIlB,SAAS,CAAC,IAAI,CAAC,GAAG,MAAM,EAAE,OAAO,EAAE;CAGpC"}
@@ -1 +1 @@
1
- {"version":3,"file":"asin.d.ts","sourceRoot":"","sources":["../../../formula/functions/asin.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAGxC,qBAAa,YAAa,SAAQ,YAAY;IAC5C,OAAO,SAAa;IACpB,QAAQ,WAAwD;IAChE,QAAQ;;;QAKN;IAEF,SAAS,CAAC,QAAQ;IAUlB,SAAS,CAAC,IAAI,CAAC,KAAK,EAAE,MAAM;CAG7B"}
1
+ {"version":3,"file":"asin.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/asin.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAGxC,qBAAa,YAAa,SAAQ,YAAY;IAC5C,OAAO,SAAa;IACpB,QAAQ,WAAwD;IAChE,QAAQ;;;QAKN;IAEF,SAAS,CAAC,QAAQ;IAUlB,SAAS,CAAC,IAAI,CAAC,KAAK,EAAE,MAAM;CAG7B"}