@fileverse-dev/fortune-react 1.1.0 → 1.1.1

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 (444) hide show
  1. package/es/assets/paint-roller.png +0 -0
  2. package/es/components/ChangeColor/index.css +76 -0
  3. package/{dist/packages/react/src → es}/components/ChangeColor/index.d.ts +7 -7
  4. package/es/components/ChangeColor/index.js +41 -0
  5. package/{dist/packages/react/src → es}/components/ConditionFormat/ConditionRules.d.ts +6 -6
  6. package/es/components/ConditionFormat/ConditionRules.js +323 -0
  7. package/es/components/ConditionFormat/index.css +210 -0
  8. package/{dist/packages/react/src → es}/components/ConditionFormat/index.d.ts +7 -7
  9. package/es/components/ConditionFormat/index.js +252 -0
  10. package/{dist/packages/react/src → es}/components/ContextMenu/Divider.d.ts +3 -3
  11. package/es/components/ContextMenu/Divider.js +7 -0
  12. package/{dist/packages/react/src → es}/components/ContextMenu/FilterMenu.d.ts +3 -3
  13. package/es/components/ContextMenu/FilterMenu.js +612 -0
  14. package/{dist/packages/react/src → es}/components/ContextMenu/Menu.d.ts +8 -8
  15. package/es/components/ContextMenu/Menu.js +25 -0
  16. package/{dist/packages/react/src → es}/components/ContextMenu/SheetTab.d.ts +4 -4
  17. package/es/components/ContextMenu/SheetTab.js +223 -0
  18. package/es/components/ContextMenu/index.css +322 -0
  19. package/{dist/packages/react/src → es}/components/ContextMenu/index.d.ts +5 -5
  20. package/es/components/ContextMenu/index.js +1054 -0
  21. package/es/components/CryptoDenominationSelector/index.css +67 -0
  22. package/es/components/CryptoDenominationSelector/index.d.ts +8 -0
  23. package/es/components/CryptoDenominationSelector/index.js +271 -0
  24. package/es/components/CustomSort/index.css +23 -0
  25. package/{dist/packages/react/src → es}/components/CustomSort/index.d.ts +4 -4
  26. package/es/components/CustomSort/index.js +113 -0
  27. package/{dist/packages/react/src → es}/components/DataVerification/DropdownList.d.ts +4 -4
  28. package/es/components/DataVerification/DropdownList.js +126 -0
  29. package/{dist/packages/react/src → es}/components/DataVerification/RangeDialog.d.ts +4 -4
  30. package/es/components/DataVerification/RangeDialog.js +105 -0
  31. package/{dist/packages/react/src → es}/components/DataVerification/getDisplayedRangeTxt.d.ts +2 -2
  32. package/es/components/DataVerification/getDisplayedRangeTxt.js +9 -0
  33. package/es/components/DataVerification/index.css +202 -0
  34. package/{dist/packages/react/src → es}/components/DataVerification/index.d.ts +4 -4
  35. package/es/components/DataVerification/index.js +398 -0
  36. package/es/components/Dialog/index.css +64 -0
  37. package/{dist/packages/react/src → es}/components/Dialog/index.d.ts +15 -15
  38. package/es/components/Dialog/index.js +72 -0
  39. package/{dist/packages/react/src → es}/components/DuneChartsInputModal/DuneChartsInputModal.d.ts +11 -11
  40. package/es/components/DuneChartsInputModal/DuneChartsInputModal.js +95 -0
  41. package/es/components/DuneChartsInputModal/duneChartsInputModal.css +98 -0
  42. package/{dist/packages/react/src → es}/components/DunePreview/DunePreview.d.ts +13 -13
  43. package/es/components/DunePreview/DunePreview.js +46 -0
  44. package/es/components/DunePreview/index.css +57 -0
  45. package/{dist/packages/react/src → es}/components/FilterOption/index.d.ts +5 -5
  46. package/es/components/FilterOption/index.js +121 -0
  47. package/es/components/FormatSearch/index.css +19 -0
  48. package/{dist/packages/react/src → es}/components/FormatSearch/index.d.ts +6 -6
  49. package/es/components/FormatSearch/index.js +133 -0
  50. package/es/components/FormulaSearch/index.css +65 -0
  51. package/{dist/packages/react/src → es}/components/FormulaSearch/index.d.ts +5 -5
  52. package/es/components/FormulaSearch/index.js +198 -0
  53. package/{dist/packages/react/src → es}/components/FxEditor/NameBox.d.ts +3 -3
  54. package/es/components/FxEditor/NameBox.js +29 -0
  55. package/es/components/FxEditor/index.css +72 -0
  56. package/{dist/packages/react/src → es}/components/FxEditor/index.d.ts +4 -4
  57. package/es/components/FxEditor/index.js +167 -0
  58. package/es/components/IFrameBoxs/iFrameBoxs.css +16 -0
  59. package/{dist/packages/react/src → es}/components/IFrameBoxs/iFrameBoxs.d.ts +4 -4
  60. package/es/components/IFrameBoxs/iFrameBoxs.js +142 -0
  61. package/{dist/packages/react/src → es}/components/ImgBoxs/index.d.ts +3 -3
  62. package/es/components/ImgBoxs/index.js +219 -0
  63. package/es/components/LinkEidtCard/index.css +255 -0
  64. package/{dist/packages/react/src → es}/components/LinkEidtCard/index.d.ts +5 -5
  65. package/es/components/LinkEidtCard/index.js +238 -0
  66. package/es/components/LocationCondition/index.css +74 -0
  67. package/{dist/packages/react/src → es}/components/LocationCondition/index.d.ts +3 -3
  68. package/es/components/LocationCondition/index.js +195 -0
  69. package/{dist/packages/react/src → es}/components/MessageBox/index.d.ts +9 -9
  70. package/es/components/MessageBox/index.js +16 -0
  71. package/{dist/packages/react/src → es}/components/NotationBoxes/index.d.ts +3 -3
  72. package/es/components/NotationBoxes/index.js +105 -0
  73. package/{dist/packages/react/src → es}/components/ResetColumnWidth/index.d.ts +2 -2
  74. package/es/components/ResetColumnWidth/index.js +130 -0
  75. package/{dist/packages/react/src → es}/components/SVGDefines.d.ts +5 -5
  76. package/es/components/SVGDefines.js +1961 -0
  77. package/{dist/packages/react/src → es}/components/SVGIcon.d.ts +9 -9
  78. package/es/components/SVGIcon.js +18 -0
  79. package/es/components/SearchReplace/index.css +191 -0
  80. package/{dist/packages/react/src → es}/components/SearchReplace/index.d.ts +6 -6
  81. package/es/components/SearchReplace/index.js +285 -0
  82. package/es/components/Sheet/index.css +27 -0
  83. package/{dist/packages/react/src → es}/components/Sheet/index.d.ts +8 -8
  84. package/es/components/Sheet/index.js +176 -0
  85. package/{dist/packages/react/src → es}/components/SheetList/SheetHiddenButton.d.ts +8 -8
  86. package/es/components/SheetList/SheetHiddenButton.js +35 -0
  87. package/{dist/packages/react/src → es}/components/SheetList/SheetListItem.d.ts +9 -9
  88. package/es/components/SheetList/SheetListItem.js +72 -0
  89. package/es/components/SheetList/index.css +48 -0
  90. package/{dist/packages/react/src → es}/components/SheetList/index.d.ts +4 -4
  91. package/es/components/SheetList/index.js +30 -0
  92. package/{dist/packages/react/src → es}/components/SheetOverlay/ColumnHeader.d.ts +3 -3
  93. package/es/components/SheetOverlay/ColumnHeader.js +217 -0
  94. package/{dist/packages/react/src → es}/components/SheetOverlay/ContentEditable.d.ts +11 -11
  95. package/es/components/SheetOverlay/ContentEditable.js +74 -0
  96. package/es/components/SheetOverlay/FormulaHint/index.css +180 -0
  97. package/{dist/packages/react/src → es}/components/SheetOverlay/FormulaHint/index.d.ts +4 -4
  98. package/es/components/SheetOverlay/FormulaHint/index.js +348 -0
  99. package/{dist/packages/react/src → es}/components/SheetOverlay/FormulaSearch/constant.d.ts +63 -63
  100. package/es/components/SheetOverlay/FormulaSearch/constant.js +328 -0
  101. package/es/components/SheetOverlay/FormulaSearch/index.css +44 -0
  102. package/{dist/packages/react/src → es}/components/SheetOverlay/FormulaSearch/index.d.ts +4 -4
  103. package/es/components/SheetOverlay/FormulaSearch/index.js +261 -0
  104. package/{dist/packages/react/src → es}/components/SheetOverlay/InputBox.d.ts +3 -3
  105. package/es/components/SheetOverlay/InputBox.js +395 -0
  106. package/{dist/packages/react/src → es}/components/SheetOverlay/RowHeader.d.ts +3 -3
  107. package/es/components/SheetOverlay/RowHeader.js +187 -0
  108. package/es/components/SheetOverlay/ScrollBar/index.css +40 -0
  109. package/{dist/packages/react/src → es}/components/SheetOverlay/ScrollBar/index.d.ts +7 -7
  110. package/es/components/SheetOverlay/ScrollBar/index.js +47 -0
  111. package/es/components/SheetOverlay/index.css +952 -0
  112. package/{dist/packages/react/src → es}/components/SheetOverlay/index.d.ts +4 -4
  113. package/es/components/SheetOverlay/index.js +580 -0
  114. package/{dist/packages/react/src → es}/components/SheetTab/SheetItem.d.ts +8 -8
  115. package/es/components/SheetTab/SheetItem.js +230 -0
  116. package/es/components/SheetTab/index.css +278 -0
  117. package/{dist/packages/react/src → es}/components/SheetTab/index.d.ts +4 -4
  118. package/es/components/SheetTab/index.js +191 -0
  119. package/es/components/SplitColumn/index.css +121 -0
  120. package/{dist/packages/react/src → es}/components/SplitColumn/index.d.ts +3 -3
  121. package/es/components/SplitColumn/index.js +167 -0
  122. package/{dist/packages/react/src → es}/components/Toolbar/Button.d.ts +12 -12
  123. package/es/components/Toolbar/Button.js +32 -0
  124. package/{dist/packages/react/src → es}/components/Toolbar/ColorPicker.d.ts +6 -6
  125. package/es/components/Toolbar/ColorPicker.js +27 -0
  126. package/{dist/packages/react/src → es}/components/Toolbar/Combo.d.ts +13 -12
  127. package/es/components/Toolbar/Combo.js +123 -0
  128. package/{dist/packages/react/src → es}/components/Toolbar/CustomBorder.d.ts +7 -7
  129. package/es/components/Toolbar/CustomBorder.js +211 -0
  130. package/{dist/packages/react/src → es}/components/Toolbar/CustomButton.d.ts +11 -11
  131. package/es/components/Toolbar/CustomButton.js +29 -0
  132. package/{dist/packages/react/src → es}/components/Toolbar/CustomColor.d.ts +8 -8
  133. package/es/components/Toolbar/CustomColor.js +25 -0
  134. package/{dist/packages/react/src → es}/components/Toolbar/CustomIcon.d.ts +9 -9
  135. package/es/components/Toolbar/CustomIcon.js +38 -0
  136. package/{dist/packages/react/src → es}/components/Toolbar/Divider.d.ts +4 -4
  137. package/es/components/Toolbar/Divider.js +12 -0
  138. package/{dist/packages/react/src → es}/components/Toolbar/MoreItemsContainer.d.ts +6 -6
  139. package/es/components/Toolbar/MoreItemsContainer.js +17 -0
  140. package/{dist/packages/react/src → es}/components/Toolbar/Select.d.ts +14 -14
  141. package/es/components/Toolbar/Select.js +34 -0
  142. package/es/components/Toolbar/index.css +411 -0
  143. package/es/components/Toolbar/index.d.ts +16 -0
  144. package/es/components/Toolbar/index.js +1722 -0
  145. package/{dist/packages/react/src → es}/components/Workbook/api.d.ts +1186 -1177
  146. package/es/components/Workbook/api.js +405 -0
  147. package/es/components/Workbook/index.css +48 -0
  148. package/{dist/packages/react/src → es}/components/Workbook/index.d.ts +1194 -1185
  149. package/es/components/Workbook/index.js +749 -0
  150. package/es/components/ZoomControl/index.css +54 -0
  151. package/{dist/packages/react/src → es}/components/ZoomControl/index.d.ts +4 -4
  152. package/es/components/ZoomControl/index.js +111 -0
  153. package/es/components/index.d.ts +5 -0
  154. package/es/components/index.js +3 -0
  155. package/es/constants.d.ts +27 -0
  156. package/es/constants.js +45 -0
  157. package/{dist/packages/react/src → es}/context/index.d.ts +25 -25
  158. package/es/context/index.js +34 -0
  159. package/{dist/packages/react/src → es}/context/modal.d.ts +10 -10
  160. package/es/context/modal.js +43 -0
  161. package/{dist/packages/react/src → es}/hooks/useAlert.d.ts +4 -4
  162. package/es/hooks/useAlert.js +28 -0
  163. package/{dist/packages/react/src → es}/hooks/useDialog.d.ts +5 -5
  164. package/es/hooks/useDialog.js +28 -0
  165. package/{dist/packages/react/src → es}/hooks/useOutsideClick.d.ts +2 -2
  166. package/es/hooks/useOutsideClick.js +15 -0
  167. package/{dist/packages/react/src → es}/hooks/usePrevious.d.ts +2 -2
  168. package/es/hooks/usePrevious.js +9 -0
  169. package/es/index.css +27 -0
  170. package/{dist/packages/react/src → es}/index.d.ts +1 -1
  171. package/es/index.js +1 -0
  172. package/es/utils/convertCellsToCrypto.d.ts +8 -0
  173. package/es/utils/convertCellsToCrypto.js +307 -0
  174. package/es/utils/cryptoApi.d.ts +3 -0
  175. package/es/utils/cryptoApi.js +190 -0
  176. package/{dist/packages/react/src → es}/utils/datepickerStyles.d.ts +2 -2
  177. package/es/utils/datepickerStyles.js +8 -0
  178. package/es/utils/updateCellsDecimalFormat.d.ts +6 -0
  179. package/es/utils/updateCellsDecimalFormat.js +80 -0
  180. package/lib/assets/paint-roller.png +0 -0
  181. package/lib/components/ChangeColor/index.css +76 -0
  182. package/lib/components/ChangeColor/index.d.ts +7 -0
  183. package/lib/components/ChangeColor/index.js +50 -0
  184. package/lib/components/ConditionFormat/ConditionRules.d.ts +6 -0
  185. package/lib/components/ConditionFormat/ConditionRules.js +332 -0
  186. package/lib/components/ConditionFormat/index.css +210 -0
  187. package/lib/components/ConditionFormat/index.d.ts +7 -0
  188. package/lib/components/ConditionFormat/index.js +261 -0
  189. package/lib/components/ContextMenu/Divider.d.ts +3 -0
  190. package/lib/components/ContextMenu/Divider.js +14 -0
  191. package/lib/components/ContextMenu/FilterMenu.d.ts +3 -0
  192. package/lib/components/ContextMenu/FilterMenu.js +621 -0
  193. package/lib/components/ContextMenu/Menu.d.ts +8 -0
  194. package/lib/components/ContextMenu/Menu.js +33 -0
  195. package/lib/components/ContextMenu/SheetTab.d.ts +4 -0
  196. package/lib/components/ContextMenu/SheetTab.js +232 -0
  197. package/lib/components/ContextMenu/index.css +322 -0
  198. package/lib/components/ContextMenu/index.d.ts +5 -0
  199. package/lib/components/ContextMenu/index.js +1063 -0
  200. package/lib/components/CryptoDenominationSelector/index.css +67 -0
  201. package/lib/components/CryptoDenominationSelector/index.d.ts +8 -0
  202. package/lib/components/CryptoDenominationSelector/index.js +280 -0
  203. package/lib/components/CustomSort/index.css +23 -0
  204. package/lib/components/CustomSort/index.d.ts +4 -0
  205. package/lib/components/CustomSort/index.js +122 -0
  206. package/lib/components/DataVerification/DropdownList.d.ts +4 -0
  207. package/lib/components/DataVerification/DropdownList.js +135 -0
  208. package/lib/components/DataVerification/RangeDialog.d.ts +4 -0
  209. package/lib/components/DataVerification/RangeDialog.js +114 -0
  210. package/lib/components/DataVerification/getDisplayedRangeTxt.d.ts +2 -0
  211. package/lib/components/DataVerification/getDisplayedRangeTxt.js +15 -0
  212. package/lib/components/DataVerification/index.css +202 -0
  213. package/lib/components/DataVerification/index.d.ts +4 -0
  214. package/lib/components/DataVerification/index.js +407 -0
  215. package/lib/components/Dialog/index.css +64 -0
  216. package/lib/components/Dialog/index.d.ts +15 -0
  217. package/lib/components/Dialog/index.js +81 -0
  218. package/lib/components/DuneChartsInputModal/DuneChartsInputModal.d.ts +11 -0
  219. package/lib/components/DuneChartsInputModal/DuneChartsInputModal.js +104 -0
  220. package/lib/components/DuneChartsInputModal/duneChartsInputModal.css +98 -0
  221. package/lib/components/DunePreview/DunePreview.d.ts +13 -0
  222. package/lib/components/DunePreview/DunePreview.js +53 -0
  223. package/lib/components/DunePreview/index.css +57 -0
  224. package/lib/components/FilterOption/index.d.ts +5 -0
  225. package/lib/components/FilterOption/index.js +130 -0
  226. package/lib/components/FormatSearch/index.css +19 -0
  227. package/lib/components/FormatSearch/index.d.ts +6 -0
  228. package/lib/components/FormatSearch/index.js +142 -0
  229. package/lib/components/FormulaSearch/index.css +65 -0
  230. package/lib/components/FormulaSearch/index.d.ts +5 -0
  231. package/lib/components/FormulaSearch/index.js +207 -0
  232. package/lib/components/FxEditor/NameBox.d.ts +3 -0
  233. package/lib/components/FxEditor/NameBox.js +38 -0
  234. package/lib/components/FxEditor/index.css +72 -0
  235. package/lib/components/FxEditor/index.d.ts +4 -0
  236. package/lib/components/FxEditor/index.js +176 -0
  237. package/lib/components/IFrameBoxs/iFrameBoxs.css +16 -0
  238. package/lib/components/IFrameBoxs/iFrameBoxs.d.ts +4 -0
  239. package/lib/components/IFrameBoxs/iFrameBoxs.js +151 -0
  240. package/lib/components/ImgBoxs/index.d.ts +3 -0
  241. package/lib/components/ImgBoxs/index.js +228 -0
  242. package/lib/components/LinkEidtCard/index.css +255 -0
  243. package/lib/components/LinkEidtCard/index.d.ts +5 -0
  244. package/lib/components/LinkEidtCard/index.js +247 -0
  245. package/lib/components/LocationCondition/index.css +74 -0
  246. package/lib/components/LocationCondition/index.d.ts +3 -0
  247. package/lib/components/LocationCondition/index.js +204 -0
  248. package/lib/components/MessageBox/index.d.ts +9 -0
  249. package/lib/components/MessageBox/index.js +23 -0
  250. package/lib/components/NotationBoxes/index.d.ts +3 -0
  251. package/lib/components/NotationBoxes/index.js +114 -0
  252. package/lib/components/ResetColumnWidth/index.d.ts +2 -0
  253. package/lib/components/ResetColumnWidth/index.js +138 -0
  254. package/lib/components/SVGDefines.d.ts +5 -0
  255. package/lib/components/SVGDefines.js +1968 -0
  256. package/lib/components/SVGIcon.d.ts +9 -0
  257. package/lib/components/SVGIcon.js +25 -0
  258. package/lib/components/SearchReplace/index.css +191 -0
  259. package/lib/components/SearchReplace/index.d.ts +6 -0
  260. package/lib/components/SearchReplace/index.js +294 -0
  261. package/lib/components/Sheet/index.css +27 -0
  262. package/lib/components/Sheet/index.d.ts +8 -0
  263. package/lib/components/Sheet/index.js +185 -0
  264. package/lib/components/SheetList/SheetHiddenButton.d.ts +8 -0
  265. package/lib/components/SheetList/SheetHiddenButton.js +44 -0
  266. package/lib/components/SheetList/SheetListItem.d.ts +9 -0
  267. package/lib/components/SheetList/SheetListItem.js +81 -0
  268. package/lib/components/SheetList/index.css +48 -0
  269. package/lib/components/SheetList/index.d.ts +4 -0
  270. package/lib/components/SheetList/index.js +39 -0
  271. package/lib/components/SheetOverlay/ColumnHeader.d.ts +3 -0
  272. package/lib/components/SheetOverlay/ColumnHeader.js +226 -0
  273. package/lib/components/SheetOverlay/ContentEditable.d.ts +11 -0
  274. package/lib/components/SheetOverlay/ContentEditable.js +83 -0
  275. package/lib/components/SheetOverlay/FormulaHint/index.css +180 -0
  276. package/lib/components/SheetOverlay/FormulaHint/index.d.ts +4 -0
  277. package/lib/components/SheetOverlay/FormulaHint/index.js +357 -0
  278. package/lib/components/SheetOverlay/FormulaSearch/constant.d.ts +63 -0
  279. package/lib/components/SheetOverlay/FormulaSearch/constant.js +334 -0
  280. package/lib/components/SheetOverlay/FormulaSearch/index.css +44 -0
  281. package/lib/components/SheetOverlay/FormulaSearch/index.d.ts +4 -0
  282. package/lib/components/SheetOverlay/FormulaSearch/index.js +270 -0
  283. package/lib/components/SheetOverlay/InputBox.d.ts +3 -0
  284. package/lib/components/SheetOverlay/InputBox.js +404 -0
  285. package/lib/components/SheetOverlay/RowHeader.d.ts +3 -0
  286. package/lib/components/SheetOverlay/RowHeader.js +196 -0
  287. package/lib/components/SheetOverlay/ScrollBar/index.css +40 -0
  288. package/lib/components/SheetOverlay/ScrollBar/index.d.ts +7 -0
  289. package/lib/components/SheetOverlay/ScrollBar/index.js +56 -0
  290. package/lib/components/SheetOverlay/index.css +952 -0
  291. package/lib/components/SheetOverlay/index.d.ts +4 -0
  292. package/lib/components/SheetOverlay/index.js +589 -0
  293. package/lib/components/SheetTab/SheetItem.d.ts +8 -0
  294. package/lib/components/SheetTab/SheetItem.js +239 -0
  295. package/lib/components/SheetTab/index.css +278 -0
  296. package/lib/components/SheetTab/index.d.ts +4 -0
  297. package/lib/components/SheetTab/index.js +200 -0
  298. package/lib/components/SplitColumn/index.css +121 -0
  299. package/lib/components/SplitColumn/index.d.ts +3 -0
  300. package/lib/components/SplitColumn/index.js +176 -0
  301. package/lib/components/Toolbar/Button.d.ts +12 -0
  302. package/lib/components/Toolbar/Button.js +39 -0
  303. package/lib/components/Toolbar/ColorPicker.d.ts +6 -0
  304. package/lib/components/Toolbar/ColorPicker.js +34 -0
  305. package/lib/components/Toolbar/Combo.d.ts +13 -0
  306. package/lib/components/Toolbar/Combo.js +132 -0
  307. package/lib/components/Toolbar/CustomBorder.d.ts +7 -0
  308. package/lib/components/Toolbar/CustomBorder.js +220 -0
  309. package/lib/components/Toolbar/CustomButton.d.ts +11 -0
  310. package/lib/components/Toolbar/CustomButton.js +36 -0
  311. package/lib/components/Toolbar/CustomColor.d.ts +8 -0
  312. package/lib/components/Toolbar/CustomColor.js +32 -0
  313. package/lib/components/Toolbar/CustomIcon.d.ts +9 -0
  314. package/lib/components/Toolbar/CustomIcon.js +46 -0
  315. package/lib/components/Toolbar/Divider.d.ts +4 -0
  316. package/lib/components/Toolbar/Divider.js +19 -0
  317. package/lib/components/Toolbar/MoreItemsContainer.d.ts +6 -0
  318. package/lib/components/Toolbar/MoreItemsContainer.js +25 -0
  319. package/lib/components/Toolbar/Select.d.ts +14 -0
  320. package/lib/components/Toolbar/Select.js +40 -0
  321. package/lib/components/Toolbar/index.css +411 -0
  322. package/lib/components/Toolbar/index.d.ts +16 -0
  323. package/lib/components/Toolbar/index.js +1731 -0
  324. package/lib/components/Workbook/api.d.ts +1186 -0
  325. package/lib/components/Workbook/api.js +412 -0
  326. package/lib/components/Workbook/index.css +48 -0
  327. package/{dist/stories/API.stories.d.ts → lib/components/Workbook/index.d.ts} +1194 -1210
  328. package/lib/components/Workbook/index.js +758 -0
  329. package/lib/components/ZoomControl/index.css +54 -0
  330. package/lib/components/ZoomControl/index.d.ts +4 -0
  331. package/lib/components/ZoomControl/index.js +120 -0
  332. package/lib/components/index.d.ts +5 -0
  333. package/lib/components/index.js +26 -0
  334. package/lib/constants.d.ts +27 -0
  335. package/lib/constants.js +52 -0
  336. package/lib/context/index.d.ts +25 -0
  337. package/lib/context/index.js +41 -0
  338. package/lib/context/modal.d.ts +10 -0
  339. package/lib/context/modal.js +50 -0
  340. package/lib/hooks/useAlert.d.ts +4 -0
  341. package/lib/hooks/useAlert.js +37 -0
  342. package/lib/hooks/useDialog.d.ts +5 -0
  343. package/lib/hooks/useDialog.js +37 -0
  344. package/lib/hooks/useOutsideClick.d.ts +2 -0
  345. package/lib/hooks/useOutsideClick.js +21 -0
  346. package/lib/hooks/usePrevious.d.ts +2 -0
  347. package/lib/hooks/usePrevious.js +15 -0
  348. package/lib/index.css +27 -0
  349. package/lib/index.d.ts +1 -0
  350. package/lib/index.js +16 -0
  351. package/lib/utils/convertCellsToCrypto.d.ts +8 -0
  352. package/lib/utils/convertCellsToCrypto.js +314 -0
  353. package/lib/utils/cryptoApi.d.ts +3 -0
  354. package/lib/utils/cryptoApi.js +198 -0
  355. package/lib/utils/datepickerStyles.d.ts +2 -0
  356. package/lib/utils/datepickerStyles.js +14 -0
  357. package/lib/utils/updateCellsDecimalFormat.d.ts +6 -0
  358. package/lib/utils/updateCellsDecimalFormat.js +86 -0
  359. package/package.json +8 -7
  360. package/dist/index.css +0 -3915
  361. package/dist/index.esm.css +0 -3915
  362. package/dist/index.esm.js +0 -12975
  363. package/dist/index.js +0 -12995
  364. package/dist/index.umd.css +0 -3915
  365. package/dist/index.umd.js +0 -122445
  366. package/dist/index.umd.min.css +0 -1
  367. package/dist/index.umd.min.js +0 -50
  368. package/dist/packages/core/src/api/cell.d.ts +0 -10
  369. package/dist/packages/core/src/api/common.d.ts +0 -66
  370. package/dist/packages/core/src/api/errors.d.ts +0 -2
  371. package/dist/packages/core/src/api/index.d.ts +0 -9
  372. package/dist/packages/core/src/api/merge.d.ts +0 -5
  373. package/dist/packages/core/src/api/range.d.ts +0 -22
  374. package/dist/packages/core/src/api/rowcol.d.ts +0 -14
  375. package/dist/packages/core/src/api/sheet.d.ts +0 -10
  376. package/dist/packages/core/src/api/workbook.d.ts +0 -15
  377. package/dist/packages/core/src/canvas.d.ts +0 -46
  378. package/dist/packages/core/src/context.d.ts +0 -197
  379. package/dist/packages/core/src/events/copy.d.ts +0 -2
  380. package/dist/packages/core/src/events/index.d.ts +0 -4
  381. package/dist/packages/core/src/events/keyboard.d.ts +0 -6
  382. package/dist/packages/core/src/events/mouse.d.ts +0 -22
  383. package/dist/packages/core/src/events/paste.d.ts +0 -3
  384. package/dist/packages/core/src/index.d.ts +0 -10
  385. package/dist/packages/core/src/locale/en.d.ts +0 -992
  386. package/dist/packages/core/src/locale/es.d.ts +0 -1134
  387. package/dist/packages/core/src/locale/hi.d.ts +0 -1030
  388. package/dist/packages/core/src/locale/index.d.ts +0 -1049
  389. package/dist/packages/core/src/locale/zh.d.ts +0 -1048
  390. package/dist/packages/core/src/locale/zh_tw.d.ts +0 -1187
  391. package/dist/packages/core/src/modules/ConditionFormat.d.ts +0 -17
  392. package/dist/packages/core/src/modules/border.d.ts +0 -3
  393. package/dist/packages/core/src/modules/cell.d.ts +0 -32
  394. package/dist/packages/core/src/modules/clipboard.d.ts +0 -3
  395. package/dist/packages/core/src/modules/color.d.ts +0 -1
  396. package/dist/packages/core/src/modules/comment.d.ts +0 -97
  397. package/dist/packages/core/src/modules/conditionalFormat.d.ts +0 -2
  398. package/dist/packages/core/src/modules/cursor.d.ts +0 -3
  399. package/dist/packages/core/src/modules/dataVerification.d.ts +0 -11
  400. package/dist/packages/core/src/modules/dropCell.d.ts +0 -10
  401. package/dist/packages/core/src/modules/filter.d.ts +0 -45
  402. package/dist/packages/core/src/modules/format.d.ts +0 -6
  403. package/dist/packages/core/src/modules/formula.d.ts +0 -54
  404. package/dist/packages/core/src/modules/freeze.d.ts +0 -5
  405. package/dist/packages/core/src/modules/hyperlink.d.ts +0 -21
  406. package/dist/packages/core/src/modules/iframe.d.ts +0 -12
  407. package/dist/packages/core/src/modules/image.d.ts +0 -31
  408. package/dist/packages/core/src/modules/index.d.ts +0 -36
  409. package/dist/packages/core/src/modules/inline-string.d.ts +0 -36
  410. package/dist/packages/core/src/modules/location.d.ts +0 -6
  411. package/dist/packages/core/src/modules/locationCondition.d.ts +0 -21
  412. package/dist/packages/core/src/modules/merge.d.ts +0 -3
  413. package/dist/packages/core/src/modules/mobile.d.ts +0 -5
  414. package/dist/packages/core/src/modules/moveCells.d.ts +0 -5
  415. package/dist/packages/core/src/modules/protection.d.ts +0 -5
  416. package/dist/packages/core/src/modules/refresh.d.ts +0 -3
  417. package/dist/packages/core/src/modules/rowcol.d.ts +0 -19
  418. package/dist/packages/core/src/modules/screenshot.d.ts +0 -2
  419. package/dist/packages/core/src/modules/searchReplace.d.ts +0 -36
  420. package/dist/packages/core/src/modules/selection.d.ts +0 -46
  421. package/dist/packages/core/src/modules/sheet.d.ts +0 -10
  422. package/dist/packages/core/src/modules/sort.d.ts +0 -7
  423. package/dist/packages/core/src/modules/splitColumn.d.ts +0 -5
  424. package/dist/packages/core/src/modules/text.d.ts +0 -10
  425. package/dist/packages/core/src/modules/toolbar.d.ts +0 -32
  426. package/dist/packages/core/src/modules/validation.d.ts +0 -19
  427. package/dist/packages/core/src/modules/zoom.d.ts +0 -3
  428. package/dist/packages/core/src/settings.d.ts +0 -100
  429. package/dist/packages/core/src/types.d.ts +0 -371
  430. package/dist/packages/core/src/utils/freeze.d.ts +0 -7
  431. package/dist/packages/core/src/utils/index.d.ts +0 -18
  432. package/dist/packages/core/src/utils/patch.d.ts +0 -37
  433. package/dist/packages/react/src/components/Toolbar/index.d.ts +0 -10
  434. package/dist/packages/react/src/components/index.d.ts +0 -4
  435. package/dist/packages/react/src/constants.d.ts +0 -1
  436. package/dist/stories/Collabration.stories.d.ts +0 -2359
  437. package/dist/stories/Features.stories.d.ts +0 -9430
  438. package/dist/stories/data/cell.d.ts +0 -983
  439. package/dist/stories/data/dataVerification.d.ts +0 -131
  440. package/dist/stories/data/empty.d.ts +0 -10
  441. package/dist/stories/data/formula.d.ts +0 -362
  442. package/dist/stories/data/freeze.d.ts +0 -34
  443. package/dist/stories/data/protected.d.ts +0 -40
  444. package/dist/stories/utils.d.ts +0 -1
