logisheets 0.8.0 → 1.1.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 (462) hide show
  1. package/dist/src/api/cell.d.ts +3 -2
  2. package/dist/src/api/cell.js +20 -17
  3. package/dist/src/api/craft-calc.d.ts +83 -0
  4. package/dist/src/api/craft-calc.js +223 -0
  5. package/dist/src/api/index.d.ts +1 -0
  6. package/dist/src/api/index.js +1 -0
  7. package/dist/src/api/utils.js +4 -2
  8. package/dist/src/api/workbook.d.ts +105 -4
  9. package/dist/src/api/workbook.js +250 -105
  10. package/dist/src/api/worksheet.d.ts +39 -1
  11. package/dist/src/api/worksheet.js +161 -20
  12. package/dist/src/bindings/action_effect.d.ts +56 -0
  13. package/dist/src/bindings/action_effect.js +96 -1
  14. package/dist/src/bindings/alignment.d.ts +1 -0
  15. package/dist/src/bindings/app_data.d.ts +4 -0
  16. package/dist/src/bindings/appendix.d.ts +5 -0
  17. package/dist/src/bindings/appendix_with_cell.d.ts +8 -0
  18. package/dist/src/bindings/async_func_result.d.ts +10 -0
  19. package/dist/src/bindings/async_func_result.js +19 -1
  20. package/dist/src/bindings/bind_form_schema.d.ts +50 -0
  21. package/dist/src/bindings/bind_form_schema.js +82 -0
  22. package/dist/src/bindings/bind_random_schema.d.ts +23 -0
  23. package/dist/src/bindings/bind_random_schema.js +33 -0
  24. package/dist/src/bindings/block_cell_id.js +0 -1
  25. package/dist/src/bindings/block_cell_info.d.ts +5 -0
  26. package/dist/src/bindings/block_data_row.d.ts +4 -0
  27. package/dist/src/bindings/block_display_info.d.ts +7 -0
  28. package/dist/src/bindings/block_field.d.ts +5 -0
  29. package/dist/src/bindings/block_info.d.ts +8 -0
  30. package/dist/src/bindings/block_info.js +0 -1
  31. package/dist/src/bindings/block_input.d.ts +19 -0
  32. package/dist/src/bindings/block_input.js +40 -2
  33. package/dist/src/bindings/block_line_name_field_update.d.ts +34 -0
  34. package/dist/src/bindings/block_line_name_field_update.js +50 -0
  35. package/dist/src/bindings/block_line_style_update.d.ts +31 -0
  36. package/dist/src/bindings/block_line_style_update.js +47 -0
  37. package/dist/src/bindings/block_schema.d.ts +11 -0
  38. package/dist/src/bindings/block_schema_field_entry.d.ts +8 -0
  39. package/dist/src/bindings/block_schema_key_entry.d.ts +4 -0
  40. package/dist/src/bindings/block_schema_random_entry.d.ts +6 -0
  41. package/dist/src/bindings/block_schema_type.d.ts +1 -0
  42. package/dist/src/bindings/block_style_update.d.ts +19 -0
  43. package/dist/src/bindings/block_style_update.js +40 -1
  44. package/dist/src/bindings/cell_alignment.d.ts +6 -6
  45. package/dist/src/bindings/cell_clear.d.ts +13 -0
  46. package/dist/src/bindings/cell_clear.js +26 -2
  47. package/dist/src/bindings/cell_coordinate.d.ts +4 -0
  48. package/dist/src/bindings/cell_coordinate.js +1 -0
  49. package/dist/src/bindings/cell_coordinate_with_sheet.d.ts +5 -0
  50. package/dist/src/bindings/cell_coordinate_with_sheet.js +1 -0
  51. package/dist/src/bindings/cell_format_brush.d.ts +28 -0
  52. package/dist/src/bindings/cell_format_brush.js +61 -2
  53. package/dist/src/bindings/cell_id.d.ts +6 -3
  54. package/dist/src/bindings/cell_info.d.ts +1 -0
  55. package/dist/src/bindings/cell_input.d.ts +16 -0
  56. package/dist/src/bindings/cell_input.js +33 -2
  57. package/dist/src/bindings/cell_position.js +0 -1
  58. package/dist/src/bindings/cell_protection.js +0 -1
  59. package/dist/src/bindings/cell_ref.d.ts +9 -0
  60. package/dist/src/bindings/cell_ref.js +1 -0
  61. package/dist/src/bindings/cell_style_update.d.ts +16 -0
  62. package/dist/src/bindings/cell_style_update.js +33 -1
  63. package/dist/src/bindings/checkpoint_meta.d.ts +4 -0
  64. package/dist/src/bindings/checkpoint_meta.js +1 -0
  65. package/dist/src/bindings/col_info.js +0 -1
  66. package/dist/src/bindings/color.js +0 -1
  67. package/dist/src/bindings/comment.js +0 -1
  68. package/dist/src/bindings/convert_block.d.ts +30 -0
  69. package/dist/src/bindings/convert_block.js +47 -0
  70. package/dist/src/bindings/create_appendix.d.ts +38 -0
  71. package/dist/src/bindings/create_appendix.js +57 -0
  72. package/dist/src/bindings/create_block.d.ts +31 -0
  73. package/dist/src/bindings/create_block.js +57 -2
  74. package/dist/src/bindings/create_diy_cell.d.ts +18 -0
  75. package/dist/src/bindings/create_diy_cell.js +26 -0
  76. package/dist/src/bindings/create_diy_cell_by_id.d.ts +22 -0
  77. package/dist/src/bindings/create_diy_cell_by_id.js +33 -0
  78. package/dist/src/bindings/create_sheet.d.ts +10 -0
  79. package/dist/src/bindings/create_sheet.js +19 -2
  80. package/dist/src/bindings/ct_border.d.ts +13 -0
  81. package/dist/src/bindings/ct_border.js +1 -0
  82. package/dist/src/bindings/ct_border_pr.d.ts +6 -0
  83. package/dist/src/bindings/ct_border_pr.js +1 -0
  84. package/dist/src/bindings/ct_color.d.ts +7 -0
  85. package/dist/src/bindings/ct_color.js +1 -0
  86. package/dist/src/bindings/ct_fill.d.ts +9 -0
  87. package/dist/src/bindings/ct_fill.js +1 -0
  88. package/dist/src/bindings/ct_font.d.ts +25 -0
  89. package/dist/src/bindings/ct_font.js +1 -0
  90. package/dist/src/bindings/ct_gradient_fill.d.ts +11 -0
  91. package/dist/src/bindings/ct_gradient_fill.js +1 -0
  92. package/dist/src/bindings/ct_gradient_stop.d.ts +5 -0
  93. package/dist/src/bindings/ct_gradient_stop.js +1 -0
  94. package/dist/src/bindings/ct_pattern_fill.d.ts +7 -0
  95. package/dist/src/bindings/ct_pattern_fill.js +1 -0
  96. package/dist/src/bindings/delete_cols.d.ts +13 -0
  97. package/dist/src/bindings/delete_cols.js +26 -2
  98. package/dist/src/bindings/delete_cols_in_block.d.ts +16 -0
  99. package/dist/src/bindings/delete_cols_in_block.js +33 -2
  100. package/dist/src/bindings/delete_rows.d.ts +13 -0
  101. package/dist/src/bindings/delete_rows.js +26 -2
  102. package/dist/src/bindings/delete_rows_in_block.d.ts +16 -0
  103. package/dist/src/bindings/delete_rows_in_block.js +33 -2
  104. package/dist/src/bindings/delete_sheet.d.ts +7 -0
  105. package/dist/src/bindings/delete_sheet.js +12 -2
  106. package/dist/src/bindings/display_window.d.ts +2 -2
  107. package/dist/src/bindings/display_window_request.js +0 -1
  108. package/dist/src/bindings/edit_action.d.ts +4 -2
  109. package/dist/src/bindings/edit_payload.d.ts +146 -33
  110. package/dist/src/bindings/ephemeral_cell_input.d.ts +13 -0
  111. package/dist/src/bindings/ephemeral_cell_input.js +26 -2
  112. package/dist/src/bindings/ephemeral_cell_remove.d.ts +14 -0
  113. package/dist/src/bindings/ephemeral_cell_remove.js +19 -0
  114. package/dist/src/bindings/ephemeral_cell_style_update.d.ts +13 -0
  115. package/dist/src/bindings/ephemeral_cell_style_update.js +26 -1
  116. package/dist/src/bindings/error_message.js +0 -1
  117. package/dist/src/bindings/field_render_entry.d.ts +6 -0
  118. package/dist/src/bindings/field_render_entry.js +1 -0
  119. package/dist/src/bindings/fill.d.ts +4 -2
  120. package/dist/src/bindings/font_family.js +0 -1
  121. package/dist/src/bindings/font_name.js +0 -1
  122. package/dist/src/bindings/font_size.d.ts +3 -0
  123. package/dist/src/bindings/font_size.js +1 -0
  124. package/dist/src/bindings/formula_display_info.d.ts +6 -0
  125. package/dist/src/bindings/formula_display_info.js +1 -0
  126. package/dist/src/bindings/horizontal_alignment.js +0 -1
  127. package/dist/src/bindings/index.d.ts +116 -0
  128. package/dist/src/bindings/index.js +116 -0
  129. package/dist/src/bindings/insert_cols.d.ts +13 -0
  130. package/dist/src/bindings/insert_cols.js +26 -2
  131. package/dist/src/bindings/insert_cols_in_block.d.ts +16 -0
  132. package/dist/src/bindings/insert_cols_in_block.js +33 -2
  133. package/dist/src/bindings/insert_rows.d.ts +13 -0
  134. package/dist/src/bindings/insert_rows.js +26 -2
  135. package/dist/src/bindings/insert_rows_in_block.d.ts +16 -0
  136. package/dist/src/bindings/insert_rows_in_block.js +33 -2
  137. package/dist/src/bindings/int_property.d.ts +3 -0
  138. package/dist/src/bindings/int_property.js +1 -0
  139. package/dist/src/bindings/line_format_brush.d.ts +25 -0
  140. package/dist/src/bindings/line_format_brush.js +54 -2
  141. package/dist/src/bindings/line_style_update.d.ts +19 -0
  142. package/dist/src/bindings/line_style_update.js +40 -1
  143. package/dist/src/bindings/merge_cell.js +0 -1
  144. package/dist/src/bindings/merge_cells.d.ts +19 -0
  145. package/dist/src/bindings/merge_cells.js +40 -2
  146. package/dist/src/bindings/modify_policy.d.ts +1 -0
  147. package/dist/src/bindings/modify_policy.js +1 -0
  148. package/dist/src/bindings/move_block.d.ts +16 -0
  149. package/dist/src/bindings/move_block.js +33 -2
  150. package/dist/src/bindings/move_block_line.d.ts +26 -0
  151. package/dist/src/bindings/move_block_line.js +40 -0
  152. package/dist/src/bindings/msg_sequencer_action_invalid_message.js +0 -1
  153. package/dist/src/bindings/msg_sequencer_init_workbook.js +0 -1
  154. package/dist/src/bindings/msg_sequencer_message.d.ts +6 -3
  155. package/dist/src/bindings/msg_user_message.d.ts +4 -2
  156. package/dist/src/bindings/normal_cell_id.js +0 -1
  157. package/dist/src/bindings/random_schema_unit.d.ts +22 -0
  158. package/dist/src/bindings/random_schema_unit.js +33 -0
  159. package/dist/src/bindings/raw_style.d.ts +13 -0
  160. package/dist/src/bindings/raw_style.js +1 -0
  161. package/dist/src/bindings/remove_appendix.d.ts +26 -0
  162. package/dist/src/bindings/remove_appendix.js +36 -0
  163. package/dist/src/bindings/remove_block.d.ts +10 -0
  164. package/dist/src/bindings/remove_block.js +19 -2
  165. package/dist/src/bindings/remove_diy_cell.d.ts +18 -0
  166. package/dist/src/bindings/remove_diy_cell.js +26 -0
  167. package/dist/src/bindings/remove_diy_cell_by_id.d.ts +22 -0
  168. package/dist/src/bindings/remove_diy_cell_by_id.js +33 -0
  169. package/dist/src/bindings/reorder_block_lines.d.ts +6 -0
  170. package/dist/src/bindings/reorder_block_lines.js +1 -0
  171. package/dist/src/bindings/reproduce_cells.d.ts +23 -0
  172. package/dist/src/bindings/reproduce_cells.js +33 -0
  173. package/dist/src/bindings/reproducible_cell.d.ts +10 -0
  174. package/dist/src/bindings/reproducible_cell.js +1 -0
  175. package/dist/src/bindings/resize_block.d.ts +22 -0
  176. package/dist/src/bindings/resize_block.js +29 -0
  177. package/dist/src/bindings/restore_checkpoint.d.ts +10 -0
  178. package/dist/src/bindings/restore_checkpoint.js +12 -0
  179. package/dist/src/bindings/row_info.js +0 -1
  180. package/dist/src/bindings/rpc_batch_get_cell_coordinate_with_sheet_by_id_params.d.ts +4 -0
  181. package/dist/src/bindings/rpc_batch_get_cell_coordinate_with_sheet_by_id_params.js +1 -0
  182. package/dist/src/bindings/rpc_batch_get_cell_info_by_id_params.d.ts +4 -0
  183. package/dist/src/bindings/rpc_batch_get_cell_info_by_id_params.js +1 -0
  184. package/dist/src/bindings/rpc_calc_condition_params.d.ts +4 -0
  185. package/dist/src/bindings/rpc_calc_condition_params.js +1 -0
  186. package/dist/src/bindings/rpc_check_formula_params.d.ts +3 -0
  187. package/dist/src/bindings/rpc_check_formula_params.js +1 -0
  188. package/dist/src/bindings/rpc_delete_checkpoint_params.d.ts +3 -0
  189. package/dist/src/bindings/rpc_delete_checkpoint_params.js +1 -0
  190. package/dist/src/bindings/rpc_direction.d.ts +1 -0
  191. package/dist/src/bindings/rpc_direction.js +1 -0
  192. package/dist/src/bindings/rpc_export_block_data_params.d.ts +5 -0
  193. package/dist/src/bindings/rpc_export_block_data_params.js +1 -0
  194. package/dist/src/bindings/rpc_get_all_blocks_params.d.ts +4 -0
  195. package/dist/src/bindings/rpc_get_all_blocks_params.js +1 -0
  196. package/dist/src/bindings/rpc_get_available_block_id_params.d.ts +3 -0
  197. package/dist/src/bindings/rpc_get_available_block_id_params.js +1 -0
  198. package/dist/src/bindings/rpc_get_block_col_id_params.d.ts +5 -0
  199. package/dist/src/bindings/rpc_get_block_col_id_params.js +1 -0
  200. package/dist/src/bindings/rpc_get_block_display_window_params.d.ts +4 -0
  201. package/dist/src/bindings/rpc_get_block_display_window_params.js +1 -0
  202. package/dist/src/bindings/rpc_get_block_info_params.d.ts +4 -0
  203. package/dist/src/bindings/rpc_get_block_info_params.js +1 -0
  204. package/dist/src/bindings/rpc_get_block_row_id_params.d.ts +5 -0
  205. package/dist/src/bindings/rpc_get_block_row_id_params.js +1 -0
  206. package/dist/src/bindings/rpc_get_block_values_params.d.ts +6 -0
  207. package/dist/src/bindings/rpc_get_block_values_params.js +1 -0
  208. package/dist/src/bindings/rpc_get_cell_id_by_block_ref_params.d.ts +5 -0
  209. package/dist/src/bindings/rpc_get_cell_id_by_block_ref_params.js +1 -0
  210. package/dist/src/bindings/rpc_get_cell_id_params.d.ts +5 -0
  211. package/dist/src/bindings/rpc_get_cell_id_params.js +1 -0
  212. package/dist/src/bindings/rpc_get_cell_infos_params.d.ts +7 -0
  213. package/dist/src/bindings/rpc_get_cell_infos_params.js +1 -0
  214. package/dist/src/bindings/rpc_get_cell_params.d.ts +5 -0
  215. package/dist/src/bindings/rpc_get_cell_params.js +1 -0
  216. package/dist/src/bindings/rpc_get_cell_position_params.d.ts +5 -0
  217. package/dist/src/bindings/rpc_get_cell_position_params.js +1 -0
  218. package/dist/src/bindings/rpc_get_cells_except_window_params.d.ts +11 -0
  219. package/dist/src/bindings/rpc_get_cells_except_window_params.js +1 -0
  220. package/dist/src/bindings/rpc_get_cells_params.d.ts +7 -0
  221. package/dist/src/bindings/rpc_get_cells_params.js +1 -0
  222. package/dist/src/bindings/rpc_get_col_width_params.d.ts +4 -0
  223. package/dist/src/bindings/rpc_get_col_width_params.js +1 -0
  224. package/dist/src/bindings/rpc_get_data_boundary_params.d.ts +7 -0
  225. package/dist/src/bindings/rpc_get_data_boundary_params.js +1 -0
  226. package/dist/src/bindings/rpc_get_display_units_of_formula_params.d.ts +3 -0
  227. package/dist/src/bindings/rpc_get_display_units_of_formula_params.js +1 -0
  228. package/dist/src/bindings/rpc_get_display_window_params.d.ts +7 -0
  229. package/dist/src/bindings/rpc_get_display_window_params.js +1 -0
  230. package/dist/src/bindings/rpc_get_display_window_with_start_point_params.d.ts +7 -0
  231. package/dist/src/bindings/rpc_get_display_window_with_start_point_params.js +1 -0
  232. package/dist/src/bindings/rpc_get_display_window_within_cell_params.d.ts +7 -0
  233. package/dist/src/bindings/rpc_get_display_window_within_cell_params.js +1 -0
  234. package/dist/src/bindings/rpc_get_diy_cell_id_with_block_id_params.d.ts +6 -0
  235. package/dist/src/bindings/rpc_get_diy_cell_id_with_block_id_params.js +1 -0
  236. package/dist/src/bindings/rpc_get_merged_cells_params.d.ts +7 -0
  237. package/dist/src/bindings/rpc_get_merged_cells_params.js +1 -0
  238. package/dist/src/bindings/rpc_get_next_visible_cell_params.d.ts +7 -0
  239. package/dist/src/bindings/rpc_get_next_visible_cell_params.js +1 -0
  240. package/dist/src/bindings/rpc_get_reproducible_cell_params.d.ts +5 -0
  241. package/dist/src/bindings/rpc_get_reproducible_cell_params.js +1 -0
  242. package/dist/src/bindings/rpc_get_reproducible_cells_params.d.ts +5 -0
  243. package/dist/src/bindings/rpc_get_reproducible_cells_params.js +1 -0
  244. package/dist/src/bindings/rpc_get_row_height_params.d.ts +4 -0
  245. package/dist/src/bindings/rpc_get_row_height_params.js +1 -0
  246. package/dist/src/bindings/rpc_get_row_info_params.d.ts +4 -0
  247. package/dist/src/bindings/rpc_get_row_info_params.js +1 -0
  248. package/dist/src/bindings/rpc_get_shadow_cell_id_params.d.ts +7 -0
  249. package/dist/src/bindings/rpc_get_shadow_cell_id_params.js +1 -0
  250. package/dist/src/bindings/rpc_get_shadow_cell_ids_params.d.ts +7 -0
  251. package/dist/src/bindings/rpc_get_shadow_cell_ids_params.js +1 -0
  252. package/dist/src/bindings/rpc_get_shadow_info_by_id_params.d.ts +3 -0
  253. package/dist/src/bindings/rpc_get_shadow_info_by_id_params.js +1 -0
  254. package/dist/src/bindings/rpc_get_sheet_dimension_params.d.ts +3 -0
  255. package/dist/src/bindings/rpc_get_sheet_dimension_params.js +1 -0
  256. package/dist/src/bindings/rpc_get_sheet_id_params.d.ts +3 -0
  257. package/dist/src/bindings/rpc_get_sheet_id_params.js +1 -0
  258. package/dist/src/bindings/rpc_get_sheet_idx_params.d.ts +3 -0
  259. package/dist/src/bindings/rpc_get_sheet_idx_params.js +1 -0
  260. package/dist/src/bindings/rpc_get_sheet_name_by_idx_params.d.ts +3 -0
  261. package/dist/src/bindings/rpc_get_sheet_name_by_idx_params.js +1 -0
  262. package/dist/src/bindings/rpc_handle_transaction_params.d.ts +4 -0
  263. package/dist/src/bindings/rpc_handle_transaction_params.js +1 -0
  264. package/dist/src/bindings/rpc_load_workbook_params.d.ts +4 -0
  265. package/dist/src/bindings/rpc_load_workbook_params.js +1 -0
  266. package/dist/src/bindings/rpc_lookup_appendix_upward_params.d.ts +8 -0
  267. package/dist/src/bindings/rpc_lookup_appendix_upward_params.js +1 -0
  268. package/dist/src/bindings/rpc_predict_fill_params.d.ts +11 -0
  269. package/dist/src/bindings/rpc_predict_fill_params.js +1 -0
  270. package/dist/src/bindings/rpc_save_checkpoint_params.d.ts +4 -0
  271. package/dist/src/bindings/rpc_save_checkpoint_params.js +1 -0
  272. package/dist/src/bindings/rpc_save_params.d.ts +3 -0
  273. package/dist/src/bindings/rpc_save_params.js +1 -0
  274. package/dist/src/bindings/rpc_toggle_status_params.d.ts +3 -0
  275. package/dist/src/bindings/rpc_toggle_status_params.js +1 -0
  276. package/dist/src/bindings/rpc_transaction.d.ts +6 -0
  277. package/dist/src/bindings/rpc_transaction.js +1 -0
  278. package/dist/src/bindings/rpc_workbook_methods.d.ts +134 -0
  279. package/dist/src/bindings/rpc_workbook_methods.js +1 -0
  280. package/dist/src/bindings/save_file_result.d.ts +4 -0
  281. package/dist/src/bindings/save_file_result.js +1 -0
  282. package/dist/src/bindings/set_col_width.d.ts +13 -0
  283. package/dist/src/bindings/set_col_width.js +26 -2
  284. package/dist/src/bindings/set_row_height.d.ts +13 -0
  285. package/dist/src/bindings/set_row_height.js +26 -2
  286. package/dist/src/bindings/set_sheet_color.d.ts +14 -0
  287. package/dist/src/bindings/set_sheet_color.js +19 -0
  288. package/dist/src/bindings/set_sheet_visible.d.ts +14 -0
  289. package/dist/src/bindings/set_sheet_visible.js +19 -0
  290. package/dist/src/bindings/set_visible.d.ts +16 -0
  291. package/dist/src/bindings/set_visible.js +33 -2
  292. package/dist/src/bindings/shadow_cell_info.d.ts +7 -0
  293. package/dist/src/bindings/shadow_cell_info.js +1 -0
  294. package/dist/src/bindings/shadow_kind.d.ts +1 -0
  295. package/dist/src/bindings/shadow_kind.js +1 -0
  296. package/dist/src/bindings/sheet_cell_id.d.ts +15 -0
  297. package/dist/src/bindings/sheet_cell_id.js +19 -0
  298. package/dist/src/bindings/sheet_col_id.d.ts +14 -0
  299. package/dist/src/bindings/sheet_col_id.js +19 -0
  300. package/dist/src/bindings/sheet_coordinate.d.ts +4 -0
  301. package/dist/src/bindings/sheet_coordinate.js +1 -0
  302. package/dist/src/bindings/sheet_dimension.js +0 -1
  303. package/dist/src/bindings/sheet_info.js +0 -1
  304. package/dist/src/bindings/sheet_rename.d.ts +13 -0
  305. package/dist/src/bindings/sheet_rename.js +22 -2
  306. package/dist/src/bindings/sheet_row_id.d.ts +14 -0
  307. package/dist/src/bindings/sheet_row_id.js +19 -0
  308. package/dist/src/bindings/split_merged_cells.d.ts +13 -0
  309. package/dist/src/bindings/split_merged_cells.js +26 -2
  310. package/dist/src/bindings/st_border_style.js +0 -1
  311. package/dist/src/bindings/st_font_scheme.js +0 -1
  312. package/dist/src/bindings/st_gradient_type.js +0 -1
  313. package/dist/src/bindings/st_horizontal_alignment.d.ts +1 -1
  314. package/dist/src/bindings/st_horizontal_alignment.js +0 -1
  315. package/dist/src/bindings/st_pattern_type.js +0 -1
  316. package/dist/src/bindings/st_underline_values.js +0 -1
  317. package/dist/src/bindings/st_vertical_align_run.js +0 -1
  318. package/dist/src/bindings/st_vertical_alignment.d.ts +1 -1
  319. package/dist/src/bindings/st_vertical_alignment.js +0 -1
  320. package/dist/src/bindings/status_code.d.ts +4 -2
  321. package/dist/src/bindings/style_update_type.d.ts +77 -0
  322. package/dist/src/bindings/style_update_type.js +125 -1
  323. package/dist/src/bindings/task.js +0 -1
  324. package/dist/src/bindings/temp_cell_change.d.ts +8 -0
  325. package/dist/src/bindings/temp_cell_change.js +1 -0
  326. package/dist/src/bindings/temp_status_diff.d.ts +4 -0
  327. package/dist/src/bindings/temp_status_diff.js +1 -0
  328. package/dist/src/bindings/token_type.d.ts +1 -0
  329. package/dist/src/bindings/token_type.js +1 -0
  330. package/dist/src/bindings/token_unit.d.ts +6 -0
  331. package/dist/src/bindings/token_unit.js +1 -0
  332. package/dist/src/bindings/upsert_field_formulas.d.ts +26 -0
  333. package/dist/src/bindings/upsert_field_formulas.js +40 -0
  334. package/dist/src/bindings/upsert_field_render_info.d.ts +19 -0
  335. package/dist/src/bindings/upsert_field_render_info.js +26 -0
  336. package/dist/src/bindings/value.d.ts +8 -4
  337. package/dist/src/bindings/value.js +0 -1
  338. package/dist/src/bindings/vertical_alignment.js +0 -1
  339. package/dist/src/bindings/workbook_file.js +0 -1
  340. package/dist/src/bindings/workbook_update_type.js +0 -1
  341. package/dist/src/client.d.ts +18 -75
  342. package/dist/src/index.d.ts +4 -2
  343. package/dist/src/index.js +4 -1
  344. package/dist/src/layout.d.ts +7 -0
  345. package/dist/src/layout.js +1 -0
  346. package/dist/src/payloads/index.d.ts +1 -65
  347. package/dist/src/payloads/index.js +1 -32
  348. package/dist/src/payloads/set_block_line_name_field.d.ts +34 -0
  349. package/dist/src/payloads/set_block_line_name_field.js +62 -0
  350. package/dist/src/payloads/set_block_line_num_fmt.d.ts +23 -0
  351. package/dist/src/payloads/set_block_line_num_fmt.js +54 -0
  352. package/dist/src/payloads/set_cell_alignment.d.ts +0 -1
  353. package/dist/src/payloads/set_cell_alignment.js +0 -1
  354. package/dist/src/payloads/set_cell_border.d.ts +0 -1
  355. package/dist/src/payloads/set_cell_border.js +0 -1
  356. package/dist/src/payloads/set_cell_font.d.ts +0 -1
  357. package/dist/src/payloads/set_cell_font.js +0 -1
  358. package/dist/src/payloads/{cell_clear.d.ts → set_cell_num_fmt.d.ts} +6 -4
  359. package/dist/src/payloads/{cell_input.js → set_cell_num_fmt.js} +7 -8
  360. package/dist/src/payloads/set_cell_pattern_fill.d.ts +0 -1
  361. package/dist/src/payloads/set_cell_pattern_fill.js +0 -1
  362. package/dist/src/payloads/{split_merged_cells.d.ts → set_cell_wrap_text.d.ts} +6 -4
  363. package/dist/src/payloads/{cell_clear.js → set_cell_wrap_text.js} +9 -2
  364. package/dist/src/payloads/set_field_num_fmt.d.ts +14 -0
  365. package/dist/src/payloads/set_field_num_fmt.js +30 -0
  366. package/dist/src/payloads/set_line_alignment.d.ts +0 -1
  367. package/dist/src/payloads/set_line_alignment.js +0 -1
  368. package/dist/src/payloads/set_line_border.d.ts +0 -1
  369. package/dist/src/payloads/set_line_border.js +0 -1
  370. package/dist/src/payloads/set_line_font.d.ts +0 -1
  371. package/dist/src/payloads/set_line_font.js +0 -1
  372. package/dist/src/payloads/set_line_num_fmt.d.ts +20 -0
  373. package/dist/src/payloads/set_line_num_fmt.js +46 -0
  374. package/dist/src/payloads/set_line_pattern_fill.d.ts +0 -1
  375. package/dist/src/payloads/set_line_pattern_fill.js +0 -1
  376. package/dist/src/payloads/set_line_wrap_text.d.ts +20 -0
  377. package/dist/src/payloads/set_line_wrap_text.js +46 -0
  378. package/dist/src/pure.d.ts +9 -0
  379. package/dist/src/pure.js +20 -0
  380. package/dist/src/types.d.ts +31 -0
  381. package/dist/src/types.js +21 -0
  382. package/dist/src/utils.d.ts +1 -0
  383. package/dist/src/utils.js +22 -0
  384. package/package.json +3 -2
  385. package/dist/src/bindings/cell_formula_value.d.ts +0 -7
  386. package/dist/src/bindings/cell_style.d.ts +0 -6
  387. package/dist/src/bindings/display_patch.d.ts +0 -25
  388. package/dist/src/bindings/display_request.d.ts +0 -4
  389. package/dist/src/bindings/display_request.js +0 -2
  390. package/dist/src/bindings/display_response.d.ts +0 -5
  391. package/dist/src/bindings/sheet_blocks.d.ts +0 -5
  392. package/dist/src/bindings/sheet_col_info.d.ts +0 -6
  393. package/dist/src/bindings/sheet_comments.d.ts +0 -5
  394. package/dist/src/bindings/sheet_merge_cells.d.ts +0 -5
  395. package/dist/src/bindings/sheet_names.d.ts +0 -3
  396. package/dist/src/bindings/sheet_names.js +0 -2
  397. package/dist/src/bindings/sheet_row_info.d.ts +0 -6
  398. package/dist/src/bindings/sheet_styles.d.ts +0 -5
  399. package/dist/src/bindings/sheet_values.d.ts +0 -5
  400. package/dist/src/bindings/style_update.d.ts +0 -7
  401. package/dist/src/payloads/block_input.d.ts +0 -21
  402. package/dist/src/payloads/block_input.js +0 -47
  403. package/dist/src/payloads/cell_format_brush.d.ts +0 -30
  404. package/dist/src/payloads/cell_format_brush.js +0 -71
  405. package/dist/src/payloads/cell_input.d.ts +0 -18
  406. package/dist/src/payloads/create_block.d.ts +0 -24
  407. package/dist/src/payloads/create_block.js +0 -61
  408. package/dist/src/payloads/delete_block_cols.d.ts +0 -18
  409. package/dist/src/payloads/delete_block_cols.js +0 -39
  410. package/dist/src/payloads/delete_block_rows.d.ts +0 -18
  411. package/dist/src/payloads/delete_block_rows.js +0 -39
  412. package/dist/src/payloads/delete_cols.d.ts +0 -15
  413. package/dist/src/payloads/delete_cols.js +0 -31
  414. package/dist/src/payloads/delete_rows.d.ts +0 -15
  415. package/dist/src/payloads/delete_rows.js +0 -31
  416. package/dist/src/payloads/delete_sheet.d.ts +0 -9
  417. package/dist/src/payloads/delete_sheet.js +0 -15
  418. package/dist/src/payloads/insert_block_cols.d.ts +0 -18
  419. package/dist/src/payloads/insert_block_cols.js +0 -39
  420. package/dist/src/payloads/insert_block_rows.d.ts +0 -18
  421. package/dist/src/payloads/insert_block_rows.js +0 -39
  422. package/dist/src/payloads/insert_cols.d.ts +0 -15
  423. package/dist/src/payloads/insert_cols.js +0 -31
  424. package/dist/src/payloads/insert_rows.d.ts +0 -15
  425. package/dist/src/payloads/insert_rows.js +0 -31
  426. package/dist/src/payloads/insert_sheet.d.ts +0 -12
  427. package/dist/src/payloads/insert_sheet.js +0 -23
  428. package/dist/src/payloads/line_format_brush.d.ts +0 -27
  429. package/dist/src/payloads/line_format_brush.js +0 -63
  430. package/dist/src/payloads/merge_cells.d.ts +0 -21
  431. package/dist/src/payloads/merge_cells.js +0 -47
  432. package/dist/src/payloads/move_block.d.ts +0 -18
  433. package/dist/src/payloads/move_block.js +0 -39
  434. package/dist/src/payloads/set_border.d.ts +0 -49
  435. package/dist/src/payloads/set_border.js +0 -97
  436. package/dist/src/payloads/set_col_visible.d.ts +0 -15
  437. package/dist/src/payloads/set_col_visible.js +0 -31
  438. package/dist/src/payloads/set_col_width.d.ts +0 -15
  439. package/dist/src/payloads/set_col_width.js +0 -31
  440. package/dist/src/payloads/set_font.d.ts +0 -46
  441. package/dist/src/payloads/set_font.js +0 -91
  442. package/dist/src/payloads/set_row_height.d.ts +0 -15
  443. package/dist/src/payloads/set_row_height.js +0 -31
  444. package/dist/src/payloads/set_row_visible.d.ts +0 -15
  445. package/dist/src/payloads/set_row_visible.js +0 -31
  446. package/dist/src/payloads/sheet_rename.d.ts +0 -15
  447. package/dist/src/payloads/sheet_rename.js +0 -29
  448. package/dist/src/payloads/split_merged_cells.js +0 -31
  449. package/dist/src/transactions.d.ts +0 -13
  450. package/dist/src/transactions.js +0 -23
  451. /package/dist/src/bindings/{cell_formula_value.js → app_data.js} +0 -0
  452. /package/dist/src/bindings/{cell_style.js → appendix.js} +0 -0
  453. /package/dist/src/bindings/{display_patch.js → appendix_with_cell.js} +0 -0
  454. /package/dist/src/bindings/{display_response.js → block_cell_info.js} +0 -0
  455. /package/dist/src/bindings/{sheet_blocks.js → block_data_row.js} +0 -0
  456. /package/dist/src/bindings/{sheet_col_info.js → block_display_info.js} +0 -0
  457. /package/dist/src/bindings/{sheet_comments.js → block_field.js} +0 -0
  458. /package/dist/src/bindings/{sheet_merge_cells.js → block_schema.js} +0 -0
  459. /package/dist/src/bindings/{sheet_row_info.js → block_schema_field_entry.js} +0 -0
  460. /package/dist/src/bindings/{sheet_styles.js → block_schema_key_entry.js} +0 -0
  461. /package/dist/src/bindings/{sheet_values.js → block_schema_random_entry.js} +0 -0
  462. /package/dist/src/bindings/{style_update.js → block_schema_type.js} +0 -0
