@fileverse-dev/fortune-core 1.0.26 → 2.0.0

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