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