@@ -1,2 +1,33 @@
1
- // DO NOT EDIT. CODE GENERATED BY gents.
2
- export {};
1
+ export class DeleteColsInBlockBuilder {
2
+ _sheetIdx;
3
+ _blockId;
4
+ _start;
5
+ _cnt;
6
+ sheetIdx(value) {
7
+ this._sheetIdx = value;
8
+ return this;
9
+ }
10
+ blockId(value) {
11
+ this._blockId = value;
12
+ return this;
13
+ }
14
+ start(value) {
15
+ this._start = value;
16
+ return this;
17
+ }
18
+ cnt(value) {
19
+ this._cnt = value;
20
+ return this;
21
+ }
22
+ build() {
23
+ if (this._sheetIdx === undefined)
24
+ throw new Error('missing sheetIdx');
25
+ if (this._blockId === undefined)
26
+ throw new Error('missing blockId');
27
+ if (this._start === undefined)
28
+ throw new Error('missing start');
29
+ if (this._cnt === undefined)
30
+ throw new Error('missing cnt');
31
+ return { sheetIdx: this._sheetIdx, blockId: this._blockId, start: this._start, cnt: this._cnt };
32
+ }
33
+ }
@@ -3,3 +3,16 @@ export interface DeleteRows {
3
3
  start: number;
4
4
  count: number;
5
5
  }