@@ -1,1177 +1,1186 @@
1
- import { api, Cell, Context, Op, Range, Selection, Presence, Settings, SingleRange, Sheet, CellMatrix, CellWithRowAndCol, GlobalCache } from "@fileverse-dev/fortune-core";
2
- import { SetContextOptions } from "../../context";
3
- export declare function generateAPIs(context: Context, setContext: (recipe: (ctx: Context) => void, options?: SetContextOptions) => void, handleUndo: () => void, handleRedo: () => void, settings: Required<Settings>, cellInput: HTMLDivElement | null, scrollbarX: HTMLDivElement | null, scrollbarY: HTMLDivElement | null, globalCache: GlobalCache | null): {
4
- applyOp: (ops: Op[]) => void;
5
- getCellValue: (row: number, column: number, options?: api.CommonOptions & {
6
- type?: keyof Cell;
7
- }) => any;
8
- onboardingActiveCell: (functionName: string) => void;
9
- initializeComment: (row: number, column: number) => void;
10
- setCellValue: (row: number, column: number, value: any, options?: api.CommonOptions & {
11
- type?: keyof Cell;
12
- }) => void;
13
- clearCell: (row: number, column: number, options?: api.CommonOptions) => void;
14
- setCellFormat: (row: number, column: number, attr: keyof Cell, value: any, options?: api.CommonOptions) => void;
15
- autoFillCell: (copyRange: SingleRange, applyRange: SingleRange, direction: "up" | "down" | "left" | "right") => void;
16
- freeze: (type: "row" | "column" | "both", range: {
17
- row: number;
18
- column: number;
19
- }, options?: api.CommonOptions) => void;
20
- insertRowOrColumn: (type: "row" | "column", index: number, count: number, direction?: "lefttop" | "rightbottom", options?: api.CommonOptions) => void;
21
- deleteRowOrColumn: (type: "row" | "column", start: number, end: number, options?: api.CommonOptions) => void;
22
- hideRowOrColumn: (rowOrColInfo: string[], type: "row" | "column") => void;
23
- showRowOrColumn: (rowOrColInfo: string[], type: "row" | "column") => void;
24
- setRowHeight: (rowInfo: Record<string, number>, options?: api.CommonOptions, custom?: boolean) => void;
25
- setColumnWidth: (columnInfo: Record<string, number>, options?: api.CommonOptions, custom?: boolean) => void;
26
- getRowHeight: (rows: number[], options?: api.CommonOptions) => Record<number, number>;
27
- getColumnWidth: (columns: number[], options?: api.CommonOptions) => Record<number, number>;
28
- getSelection: () => {
29
- row: number[];
30
- column: number[];
31
- }[] | undefined;
32
- getFlattenRange: (range: Range) => {
33
- r: number;
34
- c: number;
35
- }[];
36
- getCellsByFlattenRange: (range?: {
37
- r: number;
38
- c: number;
39
- }[]) => (Cell | null)[];
40
- getSelectionCoordinates: () => string[];
41
- getCellsByRange: (range: Selection, options?: api.CommonOptions) => (Cell | null)[][];
42
- getHtmlByRange: (range: Range, options?: api.CommonOptions) => string | null;
43
- setSelection: (range: Range, options?: api.CommonOptions) => void;
44
- setCellValuesByRange: (data: any[][], range: SingleRange, options?: api.CommonOptions) => void;
45
- setCellFormatByRange: (attr: keyof Cell, value: any, range: Range | SingleRange, options?: api.CommonOptions) => void;
46
- mergeCells: (ranges: Range, type: string, options?: api.CommonOptions) => void;
47
- cancelMerge: (ranges: Range, options?: api.CommonOptions) => void;
48
- getAllSheets: () => Sheet[];
49
- getSheet: (options?: api.CommonOptions) => {
50
- celldata: CellWithRowAndCol[];
51
- name: string;
52
- config?: import("@fileverse-dev/fortune-core").SheetConfig | undefined;
53
- order?: number | undefined;
54
- color?: string | undefined;
55
- data?: CellMatrix | undefined;
56
- id?: string | undefined;
57
- images?: import("@fileverse-dev/fortune-core").Image[] | undefined;
58
- iframes?: {
59
- id: string;
60
- src: string;
61
- left: number;
62
- top: number;
63
- width: number;
64
- height: number;
65
- }[] | undefined;
66
- zoomRatio?: number | undefined;
67
- column?: number | undefined;
68
- row?: number | undefined;
69
- addRows?: number | undefined;
70
- status?: number | undefined;
71
- hide?: number | undefined;
72
- luckysheet_select_save?: Selection[] | undefined;
73
- luckysheet_selection_range?: {
74
- row: number[];
75
- column: number[];
76
- }[] | undefined;
77
- calcChain?: any[] | undefined;
78
- defaultRowHeight?: number | undefined;
79
- defaultColWidth?: number | undefined;
80
- showGridLines?: number | boolean | undefined;
81
- pivotTable?: any;
82
- isPivotTable?: boolean | undefined;
83
- filter?: Record<string, any> | undefined;
84
- filter_select?: {
85
- row: number[];
86
- column: number[];
87
- } | undefined;
88
- luckysheet_conditionformat_save?: any[] | undefined;
89
- luckysheet_alternateformat_save?: any[] | undefined;
90
- dataVerification?: any;
91
- conditionRules?: import("@fileverse-dev/fortune-core").ConditionRulesProps | undefined;
92
- hyperlink?: Record<string, {
93
- linkType: string;
94
- linkAddress: string;
95
- }> | undefined;
96
- dynamicArray_compute?: any;
97
- dynamicArray?: any[] | undefined;
98
- frozen?: {
99
- type: "row" | "column" | "both" | "rangeRow" | "rangeColumn" | "rangeBoth";
100
- range?: {
101
- row_focus: number;
102
- column_focus: number;
103
- } | undefined;
104
- } | undefined;
105
- };
106
- addSheet: () => void;
107
- deleteSheet: (options?: api.CommonOptions) => void;
108
- updateSheet: (data: Sheet[]) => void;
109
- activateSheet: (options?: api.CommonOptions) => void;
110
- setSheetName: (name: string, options?: api.CommonOptions) => void;
111
- setSheetOrder: (orderList: Record<string, number>) => void;
112
- scroll: (options: {
113
- scrollLeft?: number;
114
- scrollTop?: number;
115
- targetRow?: number;
116
- targetColumn?: number;
117
- }) => void;
118
- addPresences: (newPresences: Presence[]) => void;
119
- removePresences: (arr: {
120
- username: string;
121
- userId?: string;
122
- }[]) => void;
123
- handleUndo: () => void;
124
- handleRedo: () => void;
125
- calculateFormula: () => void;
126
- dataToCelldata: (data: CellMatrix | undefined) => CellWithRowAndCol[];
127
- celldataToData: (celldata: CellWithRowAndCol[], rowCount?: number, colCount?: number) => CellMatrix | null;
128
- insertFunction: (selectedFuncIndex: number, filteredFunctionList: any[], callback?: () => void) => void;
129
- getLocaleContext: () => {
130
- generalDialog: {
131
- partiallyError: string;
132
- readOnlyError: string;
133
- dataNullError: string;
134
- noSelectionError: string;
135
- cannotSelectMultiple: string;
136
- };
137
- functionlist: ({
138
- n: string;
139
- t: number;
140
- d: string;
141
- a: string;
142
- m: number[];
143
- p: {
144
- name: string;
145
- detail: string;
146
- example: string;
147
- require: string;
148
- repeat: string;
149
- type: string;
150
- }[];
151
- } | {
152
- n: string;
153
- t: number;
154
- d: string;
155
- a: string;
156
- p: {
157
- name: string;
158
- detail: string;
159
- example: string;
160
- require: string;
161
- repeat: string;
162
- type: string;
163
- }[];
164
- m?: undefined;
165
- } | {
166
- n: string;
167
- t: string;
168
- d: string;
169
- a: string;
170
- m: number[];
171
- p: {
172
- name: string;
173
- example: string;
174
- detail: string;
175
- require: string;
176
- repeat: string;
177
- type: string;
178
- }[];
179
- })[];
180
- toolbar: {
181
- toolbar: string;
182
- undo: string;
183
- redo: string;
184
- "clear-format": string;
185
- "format-painter": string;
186
- "currency-format": string;
187
- "percentage-format": string;
188
- "number-decrease": string;
189
- "number-increase": string;
190
- moreFormats: string;
191
- "border-all": string;
192
- "merge-all": string;
193
- font: string;
194
- "font-size": string;
195
- bold: string;
196
- italic: string;
197
- "strike-through": string;
198
- underline: string;
199
- "font-color": string;
200
- "align-left": string;
201
- "align-center": string;
202
- "align-right": string;
203
- "align-top": string;
204
- "align-mid": string;
205
- "align-bottom": string;
206
- chooseColor: string;
207
- resetColor: string;
208
- customColor: string;
209
- alternatingColors: string;
210
- confirmColor: string;
211
- cancelColor: string;
212
- collapse: string;
213
- background: string;
214
- border: string;
215
- borderStyle: string;
216
- "merge-cell": string;
217
- chooseMergeType: string;
218
- horizontalAlign: string;
219
- verticalAlign: string;
220
- alignment: string;
221
- textWrap: string;
222
- textWrapMode: string;
223
- textRotate: string;
224
- textRotateMode: string;
225
- freeze: string;
226
- sort: string;
227
- filter: string;
228
- sortAndFilter: string;
229
- findAndReplace: string;
230
- "formula-sum": string;
231
- autoSum: string;
232
- moreFunction: string;
233
- conditionalFormat: string;
234
- comment: string;
235
- pivotTable: string;
236
- chart: string;
237
- screenshot: string;
238
- splitColumn: string;
239
- insertImage: string;
240
- insertLink: string;
241
- dataVerification: string;
242
- protection: string;
243
- clearText: string;
244
- noColorSelectedText: string;
245
- toolMore: string;
246
- toolLess: string;
247
- toolClose: string;
248
- toolMoreTip: string;
249
- moreOptions: string;
250
- cellFormat: string;
251
- print: string;
252
- };
253
- alternatingColors: {
254
- applyRange: string;
255
- selectRange: string;
256
- header: string;
257
- footer: string;
258
- errorInfo: string;
259
- textTitle: string;
260
- custom: string;
261
- close: string;
262
- selectionTextColor: string;
263
- selectionCellColor: string;
264
- removeColor: string;
265
- colorShow: string;
266
- currentColor: string;
267
- tipSelectRange: string;
268
- errorNoRange: string;
269
- errorExistColors: string;
270
- };
271
- button: {
272
- confirm: string;
273
- apply: string;
274
- cancel: string;
275
- close: string;
276
- update: string;
277
- delete: string;
278
- insert: string;
279
- prevPage: string;
280
- nextPage: string;
281
- total: string;
282
- };
283
- paint: {
284
- start: string;
285
- end: string;
286
- tipSelectRange: string;
287
- tipNotMulti: string;
288
- };
289
- format: {
290
- moreCurrency: string;
291
- moreDateTime: string;
292
- moreNumber: string;
293
- titleCurrency: string;
294
- decimalPlaces: string;
295
- titleDateTime: string;
296
- titleNumber: string;
297
- tipDecimalPlaces: string;
298
- select: string;
299
- format: string;
300
- currency: string;
301
- };
302
- info: {
303
- detailUpdate: string;
304
- detailSave: string;
305
- row: string;
306
- column: string;
307
- loading: string;
308
- copy: string;
309
- return: string;
310
- rename: string;
311
- tips: string;
312
- noName: string;
313
- wait: string;
314
- add: string;
315
- addLast: string;
316
- backTop: string;
317
- pageInfo: string;
318
- nextPage: string;
319
- tipInputNumber: string;
320
- tipInputNumberLimit: string;
321
- tipRowHeightLimit: string;
322
- tipColumnWidthLimit: string;
323
- pageInfoFull: string;
324
- };
325
- currencyDetail: {
326
- name: string;
327
- pos: string;
328
- value: string;
329
- }[];
330
- defaultFmt: (currency: string) => ({
331
- text: string;
332
- value: string;
333
- example: string;
334
- icon?: undefined;
335
- } | {
336
- text: string;
337
- value: string;
338
- example: string;
339
- icon: string;
340
- })[];
341
- dateFmtList: {
342
- name: string;
343
- value: string;
344
- }[];
345
- fontFamily: {
346
- MicrosoftYaHei: string;
347
- };
348
- fontarray: string[];
349
- fontjson: {
350
- "times new roman": number;
351
- arial: number;
352
- tahoma: number;
353
- verdana: number;
354
- 微软雅黑: number;
355
- "microsoft yahei": number;
356
- 宋体: number;
357
- simsun: number;
358
- 黑体: number;
359
- simhei: number;
360
- 楷体: number;
361
- kaiti: number;
362
- 仿宋: number;
363
- fangsong: number;
364
- 新宋体: number;
365
- nsimsun: number;
366
- 华文新魏: number;
367
- stxinwei: number;
368
- 华文行楷: number;
369
- stxingkai: number;
370
- 华文隶书: number;
371
- stliti: number;
372
- };
373
- border: {
374
- borderTop: string;
375
- borderBottom: string;
376
- borderLeft: string;
377
- borderRight: string;
378
- borderNone: string;
379
- borderAll: string;
380
- borderOutside: string;
381
- borderInside: string;
382
- borderHorizontal: string;
383
- borderVertical: string;
384
- borderColor: string;
385
- borderSize: string;
386
- borderSlash: string;
387
- borderDefault: string;
388
- borderStyle: string;
389
- };
390
- merge: {
391
- mergeAll: string;
392
- mergeV: string;
393
- mergeH: string;
394
- mergeCancel: string;
395
- overlappingError: string;
396
- partiallyError: string;
397
- };
398
- align: {
399
- left: string;
400
- center: string;
401
- right: string;
402
- top: string;
403
- middle: string;
404
- bottom: string;
405
- };
406
- textWrap: {
407
- overflow: string;
408
- wrap: string;
409
- clip: string;
410
- };
411
- rotation: {
412
- none: string;
413
- angleup: string;
414
- angledown: string;
415
- vertical: string;
416
- rotationUp: string;
417
- rotationDown: string;
418
- };
419
- freezen: {
420
- default: string;
421
- freezenRow: string;
422
- freezenColumn: string;
423
- freezenRC: string;
424
- freezenRowRange: string;
425
- freezenColumnRange: string;
426
- freezenRCRange: string;
427
- freezenCancel: string;
428
- noSelectionError: string;
429
- rangeRCOverErrorTitle: string;
430
- rangeRCOverError: string;
431
- };
432
- sort: {
433
- asc: string;
434
- desc: string;
435
- custom: string;
436
- hasTitle: string;
437
- sortBy: string;
438
- addOthers: string;
439
- close: string;
440
- confirm: string;
441
- columnOperation: string;
442
- secondaryTitle: string;
443
- sortTitle: string;
444
- sortRangeTitle: string;
445
- sortRangeTitleTo: string;
446
- noRangeError: string;
447
- mergeError: string;
448
- };
449
- filter: {
450
- filter: string;
451
- clearFilter: string;
452
- sortByAsc: string;
453
- sortByDesc: string;
454
- filterByColor: string;
455
- filterByCondition: string;
456
- filterByValues: string;
457
- filiterInputNone: string;
458
- filiterInputTip: string;
459
- filiterRangeStartTip: string;
460
- filiterRangeEndTip: string;
461
- filterValueByAllBtn: string;
462
- filterValueByClearBtn: string;
463
- filterValueByInverseBtn: string;
464
- filterValueByTip: string;
465
- filterConfirm: string;
466
- filterCancel: string;
467
- conditionNone: string;
468
- conditionCellIsNull: string;
469
- conditionCellNotNull: string;
470
- conditionCellTextContain: string;
471
- conditionCellTextNotContain: string;
472
- conditionCellTextStart: string;
473
- conditionCellTextEnd: string;
474
- conditionCellTextEqual: string;
475
- conditionCellDateEqual: string;
476
- conditionCellDateBefore: string;
477
- conditionCellDateAfter: string;
478
- conditionCellGreater: string;
479
- conditionCellGreaterEqual: string;
480
- conditionCellLess: string;
481
- conditionCellLessEqual: string;
482
- conditionCellEqual: string;
483
- conditionCellNotEqual: string;
484
- conditionCellBetween: string;
485
- conditionCellNotBetween: string;
486
- filiterMoreDataTip: string;
487
- filiterMonthText: string;
488
- filiterYearText: string;
489
- filiterByColorTip: string;
490
- filiterByTextColorTip: string;
491
- filterContainerOneColorTip: string;
492
- filterDateFormatTip: string;
493
- valueBlank: string;
494
- mergeError: string;
495
- };
496
- rightclick: {
497
- copy: string;
498
- copyAs: string;
499
- paste: string;
500
- insert: string;
501
- image: string;
502
- link: string;
503
- delete: string;
504
- deleteCell: string;
505
- deleteSelected: string;
506
- hide: string;
507
- hideSelected: string;
508
- showHide: string;
509
- to: string;
510
- left: string;
511
- right: string;
512
- top: string;
513
- bottom: string;
514
- moveLeft: string;
515
- moveUp: string;
516
- add: string;
517
- row: string;
518
- column: string;
519
- width: string;
520
- height: string;
521
- number: string;
522
- confirm: string;
523
- orderAZ: string;
524
- orderZA: string;
525
- clearContent: string;
526
- matrix: string;
527
- sortSelection: string;
528
- filterSelection: string;
529
- chartGeneration: string;
530
- firstLineTitle: string;
531
- untitled: string;
532
- array1: string;
533
- array2: string;
534
- array3: string;
535
- diagonal: string;
536
- antiDiagonal: string;
537
- diagonalOffset: string;
538
- offset: string;
539
- boolean: string;
540
- flip: string;
541
- upAndDown: string;
542
- leftAndRight: string;
543
- clockwise: string;
544
- counterclockwise: string;
545
- transpose: string;
546
- matrixCalculation: string;
547
- plus: string;
548
- minus: string;
549
- multiply: string;
550
- divided: string;
551
- power: string;
552
- root: string;
553
- log: string;
554
- delete0: string;
555
- removeDuplicate: string;
556
- byRow: string;
557
- byCol: string;
558
- generateNewMatrix: string;
559
- noMulti: string;
560
- cannotDeleteAllRow: string;
561
- cannotDeleteAllColumn: string;
562
- cannotDeleteRowReadOnly: string;
563
- cannotDeleteColumnReadOnly: string;
564
- cannotInsertOnRowReadOnly: string;
565
- cannotInsertOnColumnReadOnly: string;
566
- rowOverLimit: string;
567
- columnOverLimit: string;
568
- conditionFormat: string;
569
- };
570
- comment: {
571
- insert: string;
572
- edit: string;
573
- delete: string;
574
- showOne: string;
575
- showAll: string;
576
- };
577
- screenshot: {
578
- screenshotTipNoSelection: string;
579
- screenshotTipTitle: string;
580
- screenshotTipHasMerge: string;
581
- screenshotTipHasMulti: string;
582
- screenshotTipSuccess: string;
583
- screenshotImageName: string;
584
- downLoadClose: string;
585
- downLoadCopy: string;
586
- downLoadBtn: string;
587
- browserNotTip: string;
588
- rightclickTip: string;
589
- successTip: string;
590
- };
591
- splitText: {
592
- splitDelimiters: string;
593
- splitOther: string;
594
- splitContinueSymbol: string;
595
- splitDataPreview: string;
596
- splitTextTitle: string;
597
- splitConfirmToExe: string;
598
- splitSymbols: {
599
- name: string;
600
- value: string;
601
- }[];
602
- tipNoMulti: string;
603
- tipNoMultiColumn: string;
604
- tipNoSelect: string;
605
- };
606
- imageText: {
607
- imageSetting: string;
608
- close: string;
609
- conventional: string;
610
- moveCell1: string;
611
- moveCell2: string;
612
- moveCell3: string;
613
- fixedPos: string;
614
- border: string;
615
- width: string;
616
- radius: string;
617
- style: string;
618
- solid: string;
619
- dashed: string;
620
- dotted: string;
621
- double: string;
622
- color: string;
623
- };
624
- punctuation: {
625
- tab: string;
626
- semicolon: string;
627
- comma: string;
628
- space: string;
629
- };
630
- findAndReplace: {
631
- find: string;
632
- replace: string;
633
- goto: string;
634
- location: string;
635
- formula: string;
636
- date: string;
637
- number: string;
638
- string: string;
639
- error: string;
640
- condition: string;
641
- rowSpan: string;
642
- columnSpan: string;
643
- locationExample: string;
644
- lessTwoRowTip: string;
645
- lessTwoColumnTip: string;
646
- findTextbox: string;
647
- replaceTextbox: string;
648
- regexTextbox: string;
649
- wholeTextbox: string;
650
- distinguishTextbox: string;
651
- allReplaceBtn: string;
652
- replaceBtn: string;
653
- allFindBtn: string;
654
- findBtn: string;
655
- noFindTip: string;
656
- modeTip: string;
657
- searchTargetSheet: string;
658
- searchTargetCell: string;
659
- searchTargetValue: string;
660
- searchInputTip: string;
661
- noReplceTip: string;
662
- noMatchTip: string;
663
- successTip: string;
664
- locationConstant: string;
665
- locationFormula: string;
666
- locationDate: string;
667
- locationDigital: string;
668
- locationString: string;
669
- locationBool: string;
670
- locationError: string;
671
- locationNull: string;
672
- locationCondition: string;
673
- locationRowSpan: string;
674
- locationColumnSpan: string;
675
- locationTiplessTwoRow: string;
676
- locationTiplessTwoColumn: string;
677
- locationTipNotFindCell: string;
678
- };
679
- sheetconfig: {
680
- delete: string;
681
- copy: string;
682
- rename: string;
683
- changeColor: string;
684
- hide: string;
685
- unhide: string;
686
- moveLeft: string;
687
- moveRight: string;
688
- resetColor: string;
689
- cancelText: string;
690
- chooseText: string;
691
- focus: string;
692
- tipNameRepeat: string;
693
- noMoreSheet: string;
694
- confirmDelete: string;
695
- redoDelete: string;
696
- noHide: string;
697
- chartEditNoOpt: string;
698
- sheetNameSpecCharError: string;
699
- sheetNamecannotIsEmptyError: string;
700
- };
701
- conditionformat: {
702
- conditionformat_greaterThan: string;
703
- conditionformat_greaterThan_title: string;
704
- conditionformat_lessThan: string;
705
- conditionformat_lessThan_title: string;
706
- conditionformat_between: string;
707
- conditionformat_between_title: string;
708
- conditionformat_equal: string;
709
- conditionformat_equal_title: string;
710
- conditionformat_textContains: string;
711
- conditionformat_textContains_title: string;
712
- conditionformat_occurrenceDate: string;
713
- conditionformat_occurrenceDate_title: string;
714
- conditionformat_duplicateValue: string;
715
- conditionformat_duplicateValue_title: string;
716
- conditionformat_top10: string;
717
- conditionformat_top10_percent: string;
718
- conditionformat_top10_title: string;
719
- conditionformat_last10: string;
720
- conditionformat_last10_percent: string;
721
- conditionformat_last10_title: string;
722
- conditionformat_aboveAverage: string;
723
- conditionformat_aboveAverage_title: string;
724
- conditionformat_belowAverage: string;
725
- conditionformat_belowAverage_title: string;
726
- rule: string;
727
- newRule: string;
728
- editRule: string;
729
- deleteRule: string;
730
- deleteCellRule: string;
731
- deleteSheetRule: string;
732
- manageRules: string;
733
- showRules: string;
734
- highlightCellRules: string;
735
- itemSelectionRules: string;
736
- conditionformatManageRules: string;
737
- format: string;
738
- setFormat: string;
739
- setAs: string;
740
- setAsByArea: string;
741
- applyRange: string;
742
- selectRange: string;
743
- selectRange_percent: string;
744
- selectRange_average: string;
745
- selectRange_value: string;
746
- pleaseSelectRange: string;
747
- selectDataRange: string;
748
- selectCell: string;
749
- pleaseSelectCell: string;
750
- pleaseSelectADate: string;
751
- pleaseEnterInteger: string;
752
- onlySingleCell: string;
753
- conditionValueCanOnly: string;
754
- ruleTypeItem1: string;
755
- ruleTypeItem2: string;
756
- ruleTypeItem2_title: string;
757
- ruleTypeItem3: string;
758
- ruleTypeItem3_title: string;
759
- ruleTypeItem4: string;
760
- ruleTypeItem4_title: string;
761
- ruleTypeItem5: string;
762
- ruleTypeItem6: string;
763
- formula: string;
764
- textColor: string;
765
- cellColor: string;
766
- confirm: string;
767
- confirmColor: string;
768
- cancel: string;
769
- close: string;
770
- clearColorSelect: string;
771
- sheet: string;
772
- currentSheet: string;
773
- dataBar: string;
774
- dataBarColor: string;
775
- gradientDataBar_1: string;
776
- gradientDataBar_2: string;
777
- gradientDataBar_3: string;
778
- gradientDataBar_4: string;
779
- gradientDataBar_5: string;
780
- gradientDataBar_6: string;
781
- solidColorDataBar_1: string;
782
- solidColorDataBar_2: string;
783
- solidColorDataBar_3: string;
784
- solidColorDataBar_4: string;
785
- solidColorDataBar_5: string;
786
- solidColorDataBar_6: string;
787
- colorGradation: string;
788
- colorGradation_1: string;
789
- colorGradation_2: string;
790
- colorGradation_3: string;
791
- colorGradation_4: string;
792
- colorGradation_5: string;
793
- colorGradation_6: string;
794
- colorGradation_7: string;
795
- colorGradation_8: string;
796
- colorGradation_9: string;
797
- colorGradation_10: string;
798
- colorGradation_11: string;
799
- colorGradation_12: string;
800
- icons: string;
801
- pleaseSelectIcon: string;
802
- cellValue: string;
803
- specificText: string;
804
- occurrenceDate: string;
805
- greaterThan: string;
806
- lessThan: string;
807
- between: string;
808
- equal: string;
809
- in: string;
810
- to: string;
811
- between2: string;
812
- contain: string;
813
- textContains: string;
814
- duplicateValue: string;
815
- uniqueValue: string;
816
- top: string;
817
- top10: string;
818
- top10_percent: string;
819
- last: string;
820
- last10: string;
821
- last10_percent: string;
822
- oneself: string;
823
- above: string;
824
- aboveAverage: string;
825
- below: string;
826
- belowAverage: string;
827
- all: string;
828
- yesterday: string;
829
- today: string;
830
- tomorrow: string;
831
- lastWeek: string;
832
- thisWeek: string;
833
- lastMonth: string;
834
- thisMonth: string;
835
- lastYear: string;
836
- thisYear: string;
837
- last7days: string;
838
- last30days: string;
839
- next7days: string;
840
- next30days: string;
841
- next60days: string;
842
- chooseRuleType: string;
843
- editRuleDescription: string;
844
- newFormatRule: string;
845
- editFormatRule: string;
846
- formatStyle: string;
847
- fillType: string;
848
- color: string;
849
- twocolor: string;
850
- tricolor: string;
851
- multicolor: string;
852
- grayColor: string;
853
- gradient: string;
854
- solid: string;
855
- maxValue: string;
856
- medianValue: string;
857
- minValue: string;
858
- direction: string;
859
- threeWayArrow: string;
860
- fourWayArrow: string;
861
- fiveWayArrow: string;
862
- threeTriangles: string;
863
- shape: string;
864
- threeColorTrafficLight: string;
865
- fourColorTrafficLight: string;
866
- threeSigns: string;
867
- greenRedBlackGradient: string;
868
- rimless: string;
869
- bordered: string;
870
- mark: string;
871
- threeSymbols: string;
872
- tricolorFlag: string;
873
- circled: string;
874
- noCircle: string;
875
- grade: string;
876
- grade4: string;
877
- grade5: string;
878
- threeStars: string;
879
- fiveQuadrantDiagram: string;
880
- fiveBoxes: string;
881
- };
882
- insertLink: {
883
- linkText: string;
884
- linkType: string;
885
- linkAddress: string;
886
- linkSheet: string;
887
- linkCell: string;
888
- linkTooltip: string;
889
- selectCellRange: string;
890
- cellRangePlaceholder: string;
891
- placeholder1: string;
892
- placeholder2: string;
893
- placeholder3: string;
894
- tooltipInfo1: string;
895
- invalidCellRangeTip: string;
896
- openLink: string;
897
- goTo: string;
898
- };
899
- linkTypeList: {
900
- text: string;
901
- value: string;
902
- }[];
903
- dataVerification: {
904
- cellRange: string;
905
- selectCellRange: string;
906
- selectCellRange2: string;
907
- verificationCondition: string;
908
- allowMultiSelect: string;
909
- dropdown: string;
910
- checkbox: string;
911
- number: string;
912
- number_integer: string;
913
- number_decimal: string;
914
- text_content: string;
915
- text_length: string;
916
- date: string;
917
- validity: string;
918
- placeholder1: string;
919
- placeholder2: string;
920
- placeholder3: string;
921
- placeholder4: string;
922
- placeholder5: string;
923
- selected: string;
924
- notSelected: string;
925
- between: string;
926
- notBetween: string;
927
- equal: string;
928
- notEqualTo: string;
929
- moreThanThe: string;
930
- lessThan: string;
931
- greaterOrEqualTo: string;
932
- lessThanOrEqualTo: string;
933
- include: string;
934
- exclude: string;
935
- earlierThan: string;
936
- noEarlierThan: string;
937
- laterThan: string;
938
- noLaterThan: string;
939
- identificationNumber: string;
940
- phoneNumber: string;
941
- remote: string;
942
- prohibitInput: string;
943
- hintShow: string;
944
- deleteVerification: string;
945
- tooltipInfo1: string;
946
- tooltipInfo2: string;
947
- tooltipInfo3: string;
948
- tooltipInfo4: string;
949
- tooltipInfo5: string;
950
- tooltipInfo6: string;
951
- tooltipInfo7: string;
952
- textlengthInteger: string;
953
- };
954
- formula: {
955
- sum: string;
956
- average: string;
957
- count: string;
958
- max: string;
959
- min: string;
960
- ifGenerate: string;
961
- find: string;
962
- tipNotBelongToIf: string;
963
- tipSelectCell: string;
964
- ifGenCompareValueTitle: string;
965
- ifGenSelectCellTitle: string;
966
- ifGenRangeTitle: string;
967
- ifGenRangeTo: string;
968
- ifGenRangeEvaluate: string;
969
- ifGenSelectRangeTitle: string;
970
- ifGenCutWay: string;
971
- ifGenCutSame: string;
972
- ifGenCutNpiece: string;
973
- ifGenCutCustom: string;
974
- ifGenCutConfirm: string;
975
- ifGenTipSelectCell: string;
976
- ifGenTipSelectCellPlace: string;
977
- ifGenTipSelectRange: string;
978
- ifGenTipSelectRangePlace: string;
979
- ifGenTipNotNullValue: string;
980
- ifGenTipLableTitile: string;
981
- ifGenTipRangeNotforNull: string;
982
- ifGenTipCutValueNotforNull: string;
983
- ifGenTipNotGenCondition: string;
984
- };
985
- formulaMore: {
986
- valueTitle: string;
987
- tipSelectDataRange: string;
988
- tipDataRangeTile: string;
989
- findFunctionTitle: string;
990
- tipInputFunctionName: string;
991
- Array: string;
992
- Database: string;
993
- Date: string;
994
- Engineering: string;
995
- Filter: string;
996
- Financial: string;
997
- luckysheet: string;
998
- other: string;
999
- Logical: string;
1000
- Lookup: string;
1001
- Math: string;
1002
- Operator: string;
1003
- Parser: string;
1004
- Statistical: string;
1005
- Text: string;
1006
- dataMining: string;
1007
- selectFunctionTitle: string;
1008
- calculationResult: string;
1009
- tipSuccessText: string;
1010
- tipParamErrorText: string;
1011
- helpClose: string;
1012
- helpCollapse: string;
1013
- helpExample: string;
1014
- helpAbstract: string;
1015
- execfunctionError: string;
1016
- execfunctionSelfError: string;
1017
- execfunctionSelfErrorResult: string;
1018
- allowRepeatText: string;
1019
- allowOptionText: string;
1020
- selectCategory: string;
1021
- };
1022
- drag: {
1023
- noMerge: string;
1024
- affectPivot: string;
1025
- noMulti: string;
1026
- noPaste: string;
1027
- noPartMerge: string;
1028
- inputCorrect: string;
1029
- notLessOne: string;
1030
- offsetColumnLessZero: string;
1031
- pasteMustKeybordAlert: string;
1032
- pasteMustKeybordAlertHTMLTitle: string;
1033
- pasteMustKeybordAlertHTML: string;
1034
- };
1035
- pivotTable: {
1036
- title: string;
1037
- closePannel: string;
1038
- editRange: string;
1039
- tipPivotFieldSelected: string;
1040
- tipClearSelectedField: string;
1041
- btnClearSelectedField: string;
1042
- btnFilter: string;
1043
- titleRow: string;
1044
- titleColumn: string;
1045
- titleValue: string;
1046
- tipShowColumn: string;
1047
- tipShowRow: string;
1048
- titleSelectionDataRange: string;
1049
- titleDataRange: string;
1050
- valueSum: string;
1051
- valueStatisticsSUM: string;
1052
- valueStatisticsCOUNT: string;
1053
- valueStatisticsCOUNTA: string;
1054
- valueStatisticsCOUNTUNIQUE: string;
1055
- valueStatisticsAVERAGE: string;
1056
- valueStatisticsMAX: string;
1057
- valueStatisticsMIN: string;
1058
- valueStatisticsMEDIAN: string;
1059
- valueStatisticsPRODUCT: string;
1060
- valueStatisticsSTDEV: string;
1061
- valueStatisticsSTDEVP: string;
1062
- valueStatisticslet: string;
1063
- valueStatisticsVARP: string;
1064
- errorNotAllowEdit: string;
1065
- errorNotAllowMulti: string;
1066
- errorSelectRange: string;
1067
- errorIsDamage: string;
1068
- errorNotAllowPivotData: string;
1069
- errorSelectionRange: string;
1070
- errorIncreaseRange: string;
1071
- titleAddColumn: string;
1072
- titleMoveColumn: string;
1073
- titleClearColumnFilter: string;
1074
- titleFilterColumn: string;
1075
- titleSort: string;
1076
- titleNoSort: string;
1077
- titleSortAsc: string;
1078
- titleSortDesc: string;
1079
- titleSortBy: string;
1080
- titleShowSum: string;
1081
- titleStasticTrue: string;
1082
- titleStasticFalse: string;
1083
- };
1084
- dropCell: {
1085
- copyCell: string;
1086
- sequence: string;
1087
- onlyFormat: string;
1088
- noFormat: string;
1089
- day: string;
1090
- workDay: string;
1091
- month: string;
1092
- year: string;
1093
- chineseNumber: string;
1094
- };
1095
- imageCtrl: {
1096
- borderTile: string;
1097
- borderCur: string;
1098
- };
1099
- protection: {
1100
- protectiontTitle: string;
1101
- enterPassword: string;
1102
- enterHint: string;
1103
- swichProtectionTip: string;
1104
- authorityTitle: string;
1105
- selectLockedCells: string;
1106
- selectunLockedCells: string;
1107
- formatCells: string;
1108
- formatColumns: string;
1109
- formatRows: string;
1110
- insertColumns: string;
1111
- insertRows: string;
1112
- insertHyperlinks: string;
1113
- deleteColumns: string;
1114
- deleteRows: string;
1115
- sort: string;
1116
- filter: string;
1117
- usePivotTablereports: string;
1118
- editObjects: string;
1119
- editScenarios: string;
1120
- allowRangeTitle: string;
1121
- allowRangeAdd: string;
1122
- allowRangeAddTitle: string;
1123
- allowRangeAddSqrf: string;
1124
- selectCellRange: string;
1125
- selectCellRangeHolder: string;
1126
- allowRangeAddTitlePassword: string;
1127
- allowRangeAddTitleHint: string;
1128
- allowRangeAddTitleHintTitle: string;
1129
- allowRangeAddtitleDefault: string;
1130
- rangeItemDblclick: string;
1131
- rangeItemHasPassword: string;
1132
- rangeItemErrorTitleNull: string;
1133
- rangeItemErrorRangeNull: string;
1134
- rangeItemErrorRange: string;
1135
- validationTitle: string;
1136
- validationTips: string;
1137
- validationInputHint: string;
1138
- checkPasswordNullalert: string;
1139
- checkPasswordWrongalert: string;
1140
- checkPasswordSucceedalert: string;
1141
- defaultRangeHintText: string;
1142
- defaultSheetHintText: string;
1143
- };
1144
- cellFormat: {
1145
- cellFormatTitle: string;
1146
- protection: string;
1147
- locked: string;
1148
- hidden: string;
1149
- protectionTips: string;
1150
- tipsPart: string;
1151
- tipsAll: string;
1152
- selectionIsNullAlert: string;
1153
- sheetDataIsNullAlert: string;
1154
- };
1155
- print: {
1156
- normalBtn: string;
1157
- layoutBtn: string;
1158
- pageBtn: string;
1159
- menuItemPrint: string;
1160
- menuItemAreas: string;
1161
- menuItemRows: string;
1162
- menuItemColumns: string;
1163
- };
1164
- edit: {
1165
- typing: string;
1166
- };
1167
- websocket: {
1168
- success: string;
1169
- refresh: string;
1170
- wait: string;
1171
- close: string;
1172
- contact: string;
1173
- support: string;
1174
- };
1175
- };
1176
- getWorkbookContext: () => Context;
1177
- };
1
+ import { api, Cell, Context, Op, Range, Selection, Presence, Settings, SingleRange, Sheet, CellMatrix, CellWithRowAndCol, GlobalCache } from "@fileverse-dev/fortune-core";
2
+ import { getCryptoPrice } from "../../utils/cryptoApi";
3
+ import { SetContextOptions } from "../../context";
4
+ export declare function generateAPIs(context: Context, setContext: (recipe: (ctx: Context) => void, options?: SetContextOptions) => void, handleUndo: () => void, handleRedo: () => void, settings: Required<Settings>, cellInput: HTMLDivElement | null, scrollbarX: HTMLDivElement | null, scrollbarY: HTMLDivElement | null, globalCache: GlobalCache | null): {
5
+ applyOp: (ops: Op[]) => void;
6
+ getCryptoPrice: typeof getCryptoPrice;
7
+ getCellValue: (row: number, column: number, options?: api.CommonOptions & {
8
+ type?: keyof Cell;
9
+ }) => any;
10
+ onboardingActiveCell: (functionName: string) => void;
11
+ initializeComment: (row: number, column: number) => void;
12
+ setCellValue: (row: number, column: number, value: any, options?: api.CommonOptions & {
13
+ type?: keyof Cell;
14
+ }) => void;
15
+ clearCell: (row: number, column: number, options?: api.CommonOptions) => void;
16
+ setCellFormat: (row: number, column: number, attr: keyof Cell, value: any, options?: api.CommonOptions) => void;
17
+ autoFillCell: (copyRange: SingleRange, applyRange: SingleRange, direction: "up" | "down" | "left" | "right") => void;
18
+ freeze: (type: "row" | "column" | "both", range: {
19
+ row: number;
20
+ column: number;
21
+ }, options?: api.CommonOptions) => void;
22
+ insertRowOrColumn: (type: "row" | "column", index: number, count: number, direction?: "lefttop" | "rightbottom", options?: api.CommonOptions) => void;
23
+ deleteRowOrColumn: (type: "row" | "column", start: number, end: number, options?: api.CommonOptions) => void;
24
+ hideRowOrColumn: (rowOrColInfo: string[], type: "row" | "column") => void;
25
+ showRowOrColumn: (rowOrColInfo: string[], type: "row" | "column") => void;
26
+ setRowHeight: (rowInfo: Record<string, number>, options?: api.CommonOptions, custom?: boolean) => void;
27
+ setColumnWidth: (columnInfo: Record<string, number>, options?: api.CommonOptions, custom?: boolean) => void;
28
+ getRowHeight: (rows: number[], options?: api.CommonOptions) => Record<number, number>;
29
+ getColumnWidth: (columns: number[], options?: api.CommonOptions) => Record<number, number>;
30
+ getSelection: () => {
31
+ row: number[];
32
+ column: number[];
33
+ }[] | undefined;
34
+ getFlattenRange: (range: Range) => {
35
+ r: number;
36
+ c: number;
37
+ }[];
38
+ getCellsByFlattenRange: (range?: {
39
+ r: number;
40
+ c: number;
41
+ }[]) => (Cell | null)[];
42
+ getSelectionCoordinates: () => string[];
43
+ getCellsByRange: (range: Selection, options?: api.CommonOptions) => (Cell | null)[][];
44
+ getHtmlByRange: (range: Range, options?: api.CommonOptions) => string | null;
45
+ setSelection: (range: Range, options?: api.CommonOptions) => void;
46
+ setCellValuesByRange: (data: any[][], range: SingleRange, options?: api.CommonOptions) => void;
47
+ setCellFormatByRange: (attr: keyof Cell, value: any, range: Range | SingleRange, options?: api.CommonOptions) => void;
48
+ mergeCells: (ranges: Range, type: string, options?: api.CommonOptions) => void;
49
+ cancelMerge: (ranges: Range, options?: api.CommonOptions) => void;
50
+ getAllSheets: () => Sheet[];
51
+ getSheet: (options?: api.CommonOptions) => {
52
+ celldata: CellWithRowAndCol[];
53
+ name: string;
54
+ config?: import("@fileverse-dev/fortune-core").SheetConfig | undefined;
55
+ order?: number | undefined;
56
+ color?: string | undefined;
57
+ data?: CellMatrix | undefined;
58
+ id?: string | undefined;
59
+ images?: import("@fileverse-dev/fortune-core").Image[] | undefined;
60
+ iframes?: {
61
+ id: string;
62
+ src: string;
63
+ left: number;
64
+ top: number;
65
+ width: number;
66
+ height: number;
67
+ }[] | undefined;
68
+ zoomRatio?: number | undefined;
69
+ column?: number | undefined;
70
+ row?: number | undefined;
71
+ addRows?: number | undefined;
72
+ status?: number | undefined;
73
+ hide?: number | undefined;
74
+ luckysheet_select_save?: Selection[] | undefined;
75
+ luckysheet_selection_range?: {
76
+ row: number[];
77
+ column: number[];
78
+ }[] | undefined;
79
+ calcChain?: any[] | undefined;
80
+ dataBlockCalcFunction?: {
81
+ [key: string]: {
82
+ [key: string]: any;
83
+ };
84
+ } | undefined;
85
+ defaultRowHeight?: number | undefined;
86
+ defaultColWidth?: number | undefined;
87
+ showGridLines?: number | boolean | undefined;
88
+ pivotTable?: any;
89
+ isPivotTable?: boolean | undefined;
90
+ filter?: Record<string, any> | undefined;
91
+ filter_select?: {
92
+ row: number[];
93
+ column: number[];
94
+ } | undefined;
95
+ luckysheet_conditionformat_save?: any[] | undefined;
96
+ luckysheet_alternateformat_save?: any[] | undefined;
97
+ dataVerification?: any;
98
+ conditionRules?: import("@fileverse-dev/fortune-core").ConditionRulesProps | undefined;
99
+ hyperlink?: Record<string, {
100
+ linkType: string;
101
+ linkAddress: string;
102
+ }> | undefined;
103
+ dynamicArray_compute?: any;
104
+ dynamicArray?: any[] | undefined;
105
+ frozen?: {
106
+ type: "column" | "rangeColumn" | "rangeBoth" | "both" | "row" | "rangeRow";
107
+ range?: {
108
+ row_focus: number;
109
+ column_focus: number;
110
+ } | undefined;
111
+ } | undefined;
112
+ };
113
+ addSheet: () => void;
114
+ deleteSheet: (options?: api.CommonOptions) => void;
115
+ updateSheet: (data: Sheet[]) => void;
116
+ activateSheet: (options?: api.CommonOptions) => void;
117
+ setSheetName: (name: string, options?: api.CommonOptions) => void;
118
+ setSheetOrder: (orderList: Record<string, number>) => void;
119
+ scroll: (options: {
120
+ scrollLeft?: number;
121
+ scrollTop?: number;
122
+ targetRow?: number;
123
+ targetColumn?: number;
124
+ }) => void;
125
+ addPresences: (newPresences: Presence[]) => void;
126
+ removePresences: (arr: {
127
+ username: string;
128
+ userId?: string;
129
+ }[]) => void;
130
+ handleUndo: () => void;
131
+ handleRedo: () => void;
132
+ calculateFormula: () => void;
133
+ calculateSubSheetFormula: (id: string) => void;
134
+ dataToCelldata: (data: CellMatrix | undefined) => CellWithRowAndCol[];
135
+ celldataToData: (celldata: CellWithRowAndCol[], rowCount?: number, colCount?: number) => CellMatrix | null;
136
+ insertFunction: (selectedFuncIndex: number, filteredFunctionList: any[], callback?: () => void) => void;
137
+ getLocaleContext: () => {
138
+ generalDialog: {
139
+ partiallyError: string;
140
+ readOnlyError: string;
141
+ dataNullError: string;
142
+ noSelectionError: string;
143
+ cannotSelectMultiple: string;
144
+ };
145
+ functionlist: ({
146
+ n: string;
147
+ t: number;
148
+ d: string;
149
+ a: string;
150
+ m: number[];
151
+ p: {
152
+ name: string;
153
+ detail: string;
154
+ example: string;
155
+ require: string;
156
+ repeat: string;
157
+ type: string;
158
+ }[];
159
+ } | {
160
+ n: string;
161
+ t: number;
162
+ d: string;
163
+ a: string;
164
+ p: {
165
+ name: string;
166
+ detail: string;
167
+ example: string;
168
+ require: string;
169
+ repeat: string;
170
+ type: string;
171
+ }[];
172
+ m?: undefined;
173
+ } | {
174
+ n: string;
175
+ t: string;
176
+ d: string;
177
+ a: string;
178
+ m: number[];
179
+ p: {
180
+ name: string;
181
+ example: string;
182
+ detail: string;
183
+ require: string;
184
+ repeat: string;
185
+ type: string;
186
+ }[];
187
+ })[];
188
+ toolbar: {
189
+ toolbar: string;
190
+ undo: string;
191
+ redo: string;
192
+ "clear-format": string;
193
+ "format-painter": string;
194
+ "currency-format": string;
195
+ "percentage-format": string;
196
+ "number-decrease": string;
197
+ "number-increase": string;
198
+ moreFormats: string;
199
+ "border-all": string;
200
+ "merge-all": string;
201
+ font: string;
202
+ "font-size": string;
203
+ bold: string;
204
+ italic: string;
205
+ "strike-through": string;
206
+ underline: string;
207
+ "font-color": string;
208
+ "align-left": string;
209
+ "align-center": string;
210
+ "align-right": string;
211
+ "align-top": string;
212
+ "align-mid": string;
213
+ "align-bottom": string;
214
+ chooseColor: string;
215
+ resetColor: string;
216
+ customColor: string;
217
+ alternatingColors: string;
218
+ confirmColor: string;
219
+ cancelColor: string;
220
+ collapse: string;
221
+ background: string;
222
+ border: string;
223
+ borderStyle: string;
224
+ "merge-cell": string;
225
+ chooseMergeType: string;
226
+ horizontalAlign: string;
227
+ verticalAlign: string;
228
+ alignment: string;
229
+ textWrap: string;
230
+ textWrapMode: string;
231
+ textRotate: string;
232
+ textRotateMode: string;
233
+ freeze: string;
234
+ sort: string;
235
+ filter: string;
236
+ sortAndFilter: string;
237
+ findAndReplace: string;
238
+ "formula-sum": string;
239
+ autoSum: string;
240
+ moreFunction: string;
241
+ conditionalFormat: string;
242
+ comment: string;
243
+ pivotTable: string;
244
+ chart: string;
245
+ screenshot: string;
246
+ splitColumn: string;
247
+ insertImage: string;
248
+ insertLink: string;
249
+ dataVerification: string;
250
+ protection: string;
251
+ clearText: string;
252
+ noColorSelectedText: string;
253
+ toolMore: string;
254
+ toolLess: string;
255
+ toolClose: string;
256
+ toolMoreTip: string;
257
+ moreOptions: string;
258
+ cellFormat: string;
259
+ print: string;
260
+ };
261
+ alternatingColors: {
262
+ applyRange: string;
263
+ selectRange: string;
264
+ header: string;
265
+ footer: string;
266
+ errorInfo: string;
267
+ textTitle: string;
268
+ custom: string;
269
+ close: string;
270
+ selectionTextColor: string;
271
+ selectionCellColor: string;
272
+ removeColor: string;
273
+ colorShow: string;
274
+ currentColor: string;
275
+ tipSelectRange: string;
276
+ errorNoRange: string;
277
+ errorExistColors: string;
278
+ };
279
+ button: {
280
+ confirm: string;
281
+ apply: string;
282
+ cancel: string;
283
+ close: string;
284
+ update: string;
285
+ delete: string;
286
+ insert: string;
287
+ prevPage: string;
288
+ nextPage: string;
289
+ total: string;
290
+ };
291
+ paint: {
292
+ start: string;
293
+ end: string;
294
+ tipSelectRange: string;
295
+ tipNotMulti: string;
296
+ };
297
+ format: {
298
+ moreCurrency: string;
299
+ moreDateTime: string;
300
+ moreNumber: string;
301
+ titleCurrency: string;
302
+ decimalPlaces: string;
303
+ titleDateTime: string;
304
+ titleNumber: string;
305
+ tipDecimalPlaces: string;
306
+ select: string;
307
+ format: string;
308
+ currency: string;
309
+ };
310
+ info: {
311
+ detailUpdate: string;
312
+ detailSave: string;
313
+ row: string;
314
+ column: string;
315
+ loading: string;
316
+ copy: string;
317
+ return: string;
318
+ rename: string;
319
+ tips: string;
320
+ noName: string;
321
+ wait: string;
322
+ add: string;
323
+ addLast: string;
324
+ backTop: string;
325
+ pageInfo: string;
326
+ nextPage: string;
327
+ tipInputNumber: string;
328
+ tipInputNumberLimit: string;
329
+ tipRowHeightLimit: string;
330
+ tipColumnWidthLimit: string;
331
+ pageInfoFull: string;
332
+ };
333
+ currencyDetail: {
334
+ name: string;
335
+ pos: string;
336
+ value: string;
337
+ }[];
338
+ defaultFmt: (currency: string) => ({
339
+ text: string;
340
+ value: string;
341
+ example: string;
342
+ icon?: undefined;
343
+ } | {
344
+ text: string;
345
+ value: string;
346
+ example: string;
347
+ icon: string;
348
+ })[];
349
+ dateFmtList: {
350
+ name: string;
351
+ value: string;
352
+ }[];
353
+ fontFamily: {
354
+ MicrosoftYaHei: string;
355
+ };
356
+ fontarray: string[];
357
+ fontjson: {
358
+ "times new roman": number;
359
+ arial: number;
360
+ tahoma: number;
361
+ verdana: number;
362
+ 微软雅黑: number;
363
+ "microsoft yahei": number;
364
+ 宋体: number;
365
+ simsun: number;
366
+ 黑体: number;
367
+ simhei: number;
368
+ 楷体: number;
369
+ kaiti: number;
370
+ 仿宋: number;
371
+ fangsong: number;
372
+ 新宋体: number;
373
+ nsimsun: number;
374
+ 华文新魏: number;
375
+ stxinwei: number;
376
+ 华文行楷: number;
377
+ stxingkai: number;
378
+ 华文隶书: number;
379
+ stliti: number;
380
+ };
381
+ border: {
382
+ borderTop: string;
383
+ borderBottom: string;
384
+ borderLeft: string;
385
+ borderRight: string;
386
+ borderNone: string;
387
+ borderAll: string;
388
+ borderOutside: string;
389
+ borderInside: string;
390
+ borderHorizontal: string;
391
+ borderVertical: string;
392
+ borderColor: string;
393
+ borderSize: string;
394
+ borderSlash: string;
395
+ borderDefault: string;
396
+ borderStyle: string;
397
+ };
398
+ merge: {
399
+ mergeAll: string;
400
+ mergeV: string;
401
+ mergeH: string;
402
+ mergeCancel: string;
403
+ overlappingError: string;
404
+ partiallyError: string;
405
+ };
406
+ align: {
407
+ left: string;
408
+ center: string;
409
+ right: string;
410
+ top: string;
411
+ middle: string;
412
+ bottom: string;
413
+ };
414
+ textWrap: {
415
+ overflow: string;
416
+ wrap: string;
417
+ clip: string;
418
+ };
419
+ rotation: {
420
+ none: string;
421
+ angleup: string;
422
+ angledown: string;
423
+ vertical: string;
424
+ rotationUp: string;
425
+ rotationDown: string;
426
+ };
427
+ freezen: {
428
+ default: string;
429
+ freezenRow: string;
430
+ freezenColumn: string;
431
+ freezenRC: string;
432
+ freezenRowRange: string;
433
+ freezenColumnRange: string;
434
+ freezenRCRange: string;
435
+ freezenCancel: string;
436
+ noSelectionError: string;
437
+ rangeRCOverErrorTitle: string;
438
+ rangeRCOverError: string;
439
+ };
440
+ sort: {
441
+ asc: string;
442
+ desc: string;
443
+ custom: string;
444
+ hasTitle: string;
445
+ sortBy: string;
446
+ addOthers: string;
447
+ close: string;
448
+ confirm: string;
449
+ columnOperation: string;
450
+ secondaryTitle: string;
451
+ sortTitle: string;
452
+ sortRangeTitle: string;
453
+ sortRangeTitleTo: string;
454
+ noRangeError: string;
455
+ mergeError: string;
456
+ };
457
+ filter: {
458
+ filter: string;
459
+ clearFilter: string;
460
+ sortByAsc: string;
461
+ sortByDesc: string;
462
+ filterByColor: string;
463
+ filterByCondition: string;
464
+ filterByValues: string;
465
+ filiterInputNone: string;
466
+ filiterInputTip: string;
467
+ filiterRangeStartTip: string;
468
+ filiterRangeEndTip: string;
469
+ filterValueByAllBtn: string;
470
+ filterValueByClearBtn: string;
471
+ filterValueByInverseBtn: string;
472
+ filterValueByTip: string;
473
+ filterConfirm: string;
474
+ filterCancel: string;
475
+ conditionNone: string;
476
+ conditionCellIsNull: string;
477
+ conditionCellNotNull: string;
478
+ conditionCellTextContain: string;
479
+ conditionCellTextNotContain: string;
480
+ conditionCellTextStart: string;
481
+ conditionCellTextEnd: string;
482
+ conditionCellTextEqual: string;
483
+ conditionCellDateEqual: string;
484
+ conditionCellDateBefore: string;
485
+ conditionCellDateAfter: string;
486
+ conditionCellGreater: string;
487
+ conditionCellGreaterEqual: string;
488
+ conditionCellLess: string;
489
+ conditionCellLessEqual: string;
490
+ conditionCellEqual: string;
491
+ conditionCellNotEqual: string;
492
+ conditionCellBetween: string;
493
+ conditionCellNotBetween: string;
494
+ filiterMoreDataTip: string;
495
+ filiterMonthText: string;
496
+ filiterYearText: string;
497
+ filiterByColorTip: string;
498
+ filiterByTextColorTip: string;
499
+ filterContainerOneColorTip: string;
500
+ filterDateFormatTip: string;
501
+ valueBlank: string;
502
+ mergeError: string;
503
+ };
504
+ rightclick: {
505
+ copy: string;
506
+ copyAs: string;
507
+ paste: string;
508
+ insert: string;
509
+ image: string;
510
+ link: string;
511
+ delete: string;
512
+ deleteCell: string;
513
+ deleteSelected: string;
514
+ hide: string;
515
+ hideSelected: string;
516
+ showHide: string;
517
+ to: string;
518
+ left: string;
519
+ right: string;
520
+ top: string;
521
+ bottom: string;
522
+ moveLeft: string;
523
+ moveUp: string;
524
+ add: string;
525
+ row: string;
526
+ column: string;
527
+ width: string;
528
+ height: string;
529
+ number: string;
530
+ confirm: string;
531
+ orderAZ: string;
532
+ orderZA: string;
533
+ clearContent: string;
534
+ matrix: string;
535
+ sortSelection: string;
536
+ filterSelection: string;
537
+ chartGeneration: string;
538
+ firstLineTitle: string;
539
+ untitled: string;
540
+ array1: string;
541
+ array2: string;
542
+ array3: string;
543
+ diagonal: string;
544
+ antiDiagonal: string;
545
+ diagonalOffset: string;
546
+ offset: string;
547
+ boolean: string;
548
+ flip: string;
549
+ upAndDown: string;
550
+ leftAndRight: string;
551
+ clockwise: string;
552
+ counterclockwise: string;
553
+ transpose: string;
554
+ matrixCalculation: string;
555
+ plus: string;
556
+ minus: string;
557
+ multiply: string;
558
+ divided: string;
559
+ power: string;
560
+ root: string;
561
+ log: string;
562
+ delete0: string;
563
+ removeDuplicate: string;
564
+ byRow: string;
565
+ byCol: string;
566
+ generateNewMatrix: string;
567
+ noMulti: string;
568
+ cannotDeleteAllRow: string;
569
+ cannotDeleteAllColumn: string;
570
+ cannotDeleteRowReadOnly: string;
571
+ cannotDeleteColumnReadOnly: string;
572
+ cannotInsertOnRowReadOnly: string;
573
+ cannotInsertOnColumnReadOnly: string;
574
+ rowOverLimit: string;
575
+ columnOverLimit: string;
576
+ conditionFormat: string;
577
+ };
578
+ comment: {
579
+ insert: string;
580
+ edit: string;
581
+ delete: string;
582
+ showOne: string;
583
+ showAll: string;
584
+ };
585
+ screenshot: {
586
+ screenshotTipNoSelection: string;
587
+ screenshotTipTitle: string;
588
+ screenshotTipHasMerge: string;
589
+ screenshotTipHasMulti: string;
590
+ screenshotTipSuccess: string;
591
+ screenshotImageName: string;
592
+ downLoadClose: string;
593
+ downLoadCopy: string;
594
+ downLoadBtn: string;
595
+ browserNotTip: string;
596
+ rightclickTip: string;
597
+ successTip: string;
598
+ };
599
+ splitText: {
600
+ splitDelimiters: string;
601
+ splitOther: string;
602
+ splitContinueSymbol: string;
603
+ splitDataPreview: string;
604
+ splitTextTitle: string;
605
+ splitConfirmToExe: string;
606
+ splitSymbols: {
607
+ name: string;
608
+ value: string;
609
+ }[];
610
+ tipNoMulti: string;
611
+ tipNoMultiColumn: string;
612
+ tipNoSelect: string;
613
+ };
614
+ imageText: {
615
+ imageSetting: string;
616
+ close: string;
617
+ conventional: string;
618
+ moveCell1: string;
619
+ moveCell2: string;
620
+ moveCell3: string;
621
+ fixedPos: string;
622
+ border: string;
623
+ width: string;
624
+ radius: string;
625
+ style: string;
626
+ solid: string;
627
+ dashed: string;
628
+ dotted: string;
629
+ double: string;
630
+ color: string;
631
+ };
632
+ punctuation: {
633
+ tab: string;
634
+ semicolon: string;
635
+ comma: string;
636
+ space: string;
637
+ };
638
+ findAndReplace: {
639
+ find: string;
640
+ replace: string;
641
+ goto: string;
642
+ location: string;
643
+ formula: string;
644
+ date: string;
645
+ number: string;
646
+ string: string;
647
+ error: string;
648
+ condition: string;
649
+ rowSpan: string;
650
+ columnSpan: string;
651
+ locationExample: string;
652
+ lessTwoRowTip: string;
653
+ lessTwoColumnTip: string;
654
+ findTextbox: string;
655
+ replaceTextbox: string;
656
+ regexTextbox: string;
657
+ wholeTextbox: string;
658
+ distinguishTextbox: string;
659
+ allReplaceBtn: string;
660
+ replaceBtn: string;
661
+ allFindBtn: string;
662
+ findBtn: string;
663
+ noFindTip: string;
664
+ modeTip: string;
665
+ searchTargetSheet: string;
666
+ searchTargetCell: string;
667
+ searchTargetValue: string;
668
+ searchInputTip: string;
669
+ noReplceTip: string;
670
+ noMatchTip: string;
671
+ successTip: string;
672
+ locationConstant: string;
673
+ locationFormula: string;
674
+ locationDate: string;
675
+ locationDigital: string;
676
+ locationString: string;
677
+ locationBool: string;
678
+ locationError: string;
679
+ locationNull: string;
680
+ locationCondition: string;
681
+ locationRowSpan: string;
682
+ locationColumnSpan: string;
683
+ locationTiplessTwoRow: string;
684
+ locationTiplessTwoColumn: string;
685
+ locationTipNotFindCell: string;
686
+ };
687
+ sheetconfig: {
688
+ delete: string;
689
+ copy: string;
690
+ rename: string;
691
+ changeColor: string;
692
+ hide: string;
693
+ unhide: string;
694
+ moveLeft: string;
695
+ moveRight: string;
696
+ resetColor: string;
697
+ cancelText: string;
698
+ chooseText: string;
699
+ focus: string;
700
+ tipNameRepeat: string;
701
+ noMoreSheet: string;
702
+ confirmDelete: string;
703
+ redoDelete: string;
704
+ noHide: string;
705
+ chartEditNoOpt: string;
706
+ sheetNameSpecCharError: string;
707
+ sheetNamecannotIsEmptyError: string;
708
+ };
709
+ conditionformat: {
710
+ conditionformat_greaterThan: string;
711
+ conditionformat_greaterThan_title: string;
712
+ conditionformat_lessThan: string;
713
+ conditionformat_lessThan_title: string;
714
+ conditionformat_between: string;
715
+ conditionformat_between_title: string;
716
+ conditionformat_equal: string;
717
+ conditionformat_equal_title: string;
718
+ conditionformat_textContains: string;
719
+ conditionformat_textContains_title: string;
720
+ conditionformat_occurrenceDate: string;
721
+ conditionformat_occurrenceDate_title: string;
722
+ conditionformat_duplicateValue: string;
723
+ conditionformat_duplicateValue_title: string;
724
+ conditionformat_top10: string;
725
+ conditionformat_top10_percent: string;
726
+ conditionformat_top10_title: string;
727
+ conditionformat_last10: string;
728
+ conditionformat_last10_percent: string;
729
+ conditionformat_last10_title: string;
730
+ conditionformat_aboveAverage: string;
731
+ conditionformat_aboveAverage_title: string;
732
+ conditionformat_belowAverage: string;
733
+ conditionformat_belowAverage_title: string;
734
+ rule: string;
735
+ newRule: string;
736
+ editRule: string;
737
+ deleteRule: string;
738
+ deleteCellRule: string;
739
+ deleteSheetRule: string;
740
+ manageRules: string;
741
+ showRules: string;
742
+ highlightCellRules: string;
743
+ itemSelectionRules: string;
744
+ conditionformatManageRules: string;
745
+ format: string;
746
+ setFormat: string;
747
+ setAs: string;
748
+ setAsByArea: string;
749
+ applyRange: string;
750
+ selectRange: string;
751
+ selectRange_percent: string;
752
+ selectRange_average: string;
753
+ selectRange_value: string;
754
+ pleaseSelectRange: string;
755
+ selectDataRange: string;
756
+ selectCell: string;
757
+ pleaseSelectCell: string;
758
+ pleaseSelectADate: string;
759
+ pleaseEnterInteger: string;
760
+ onlySingleCell: string;
761
+ conditionValueCanOnly: string;
762
+ ruleTypeItem1: string;
763
+ ruleTypeItem2: string;
764
+ ruleTypeItem2_title: string;
765
+ ruleTypeItem3: string;
766
+ ruleTypeItem3_title: string;
767
+ ruleTypeItem4: string;
768
+ ruleTypeItem4_title: string;
769
+ ruleTypeItem5: string;
770
+ ruleTypeItem6: string;
771
+ formula: string;
772
+ textColor: string;
773
+ cellColor: string;
774
+ confirm: string;
775
+ confirmColor: string;
776
+ cancel: string;
777
+ close: string;
778
+ clearColorSelect: string;
779
+ sheet: string;
780
+ currentSheet: string;
781
+ dataBar: string;
782
+ dataBarColor: string;
783
+ gradientDataBar_1: string;
784
+ gradientDataBar_2: string;
785
+ gradientDataBar_3: string;
786
+ gradientDataBar_4: string;
787
+ gradientDataBar_5: string;
788
+ gradientDataBar_6: string;
789
+ solidColorDataBar_1: string;
790
+ solidColorDataBar_2: string;
791
+ solidColorDataBar_3: string;
792
+ solidColorDataBar_4: string;
793
+ solidColorDataBar_5: string;
794
+ solidColorDataBar_6: string;
795
+ colorGradation: string;
796
+ colorGradation_1: string;
797
+ colorGradation_2: string;
798
+ colorGradation_3: string;
799
+ colorGradation_4: string;
800
+ colorGradation_5: string;
801
+ colorGradation_6: string;
802
+ colorGradation_7: string;
803
+ colorGradation_8: string;
804
+ colorGradation_9: string;
805
+ colorGradation_10: string;
806
+ colorGradation_11: string;
807
+ colorGradation_12: string;
808
+ icons: string;
809
+ pleaseSelectIcon: string;
810
+ cellValue: string;
811
+ specificText: string;
812
+ occurrenceDate: string;
813
+ greaterThan: string;
814
+ lessThan: string;
815
+ between: string;
816
+ equal: string;
817
+ in: string;
818
+ to: string;
819
+ between2: string;
820
+ contain: string;
821
+ textContains: string;
822
+ duplicateValue: string;
823
+ uniqueValue: string;
824
+ top: string;
825
+ top10: string;
826
+ top10_percent: string;
827
+ last: string;
828
+ last10: string;
829
+ last10_percent: string;
830
+ oneself: string;
831
+ above: string;
832
+ aboveAverage: string;
833
+ below: string;
834
+ belowAverage: string;
835
+ all: string;
836
+ yesterday: string;
837
+ today: string;
838
+ tomorrow: string;
839
+ lastWeek: string;
840
+ thisWeek: string;
841
+ lastMonth: string;
842
+ thisMonth: string;
843
+ lastYear: string;
844
+ thisYear: string;
845
+ last7days: string;
846
+ last30days: string;
847
+ next7days: string;
848
+ next30days: string;
849
+ next60days: string;
850
+ chooseRuleType: string;
851
+ editRuleDescription: string;
852
+ newFormatRule: string;
853
+ editFormatRule: string;
854
+ formatStyle: string;
855
+ fillType: string;
856
+ color: string;
857
+ twocolor: string;
858
+ tricolor: string;
859
+ multicolor: string;
860
+ grayColor: string;
861
+ gradient: string;
862
+ solid: string;
863
+ maxValue: string;
864
+ medianValue: string;
865
+ minValue: string;
866
+ direction: string;
867
+ threeWayArrow: string;
868
+ fourWayArrow: string;
869
+ fiveWayArrow: string;
870
+ threeTriangles: string;
871
+ shape: string;
872
+ threeColorTrafficLight: string;
873
+ fourColorTrafficLight: string;
874
+ threeSigns: string;
875
+ greenRedBlackGradient: string;
876
+ rimless: string;
877
+ bordered: string;
878
+ mark: string;
879
+ threeSymbols: string;
880
+ tricolorFlag: string;
881
+ circled: string;
882
+ noCircle: string;
883
+ grade: string;
884
+ grade4: string;
885
+ grade5: string;
886
+ threeStars: string;
887
+ fiveQuadrantDiagram: string;
888
+ fiveBoxes: string;
889
+ };
890
+ insertLink: {
891
+ linkText: string;
892
+ linkType: string;
893
+ linkAddress: string;
894
+ linkSheet: string;
895
+ linkCell: string;
896
+ linkTooltip: string;
897
+ selectCellRange: string;
898
+ cellRangePlaceholder: string;
899
+ placeholder1: string;
900
+ placeholder2: string;
901
+ placeholder3: string;
902
+ tooltipInfo1: string;
903
+ invalidCellRangeTip: string;
904
+ openLink: string;
905
+ goTo: string;
906
+ };
907
+ linkTypeList: {
908
+ text: string;
909
+ value: string;
910
+ }[];
911
+ dataVerification: {
912
+ cellRange: string;
913
+ selectCellRange: string;
914
+ selectCellRange2: string;
915
+ verificationCondition: string;
916
+ allowMultiSelect: string;
917
+ dropdown: string;
918
+ checkbox: string;
919
+ number: string;
920
+ number_integer: string;
921
+ number_decimal: string;
922
+ text_content: string;
923
+ text_length: string;
924
+ date: string;
925
+ validity: string;
926
+ placeholder1: string;
927
+ placeholder2: string;
928
+ placeholder3: string;
929
+ placeholder4: string;
930
+ placeholder5: string;
931
+ selected: string;
932
+ notSelected: string;
933
+ between: string;
934
+ notBetween: string;
935
+ equal: string;
936
+ notEqualTo: string;
937
+ moreThanThe: string;
938
+ lessThan: string;
939
+ greaterOrEqualTo: string;
940
+ lessThanOrEqualTo: string;
941
+ include: string;
942
+ exclude: string;
943
+ earlierThan: string;
944
+ noEarlierThan: string;
945
+ laterThan: string;
946
+ noLaterThan: string;
947
+ identificationNumber: string;
948
+ phoneNumber: string;
949
+ remote: string;
950
+ prohibitInput: string;
951
+ hintShow: string;
952
+ deleteVerification: string;
953
+ tooltipInfo1: string;
954
+ tooltipInfo2: string;
955
+ tooltipInfo3: string;
956
+ tooltipInfo4: string;
957
+ tooltipInfo5: string;
958
+ tooltipInfo6: string;
959
+ tooltipInfo7: string;
960
+ textlengthInteger: string;
961
+ };
962
+ formula: {
963
+ sum: string;
964
+ average: string;
965
+ count: string;
966
+ max: string;
967
+ min: string;
968
+ ifGenerate: string;
969
+ find: string;
970
+ tipNotBelongToIf: string;
971
+ tipSelectCell: string;
972
+ ifGenCompareValueTitle: string;
973
+ ifGenSelectCellTitle: string;
974
+ ifGenRangeTitle: string;
975
+ ifGenRangeTo: string;
976
+ ifGenRangeEvaluate: string;
977
+ ifGenSelectRangeTitle: string;
978
+ ifGenCutWay: string;
979
+ ifGenCutSame: string;
980
+ ifGenCutNpiece: string;
981
+ ifGenCutCustom: string;
982
+ ifGenCutConfirm: string;
983
+ ifGenTipSelectCell: string;
984
+ ifGenTipSelectCellPlace: string;
985
+ ifGenTipSelectRange: string;
986
+ ifGenTipSelectRangePlace: string;
987
+ ifGenTipNotNullValue: string;
988
+ ifGenTipLableTitile: string;
989
+ ifGenTipRangeNotforNull: string;
990
+ ifGenTipCutValueNotforNull: string;
991
+ ifGenTipNotGenCondition: string;
992
+ };
993
+ formulaMore: {
994
+ valueTitle: string;
995
+ tipSelectDataRange: string;
996
+ tipDataRangeTile: string;
997
+ findFunctionTitle: string;
998
+ tipInputFunctionName: string;
999
+ Array: string;
1000
+ Database: string;
1001
+ Date: string;
1002
+ Engineering: string;
1003
+ Filter: string;
1004
+ Financial: string;
1005
+ luckysheet: string;
1006
+ other: string;
1007
+ Logical: string;
1008
+ Lookup: string;
1009
+ Math: string;
1010
+ Operator: string;
1011
+ Parser: string;
1012
+ Statistical: string;
1013
+ Text: string;
1014
+ dataMining: string;
1015
+ selectFunctionTitle: string;
1016
+ calculationResult: string;
1017
+ tipSuccessText: string;
1018
+ tipParamErrorText: string;
1019
+ helpClose: string;
1020
+ helpCollapse: string;
1021
+ helpExample: string;
1022
+ helpAbstract: string;
1023
+ execfunctionError: string;
1024
+ execfunctionSelfError: string;
1025
+ execfunctionSelfErrorResult: string;
1026
+ allowRepeatText: string;
1027
+ allowOptionText: string;
1028
+ selectCategory: string;
1029
+ };
1030
+ drag: {
1031
+ noMerge: string;
1032
+ affectPivot: string;
1033
+ noMulti: string;
1034
+ noPaste: string;
1035
+ noPartMerge: string;
1036
+ inputCorrect: string;
1037
+ notLessOne: string;
1038
+ offsetColumnLessZero: string;
1039
+ pasteMustKeybordAlert: string;
1040
+ pasteMustKeybordAlertHTMLTitle: string;
1041
+ pasteMustKeybordAlertHTML: string;
1042
+ };
1043
+ pivotTable: {
1044
+ title: string;
1045
+ closePannel: string;
1046
+ editRange: string;
1047
+ tipPivotFieldSelected: string;
1048
+ tipClearSelectedField: string;
1049
+ btnClearSelectedField: string;
1050
+ btnFilter: string;
1051
+ titleRow: string;
1052
+ titleColumn: string;
1053
+ titleValue: string;
1054
+ tipShowColumn: string;
1055
+ tipShowRow: string;
1056
+ titleSelectionDataRange: string;
1057
+ titleDataRange: string;
1058
+ valueSum: string;
1059
+ valueStatisticsSUM: string;
1060
+ valueStatisticsCOUNT: string;
1061
+ valueStatisticsCOUNTA: string;
1062
+ valueStatisticsCOUNTUNIQUE: string;
1063
+ valueStatisticsAVERAGE: string;
1064
+ valueStatisticsMAX: string;
1065
+ valueStatisticsMIN: string;
1066
+ valueStatisticsMEDIAN: string;
1067
+ valueStatisticsPRODUCT: string;
1068
+ valueStatisticsSTDEV: string;
1069
+ valueStatisticsSTDEVP: string;
1070
+ valueStatisticslet: string;
1071
+ valueStatisticsVARP: string;
1072
+ errorNotAllowEdit: string;
1073
+ errorNotAllowMulti: string;
1074
+ errorSelectRange: string;
1075
+ errorIsDamage: string;
1076
+ errorNotAllowPivotData: string;
1077
+ errorSelectionRange: string;
1078
+ errorIncreaseRange: string;
1079
+ titleAddColumn: string;
1080
+ titleMoveColumn: string;
1081
+ titleClearColumnFilter: string;
1082
+ titleFilterColumn: string;
1083
+ titleSort: string;
1084
+ titleNoSort: string;
1085
+ titleSortAsc: string;
1086
+ titleSortDesc: string;
1087
+ titleSortBy: string;
1088
+ titleShowSum: string;
1089
+ titleStasticTrue: string;
1090
+ titleStasticFalse: string;
1091
+ };
1092
+ dropCell: {
1093
+ copyCell: string;
1094
+ sequence: string;
1095
+ onlyFormat: string;
1096
+ noFormat: string;
1097
+ day: string;
1098
+ workDay: string;
1099
+ month: string;
1100
+ year: string;
1101
+ chineseNumber: string;
1102
+ };
1103
+ imageCtrl: {
1104
+ borderTile: string;
1105
+ borderCur: string;
1106
+ };
1107
+ protection: {
1108
+ protectiontTitle: string;
1109
+ enterPassword: string;
1110
+ enterHint: string;
1111
+ swichProtectionTip: string;
1112
+ authorityTitle: string;
1113
+ selectLockedCells: string;
1114
+ selectunLockedCells: string;
1115
+ formatCells: string;
1116
+ formatColumns: string;
1117
+ formatRows: string;
1118
+ insertColumns: string;
1119
+ insertRows: string;
1120
+ insertHyperlinks: string;
1121
+ deleteColumns: string;
1122
+ deleteRows: string;
1123
+ sort: string;
1124
+ filter: string;
1125
+ usePivotTablereports: string;
1126
+ editObjects: string;
1127
+ editScenarios: string;
1128
+ allowRangeTitle: string;
1129
+ allowRangeAdd: string;
1130
+ allowRangeAddTitle: string;
1131
+ allowRangeAddSqrf: string;
1132
+ selectCellRange: string;
1133
+ selectCellRangeHolder: string;
1134
+ allowRangeAddTitlePassword: string;
1135
+ allowRangeAddTitleHint: string;
1136
+ allowRangeAddTitleHintTitle: string;
1137
+ allowRangeAddtitleDefault: string;
1138
+ rangeItemDblclick: string;
1139
+ rangeItemHasPassword: string;
1140
+ rangeItemErrorTitleNull: string;
1141
+ rangeItemErrorRangeNull: string;
1142
+ rangeItemErrorRange: string;
1143
+ validationTitle: string;
1144
+ validationTips: string;
1145
+ validationInputHint: string;
1146
+ checkPasswordNullalert: string;
1147
+ checkPasswordWrongalert: string;
1148
+ checkPasswordSucceedalert: string;
1149
+ defaultRangeHintText: string;
1150
+ defaultSheetHintText: string;
1151
+ };
1152
+ cellFormat: {
1153
+ cellFormatTitle: string;
1154
+ protection: string;
1155
+ locked: string;
1156
+ hidden: string;
1157
+ protectionTips: string;
1158
+ tipsPart: string;
1159
+ tipsAll: string;
1160
+ selectionIsNullAlert: string;
1161
+ sheetDataIsNullAlert: string;
1162
+ };
1163
+ print: {
1164
+ normalBtn: string;
1165
+ layoutBtn: string;
1166
+ pageBtn: string;
1167
+ menuItemPrint: string;
1168
+ menuItemAreas: string;
1169
+ menuItemRows: string;
1170
+ menuItemColumns: string;
1171
+ };
1172
+ edit: {
1173
+ typing: string;
1174
+ };
1175
+ websocket: {
1176
+ success: string;
1177
+ refresh: string;
1178
+ wait: string;
1179
+ close: string;
1180
+ contact: string;
1181
+ support: string;
1182
+ };
1183
+ };
1184
+ getWorkbookContext: () => Context;
1185
+ getSettings: () => Required<Settings>;
1186
+ };