6
+ export declare class DeleteRowsBuilder {
7
+ private _sheetIdx;
8
+ private _start;
9
+ private _count;
10
+ sheetIdx(value: number): this;
11
+ start(value: number): this;
12
+ count(value: number): this;
13
+ build(): {
14
+ sheetIdx: number;
15
+ start: number;
16
+ count: number;
17
+ };
18
+ }
@@ -1,2 +1,26 @@
1
- // DO NOT EDIT. CODE GENERATED BY gents.
2
- export {};
1
+ export class DeleteRowsBuilder {
2
+ _sheetIdx;
3
+ _start;
4
+ _count;
5
+ sheetIdx(value) {
6
+ this._sheetIdx = value;
7
+ return this;
8
+ }
9
+ start(value) {
10
+ this._start = value;
11
+ return this;
12
+ }
13
+ count(value) {
14
+ this._count = value;
15
+ return this;
16
+ }
17
+ build() {
18
+ if (this._sheetIdx === undefined)
19
+ throw new Error('missing sheetIdx');
20
+ if (this._start === undefined)
21
+ throw new Error('missing start');
22
+ if (this._count === undefined)
23
+ throw new Error('missing count');
24
+ return { sheetIdx: this._sheetIdx, start: this._start, count: this._count };
25
+ }
26
+ }
@@ -4,3 +4,19 @@ export interface DeleteRowsInBlock {
4
4
  start: number;
5
5
  cnt: number;
6
6
  }
7
+ export declare class DeleteRowsInBlockBuilder {
8
+ private _sheetIdx;
9
+ private _blockId;
10
+ private _start;
11
+ private _cnt;
12
+ sheetIdx(value: number): this;
13
+ blockId(value: number): this;
14
+ start(value: number): this;
15
+ cnt(value: number): this;
16
+ build(): {
17
+ sheetIdx: number;
18
+ blockId: number;
19
+ start: number;
20
+ cnt: number;
21
+ };
22
+ }
@@ -1,2 +1,33 @@
1
- // DO NOT EDIT. CODE GENERATED BY gents.
2
- export {};
1
+ export class DeleteRowsInBlockBuilder {
2
+ _sheetIdx;
3
+ _blockId;
4
+ _start;
5
+ _cnt;
6
+ sheetIdx(value) {
7
+ this._sheetIdx = value;
8
+ return this;
9
+ }
10
+ blockId(value) {
11
+ this._blockId = value;
12
+ return this;
13
+ }
14
+ start(value) {
15
+ this._start = value;
16
+ return this;
17
+ }
18
+ cnt(value) {
19
+ this._cnt = value;
20
+ return this;
21
+ }
22
+ build() {
23
+ if (this._sheetIdx === undefined)
24
+ throw new Error('missing sheetIdx');
25
+ if (this._blockId === undefined)
26
+ throw new Error('missing blockId');
27
+ if (this._start === undefined)
28
+ throw new Error('missing start');
29
+ if (this._cnt === undefined)
30
+ throw new Error('missing cnt');
31
+ return { sheetIdx: this._sheetIdx, blockId: this._blockId, start: this._start, cnt: this._cnt };
32
+ }
33
+ }
@@ -1,3 +1,10 @@
1
1
  export interface DeleteSheet {
2
2
  idx: number;
3
3
  }
4
+ export declare class DeleteSheetBuilder {
5
+ private _idx;
6
+ idx(value: number): this;
7
+ build(): {
8
+ idx: number;
9
+ };
10
+ }
@@ -1,2 +1,12 @@
1
- // DO NOT EDIT. CODE GENERATED BY gents.
2
- export {};
1
+ export class DeleteSheetBuilder {
2
+ _idx;
3
+ idx(value) {
4
+ this._idx = value;
5
+ return this;
6
+ }
7
+ build() {
8
+ if (this._idx === undefined)
9
+ throw new Error('missing idx');
10
+ return { idx: this._idx };
11
+ }
12
+ }
@@ -1,4 +1,4 @@
1
- import { BlockInfo } from './block_info';
1
+ import { BlockDisplayInfo } from './block_display_info';
2
2
  import { CellInfo } from './cell_info';
3
3
  import { ColInfo } from './col_info';
4
4
  import { Comment } from './comment';
@@ -10,5 +10,5 @@ export interface DisplayWindow {
10
10
  cols: readonly ColInfo[];
11
11
  comments: readonly Comment[];
12
12
  mergeCells: readonly MergeCell[];
13
- blocks: readonly BlockInfo[];
13
+ blocks: readonly BlockDisplayInfo[];
14
14
  }
@@ -1,2 +1 @@
1
- // DO NOT EDIT. CODE GENERATED BY gents.
2
1
  export {};
@@ -1,7 +1,9 @@
1
1
  import { PayloadsAction } from './payloads_action';
2
2
  import { RecalcCell } from './recalc_cell';
3
3
  export type EditAction = 'undo' | 'redo' | {
4
- payloads: PayloadsAction;
4
+ type: 'payloads';
5
+ value: PayloadsAction;
5
6
  } | {
6
- recalc: readonly RecalcCell[];
7
+ type: 'recalc';
8
+ value: readonly RecalcCell[];
7
9
  };
@@ -1,88 +1,201 @@
1
+ import { BindFormSchema } from './bind_form_schema';
2
+ import { BindRandomSchema } from './bind_random_schema';
1
3
  import { BlockInput } from './block_input';
4
+ import { BlockLineNameFieldUpdate } from './block_line_name_field_update';
5
+ import { BlockLineStyleUpdate } from './block_line_style_update';
2
6
  import { BlockStyleUpdate } from './block_style_update';
3
7
  import { CellClear } from './cell_clear';
4
8
  import { CellFormatBrush } from './cell_format_brush';
5
9
  import { CellInput } from './cell_input';
6
10
  import { CellStyleUpdate } from './cell_style_update';
11
+ import { ConvertBlock } from './convert_block';
12
+ import { CreateAppendix } from './create_appendix';
7
13
  import { CreateBlock } from './create_block';
14
+ import { CreateDiyCell } from './create_diy_cell';
15
+ import { CreateDiyCellById } from './create_diy_cell_by_id';
8
16
  import { CreateSheet } from './create_sheet';
9
- import { DeleteColsInBlock } from './delete_cols_in_block';
10
17
  import { DeleteCols } from './delete_cols';
11
- import { DeleteRowsInBlock } from './delete_rows_in_block';
18
+ import { DeleteColsInBlock } from './delete_cols_in_block';
12
19
  import { DeleteRows } from './delete_rows';
20
+ import { DeleteRowsInBlock } from './delete_rows_in_block';
13
21
  import { DeleteSheet } from './delete_sheet';
14
22
  import { EphemeralCellInput } from './ephemeral_cell_input';
23
+ import { EphemeralCellRemove } from './ephemeral_cell_remove';
15
24
  import { EphemeralCellStyleUpdate } from './ephemeral_cell_style_update';
16
- import { InsertColsInBlock } from './insert_cols_in_block';
17
25
  import { InsertCols } from './insert_cols';
18
- import { InsertRowsInBlock } from './insert_rows_in_block';
26
+ import { InsertColsInBlock } from './insert_cols_in_block';
19
27
  import { InsertRows } from './insert_rows';
28
+ import { InsertRowsInBlock } from './insert_rows_in_block';
20
29
  import { LineFormatBrush } from './line_format_brush';
21
30
  import { LineStyleUpdate } from './line_style_update';
22
31
  import { MergeCells } from './merge_cells';
23
32
  import { MoveBlock } from './move_block';
33
+ import { MoveBlockLine } from './move_block_line';
34
+ import { RemoveAppendix } from './remove_appendix';
24
35
  import { RemoveBlock } from './remove_block';
36
+ import { RemoveDiyCell } from './remove_diy_cell';
37
+ import { RemoveDiyCellById } from './remove_diy_cell_by_id';
38
+ import { ReorderBlockLines } from './reorder_block_lines';
39
+ import { ReproduceCells } from './reproduce_cells';
40
+ import { ResizeBlock } from './resize_block';
41
+ import { RestoreCheckpoint } from './restore_checkpoint';
25
42
  import { SetColWidth } from './set_col_width';
26
43
  import { SetRowHeight } from './set_row_height';
44
+ import { SetSheetColor } from './set_sheet_color';
45
+ import { SetSheetVisible } from './set_sheet_visible';
27
46
  import { SetVisible } from './set_visible';
28
47
  import { SheetRename } from './sheet_rename';
29
48
  import { SplitMergedCells } from './split_merged_cells';
49
+ import { UpsertFieldFormulas } from './upsert_field_formulas';
50
+ import { UpsertFieldRenderInfo } from './upsert_field_render_info';
30
51
  export type EditPayload = {
31
- blockInput: BlockInput;
52
+ type: 'blockInput';
53
+ value: BlockInput;
54
+ } | {
55
+ type: 'moveBlock';
56
+ value: MoveBlock;
57
+ } | {
58
+ type: 'removeBlock';
59
+ value: RemoveBlock;
60
+ } | {
61
+ type: 'createBlock';
62
+ value: CreateBlock;
63
+ } | {
64
+ type: 'resizeBlock';
65
+ value: ResizeBlock;
66
+ } | {
67
+ type: 'convertBlock';
68
+ value: ConvertBlock;
69
+ } | {
70
+ type: 'bindFormSchema';
71
+ value: BindFormSchema;
72
+ } | {
73
+ type: 'upsertFieldFormulas';
74
+ value: UpsertFieldFormulas;
75
+ } | {
76
+ type: 'bindRandomSchema';
77
+ value: BindRandomSchema;
78
+ } | {
79
+ type: 'upsertFieldRenderInfo';
80
+ value: UpsertFieldRenderInfo;
81
+ } | {
82
+ type: 'moveBlockLine';
83
+ value: MoveBlockLine;
84
+ } | {
85
+ type: 'reorderBlockLines';
86
+ value: ReorderBlockLines;
87
+ } | {
88
+ type: 'createDiyCell';
89
+ value: CreateDiyCell;
90
+ } | {
91
+ type: 'createDiyCellById';
92
+ value: CreateDiyCellById;
93
+ } | {
94
+ type: 'removeDiyCell';
95
+ value: RemoveDiyCell;
96
+ } | {
97
+ type: 'removeDiyCellById';
98
+ value: RemoveDiyCellById;
99
+ } | {
100
+ type: 'createAppendix';
101
+ value: CreateAppendix;
102
+ } | {
103
+ type: 'removeAppendix';
104
+ value: RemoveAppendix;
105
+ } | {
106
+ type: 'cellStyleUpdate';
107
+ value: CellStyleUpdate;
108
+ } | {
109
+ type: 'ephemeralCellStyleUpdate';
110
+ value: EphemeralCellStyleUpdate;
111
+ } | {
112
+ type: 'lineStyleUpdate';
113
+ value: LineStyleUpdate;
114
+ } | {
115
+ type: 'blockStyleUpdate';
116
+ value: BlockStyleUpdate;
32
117
  } | {
33
- moveBlock: MoveBlock;
118
+ type: 'blockLineStyleUpdate';
119
+ value: BlockLineStyleUpdate;
34
120
  } | {
35
- removeBlock: RemoveBlock;
121
+ type: 'blockLineNameFieldUpdate';
122
+ value: BlockLineNameFieldUpdate;
36
123
  } | {
37
- createBlock: CreateBlock;
124
+ type: 'cellFormatBrush';
125
+ value: CellFormatBrush;
38
126
  } | {
39
- cellStyleUpdate: CellStyleUpdate;
127
+ type: 'lineFormatBrush';
128
+ value: LineFormatBrush;
40
129
  } | {
41
- ephemeralCellStyleUpdate: EphemeralCellStyleUpdate;
130
+ type: 'cellInput';
131
+ value: CellInput;
42
132
  } | {
43
- lineStyleUpdate: LineStyleUpdate;
133
+ type: 'ephemeralCellInput';
134
+ value: EphemeralCellInput;
44
135
  } | {
45
- blockStyleUpdate: BlockStyleUpdate;
136
+ type: 'ephemeralCellRemove';
137
+ value: EphemeralCellRemove;
46
138
  } | {
47
- cellFormatBrush: CellFormatBrush;
139
+ type: 'cellClear';
140
+ value: CellClear;
48
141
  } | {
49
- lineFormatBrush: LineFormatBrush;
142
+ type: 'setColWidth';
143
+ value: SetColWidth;
50
144
  } | {
51
- cellInput: CellInput;
145
+ type: 'setRowHeight';
146
+ value: SetRowHeight;
52
147
  } | {
53
- ephemeralCellInput: EphemeralCellInput;
148
+ type: 'setVisible';
149
+ value: SetVisible;
54
150
  } | {
55
- cellClear: CellClear;
151
+ type: 'mergeCells';
152
+ value: MergeCells;
56
153
  } | {
57
- setColWidth: SetColWidth;
154
+ type: 'splitMergedCells';
155
+ value: SplitMergedCells;
58
156
  } | {
59
- setRowHeight: SetRowHeight;
157
+ type: 'sheetRename';
158
+ value: SheetRename;
60
159
  } | {
61
- setVisible: SetVisible;
160
+ type: 'createSheet';
161
+ value: CreateSheet;
62
162
  } | {
63
- mergeCells: MergeCells;
163
+ type: 'deleteSheet';
164
+ value: DeleteSheet;
64
165
  } | {
65
- splitMergedCells: SplitMergedCells;
166
+ type: 'setSheetColor';
167
+ value: SetSheetColor;
66
168
  } | {
67
- sheetRename: SheetRename;
169
+ type: 'setSheetVisible';
170
+ value: SetSheetVisible;
68
171
  } | {
69
- createSheet: CreateSheet;
172
+ type: 'insertCols';
173
+ value: InsertCols;
70
174
  } | {
71
- deleteSheet: DeleteSheet;
175
+ type: 'deleteCols';
176
+ value: DeleteCols;
72
177
  } | {
73
- insertCols: InsertCols;
178
+ type: 'insertRows';
179
+ value: InsertRows;
74
180
  } | {
75
- deleteCols: DeleteCols;
181
+ type: 'deleteRows';
182
+ value: DeleteRows;
76
183
  } | {
77
- insertRows: InsertRows;
184
+ type: 'insertColsInBlock';
185
+ value: InsertColsInBlock;
78
186
  } | {
79
- deleteRows: DeleteRows;
187
+ type: 'deleteColsInBlock';
188
+ value: DeleteColsInBlock;
80
189
  } | {
81
- insertColsInBlock: InsertColsInBlock;
190
+ type: 'insertRowsInBlock';
191
+ value: InsertRowsInBlock;
82
192
  } | {
83
- deleteColsInBlock: DeleteColsInBlock;
193
+ type: 'deleteRowsInBlock';
194
+ value: DeleteRowsInBlock;
84
195
  } | {
85
- insertRowsInBlock: InsertRowsInBlock;
196
+ type: 'reproduceCells';
197
+ value: ReproduceCells;
86
198
  } | {
87
- deleteRowsInBlock: DeleteRowsInBlock;
199
+ type: 'restoreCheckpoint';
200
+ value: RestoreCheckpoint;
88
201
  };
@@ -3,3 +3,16 @@ export interface EphemeralCellInput {
3
3
  id: number;
4
4
  content: string;
5
5
  }
6
+ export declare class EphemeralCellInputBuilder {
7
+ private _sheetIdx;
8
+ private _id;
9
+ private _content;
10
+ sheetIdx(value: number): this;
11
+ id(value: number): this;
12
+ content(value: string): this;
13
+ build(): {
14
+ sheetIdx: number;
15
+ id: number;
16
+ content: string;
17
+ };
18
+ }
@@ -1,2 +1,26 @@
1
- // DO NOT EDIT. CODE GENERATED BY gents.
2
- export {};
1
+ export class EphemeralCellInputBuilder {
2
+ _sheetIdx;
3
+ _id;
4
+ _content;
5
+ sheetIdx(value) {
6
+ this._sheetIdx = value;
7
+ return this;
8
+ }
9
+ id(value) {
10
+ this._id = value;
11
+ return this;
12
+ }
13
+ content(value) {
14
+ this._content = value;
15
+ return this;
16
+ }
17
+ build() {
18
+ if (this._sheetIdx === undefined)
19
+ throw new Error('missing sheetIdx');
20
+ if (this._id === undefined)
21
+ throw new Error('missing id');
22
+ if (this._content === undefined)
23
+ throw new Error('missing content');
24
+ return { sheetIdx: this._sheetIdx, id: this._id, content: this._content };
25
+ }
26
+ }
@@ -0,0 +1,14 @@
1
+ export interface EphemeralCellRemove {
2
+ sheetIdx: number;
3
+ id: number;
4
+ }
5
+ export declare class EphemeralCellRemoveBuilder {
6
+ private _sheetIdx;
7
+ private _id;
8
+ sheetIdx(value: number): this;
9
+ id(value: number): this;
10
+ build(): {
11
+ sheetIdx: number;
12
+ id: number;
13
+ };
14
+ }
@@ -0,0 +1,19 @@
1
+ export class EphemeralCellRemoveBuilder {
2
+ _sheetIdx;
3
+ _id;
4
+ sheetIdx(value) {
5
+ this._sheetIdx = value;
6
+ return this;
7
+ }
8
+ id(value) {
9
+ this._id = value;
10
+ return this;
11
+ }
12
+ build() {
13
+ if (this._sheetIdx === undefined)
14
+ throw new Error('missing sheetIdx');
15
+ if (this._id === undefined)
16
+ throw new Error('missing id');
17
+ return { sheetIdx: this._sheetIdx, id: this._id };
18
+ }
19
+ }
@@ -4,3 +4,16 @@ export interface EphemeralCellStyleUpdate {
4
4
  id: number;
5
5
  ty: StyleUpdateType;
6
6
  }
7
+ export declare class EphemeralCellStyleUpdateBuilder {
8
+ private _sheetIdx;
9
+ private _id;
10
+ private _ty;
11
+ sheetIdx(value: number): this;
12
+ id(value: number): this;
13
+ ty(value: StyleUpdateType): this;
14
+ build(): {
15
+ sheetIdx: number;
16
+ id: number;
17
+ ty: StyleUpdateType;
18
+ };
19
+ }
@@ -1 +1,26 @@
1
- export {};
1
+ export class EphemeralCellStyleUpdateBuilder {
2
+ _sheetIdx;
3
+ _id;
4
+ _ty;
5
+ sheetIdx(value) {
6
+ this._sheetIdx = value;
7
+ return this;
8
+ }
9
+ id(value) {
10
+ this._id = value;
11
+ return this;
12
+ }
13
+ ty(value) {
14
+ this._ty = value;
15
+ return this;
16
+ }
17
+ build() {
18
+ if (this._sheetIdx === undefined)
19
+ throw new Error('missing sheetIdx');
20
+ if (this._id === undefined)
21
+ throw new Error('missing id');
22
+ if (this._ty === undefined)
23
+ throw new Error('missing ty');
24
+ return { sheetIdx: this._sheetIdx, id: this._id, ty: this._ty };
25
+ }
26
+ }
@@ -1,2 +1 @@
1
- // DO NOT EDIT. CODE GENERATED BY gents.
2
1
  export {};
@@ -0,0 +1,6 @@
1
+ import { Style } from './style';
2
+ export interface FieldRenderEntry {
3
+ renderId: string;
4
+ style?: Style;
5
+ diyRender: boolean;
6
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -1,7 +1,9 @@
1
1
  import { GradientFill } from './gradient_fill';
2
2
  import { PatternFill } from './pattern_fill';
3
3
  export type Fill = {
4
- patternFill: PatternFill;
4
+ type: 'patternFill';
5
+ value: PatternFill;
5
6
  } | {
6
- gradientFill: GradientFill;
7
+ type: 'gradientFill';
8
+ value: GradientFill;
7
9
  };
@@ -1,2 +1 @@
1
- // DO NOT EDIT. CODE GENERATED BY gents.
2
1
  export {};
@@ -1,2 +1 @@
1
- // DO NOT EDIT. CODE GENERATED BY gents.
2
1
  export {};
@@ -0,0 +1,3 @@
1
+ export interface CtFontSize {
2
+ val: number;
3
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,6 @@
1
+ import { CellRef } from './cell_ref';
2
+ import { TokenUnit } from './token_unit';
3
+ export interface FormulaDisplayInfo {
4
+ cellRefs: readonly CellRef[];
5
+ tokenUnits: readonly TokenUnit[];
6
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -1,2 +1 @@
1
- // DO NOT EDIT. CODE GENERATED BY gents.
2
1
  export {};