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.
- package/dist/src/api/cell.d.ts +3 -2
- package/dist/src/api/cell.js +20 -17
- package/dist/src/api/craft-calc.d.ts +83 -0
- package/dist/src/api/craft-calc.js +223 -0
- package/dist/src/api/index.d.ts +1 -0
- package/dist/src/api/index.js +1 -0
- package/dist/src/api/utils.js +4 -2
- package/dist/src/api/workbook.d.ts +105 -4
- package/dist/src/api/workbook.js +250 -105
- package/dist/src/api/worksheet.d.ts +39 -1
- package/dist/src/api/worksheet.js +161 -20
- package/dist/src/bindings/action_effect.d.ts +56 -0
- package/dist/src/bindings/action_effect.js +96 -1
- package/dist/src/bindings/alignment.d.ts +1 -0
- package/dist/src/bindings/app_data.d.ts +4 -0
- package/dist/src/bindings/appendix.d.ts +5 -0
- package/dist/src/bindings/appendix_with_cell.d.ts +8 -0
- package/dist/src/bindings/async_func_result.d.ts +10 -0
- package/dist/src/bindings/async_func_result.js +19 -1
- package/dist/src/bindings/bind_form_schema.d.ts +50 -0
- package/dist/src/bindings/bind_form_schema.js +82 -0
- package/dist/src/bindings/bind_random_schema.d.ts +23 -0
- package/dist/src/bindings/bind_random_schema.js +33 -0
- package/dist/src/bindings/block_cell_id.js +0 -1
- package/dist/src/bindings/block_cell_info.d.ts +5 -0
- package/dist/src/bindings/block_data_row.d.ts +4 -0
- package/dist/src/bindings/block_display_info.d.ts +7 -0
- package/dist/src/bindings/block_field.d.ts +5 -0
- package/dist/src/bindings/block_info.d.ts +8 -0
- package/dist/src/bindings/block_info.js +0 -1
- package/dist/src/bindings/block_input.d.ts +19 -0
- package/dist/src/bindings/block_input.js +40 -2
- package/dist/src/bindings/block_line_name_field_update.d.ts +34 -0
- package/dist/src/bindings/block_line_name_field_update.js +50 -0
- package/dist/src/bindings/block_line_style_update.d.ts +31 -0
- package/dist/src/bindings/block_line_style_update.js +47 -0
- package/dist/src/bindings/block_schema.d.ts +11 -0
- package/dist/src/bindings/block_schema_field_entry.d.ts +8 -0
- package/dist/src/bindings/block_schema_key_entry.d.ts +4 -0
- package/dist/src/bindings/block_schema_random_entry.d.ts +6 -0
- package/dist/src/bindings/block_schema_type.d.ts +1 -0
- package/dist/src/bindings/block_style_update.d.ts +19 -0
- package/dist/src/bindings/block_style_update.js +40 -1
- package/dist/src/bindings/cell_alignment.d.ts +6 -6
- package/dist/src/bindings/cell_clear.d.ts +13 -0
- package/dist/src/bindings/cell_clear.js +26 -2
- package/dist/src/bindings/cell_coordinate.d.ts +4 -0
- package/dist/src/bindings/cell_coordinate.js +1 -0
- package/dist/src/bindings/cell_coordinate_with_sheet.d.ts +5 -0
- package/dist/src/bindings/cell_coordinate_with_sheet.js +1 -0
- package/dist/src/bindings/cell_format_brush.d.ts +28 -0
- package/dist/src/bindings/cell_format_brush.js +61 -2
- package/dist/src/bindings/cell_id.d.ts +6 -3
- package/dist/src/bindings/cell_info.d.ts +1 -0
- package/dist/src/bindings/cell_input.d.ts +16 -0
- package/dist/src/bindings/cell_input.js +33 -2
- package/dist/src/bindings/cell_position.js +0 -1
- package/dist/src/bindings/cell_protection.js +0 -1
- package/dist/src/bindings/cell_ref.d.ts +9 -0
- package/dist/src/bindings/cell_ref.js +1 -0
- package/dist/src/bindings/cell_style_update.d.ts +16 -0
- package/dist/src/bindings/cell_style_update.js +33 -1
- package/dist/src/bindings/checkpoint_meta.d.ts +4 -0
- package/dist/src/bindings/checkpoint_meta.js +1 -0
- package/dist/src/bindings/col_info.js +0 -1
- package/dist/src/bindings/color.js +0 -1
- package/dist/src/bindings/comment.js +0 -1
- package/dist/src/bindings/convert_block.d.ts +30 -0
- package/dist/src/bindings/convert_block.js +47 -0
- package/dist/src/bindings/create_appendix.d.ts +38 -0
- package/dist/src/bindings/create_appendix.js +57 -0
- package/dist/src/bindings/create_block.d.ts +31 -0
- package/dist/src/bindings/create_block.js +57 -2
- package/dist/src/bindings/create_diy_cell.d.ts +18 -0
- package/dist/src/bindings/create_diy_cell.js +26 -0
- package/dist/src/bindings/create_diy_cell_by_id.d.ts +22 -0
- package/dist/src/bindings/create_diy_cell_by_id.js +33 -0
- package/dist/src/bindings/create_sheet.d.ts +10 -0
- package/dist/src/bindings/create_sheet.js +19 -2
- package/dist/src/bindings/ct_border.d.ts +13 -0
- package/dist/src/bindings/ct_border.js +1 -0
- package/dist/src/bindings/ct_border_pr.d.ts +6 -0
- package/dist/src/bindings/ct_border_pr.js +1 -0
- package/dist/src/bindings/ct_color.d.ts +7 -0
- package/dist/src/bindings/ct_color.js +1 -0
- package/dist/src/bindings/ct_fill.d.ts +9 -0
- package/dist/src/bindings/ct_fill.js +1 -0
- package/dist/src/bindings/ct_font.d.ts +25 -0
- package/dist/src/bindings/ct_font.js +1 -0
- package/dist/src/bindings/ct_gradient_fill.d.ts +11 -0
- package/dist/src/bindings/ct_gradient_fill.js +1 -0
- package/dist/src/bindings/ct_gradient_stop.d.ts +5 -0
- package/dist/src/bindings/ct_gradient_stop.js +1 -0
- package/dist/src/bindings/ct_pattern_fill.d.ts +7 -0
- package/dist/src/bindings/ct_pattern_fill.js +1 -0
- package/dist/src/bindings/delete_cols.d.ts +13 -0
- package/dist/src/bindings/delete_cols.js +26 -2
- package/dist/src/bindings/delete_cols_in_block.d.ts +16 -0
- package/dist/src/bindings/delete_cols_in_block.js +33 -2
- package/dist/src/bindings/delete_rows.d.ts +13 -0
- package/dist/src/bindings/delete_rows.js +26 -2
- package/dist/src/bindings/delete_rows_in_block.d.ts +16 -0
- package/dist/src/bindings/delete_rows_in_block.js +33 -2
- package/dist/src/bindings/delete_sheet.d.ts +7 -0
- package/dist/src/bindings/delete_sheet.js +12 -2
- package/dist/src/bindings/display_window.d.ts +2 -2
- package/dist/src/bindings/display_window_request.js +0 -1
- package/dist/src/bindings/edit_action.d.ts +4 -2
- package/dist/src/bindings/edit_payload.d.ts +146 -33
- package/dist/src/bindings/ephemeral_cell_input.d.ts +13 -0
- package/dist/src/bindings/ephemeral_cell_input.js +26 -2
- package/dist/src/bindings/ephemeral_cell_remove.d.ts +14 -0
- package/dist/src/bindings/ephemeral_cell_remove.js +19 -0
- package/dist/src/bindings/ephemeral_cell_style_update.d.ts +13 -0
- package/dist/src/bindings/ephemeral_cell_style_update.js +26 -1
- package/dist/src/bindings/error_message.js +0 -1
- package/dist/src/bindings/field_render_entry.d.ts +6 -0
- package/dist/src/bindings/field_render_entry.js +1 -0
- package/dist/src/bindings/fill.d.ts +4 -2
- package/dist/src/bindings/font_family.js +0 -1
- package/dist/src/bindings/font_name.js +0 -1
- package/dist/src/bindings/font_size.d.ts +3 -0
- package/dist/src/bindings/font_size.js +1 -0
- package/dist/src/bindings/formula_display_info.d.ts +6 -0
- package/dist/src/bindings/formula_display_info.js +1 -0
- package/dist/src/bindings/horizontal_alignment.js +0 -1
- package/dist/src/bindings/index.d.ts +116 -0
- package/dist/src/bindings/index.js +116 -0
- package/dist/src/bindings/insert_cols.d.ts +13 -0
- package/dist/src/bindings/insert_cols.js +26 -2
- package/dist/src/bindings/insert_cols_in_block.d.ts +16 -0
- package/dist/src/bindings/insert_cols_in_block.js +33 -2
- package/dist/src/bindings/insert_rows.d.ts +13 -0
- package/dist/src/bindings/insert_rows.js +26 -2
- package/dist/src/bindings/insert_rows_in_block.d.ts +16 -0
- package/dist/src/bindings/insert_rows_in_block.js +33 -2
- package/dist/src/bindings/int_property.d.ts +3 -0
- package/dist/src/bindings/int_property.js +1 -0
- package/dist/src/bindings/line_format_brush.d.ts +25 -0
- package/dist/src/bindings/line_format_brush.js +54 -2
- package/dist/src/bindings/line_style_update.d.ts +19 -0
- package/dist/src/bindings/line_style_update.js +40 -1
- package/dist/src/bindings/merge_cell.js +0 -1
- package/dist/src/bindings/merge_cells.d.ts +19 -0
- package/dist/src/bindings/merge_cells.js +40 -2
- package/dist/src/bindings/modify_policy.d.ts +1 -0
- package/dist/src/bindings/modify_policy.js +1 -0
- package/dist/src/bindings/move_block.d.ts +16 -0
- package/dist/src/bindings/move_block.js +33 -2
- package/dist/src/bindings/move_block_line.d.ts +26 -0
- package/dist/src/bindings/move_block_line.js +40 -0
- package/dist/src/bindings/msg_sequencer_action_invalid_message.js +0 -1
- package/dist/src/bindings/msg_sequencer_init_workbook.js +0 -1
- package/dist/src/bindings/msg_sequencer_message.d.ts +6 -3
- package/dist/src/bindings/msg_user_message.d.ts +4 -2
- package/dist/src/bindings/normal_cell_id.js +0 -1
- package/dist/src/bindings/random_schema_unit.d.ts +22 -0
- package/dist/src/bindings/random_schema_unit.js +33 -0
- package/dist/src/bindings/raw_style.d.ts +13 -0
- package/dist/src/bindings/raw_style.js +1 -0
- package/dist/src/bindings/remove_appendix.d.ts +26 -0
- package/dist/src/bindings/remove_appendix.js +36 -0
- package/dist/src/bindings/remove_block.d.ts +10 -0
- package/dist/src/bindings/remove_block.js +19 -2
- package/dist/src/bindings/remove_diy_cell.d.ts +18 -0
- package/dist/src/bindings/remove_diy_cell.js +26 -0
- package/dist/src/bindings/remove_diy_cell_by_id.d.ts +22 -0
- package/dist/src/bindings/remove_diy_cell_by_id.js +33 -0
- package/dist/src/bindings/reorder_block_lines.d.ts +6 -0
- package/dist/src/bindings/reorder_block_lines.js +1 -0
- package/dist/src/bindings/reproduce_cells.d.ts +23 -0
- package/dist/src/bindings/reproduce_cells.js +33 -0
- package/dist/src/bindings/reproducible_cell.d.ts +10 -0
- package/dist/src/bindings/reproducible_cell.js +1 -0
- package/dist/src/bindings/resize_block.d.ts +22 -0
- package/dist/src/bindings/resize_block.js +29 -0
- package/dist/src/bindings/restore_checkpoint.d.ts +10 -0
- package/dist/src/bindings/restore_checkpoint.js +12 -0
- package/dist/src/bindings/row_info.js +0 -1
- package/dist/src/bindings/rpc_batch_get_cell_coordinate_with_sheet_by_id_params.d.ts +4 -0
- package/dist/src/bindings/rpc_batch_get_cell_coordinate_with_sheet_by_id_params.js +1 -0
- package/dist/src/bindings/rpc_batch_get_cell_info_by_id_params.d.ts +4 -0
- package/dist/src/bindings/rpc_batch_get_cell_info_by_id_params.js +1 -0
- package/dist/src/bindings/rpc_calc_condition_params.d.ts +4 -0
- package/dist/src/bindings/rpc_calc_condition_params.js +1 -0
- package/dist/src/bindings/rpc_check_formula_params.d.ts +3 -0
- package/dist/src/bindings/rpc_check_formula_params.js +1 -0
- package/dist/src/bindings/rpc_delete_checkpoint_params.d.ts +3 -0
- package/dist/src/bindings/rpc_delete_checkpoint_params.js +1 -0
- package/dist/src/bindings/rpc_direction.d.ts +1 -0
- package/dist/src/bindings/rpc_direction.js +1 -0
- package/dist/src/bindings/rpc_export_block_data_params.d.ts +5 -0
- package/dist/src/bindings/rpc_export_block_data_params.js +1 -0
- package/dist/src/bindings/rpc_get_all_blocks_params.d.ts +4 -0
- package/dist/src/bindings/rpc_get_all_blocks_params.js +1 -0
- package/dist/src/bindings/rpc_get_available_block_id_params.d.ts +3 -0
- package/dist/src/bindings/rpc_get_available_block_id_params.js +1 -0
- package/dist/src/bindings/rpc_get_block_col_id_params.d.ts +5 -0
- package/dist/src/bindings/rpc_get_block_col_id_params.js +1 -0
- package/dist/src/bindings/rpc_get_block_display_window_params.d.ts +4 -0
- package/dist/src/bindings/rpc_get_block_display_window_params.js +1 -0
- package/dist/src/bindings/rpc_get_block_info_params.d.ts +4 -0
- package/dist/src/bindings/rpc_get_block_info_params.js +1 -0
- package/dist/src/bindings/rpc_get_block_row_id_params.d.ts +5 -0
- package/dist/src/bindings/rpc_get_block_row_id_params.js +1 -0
- package/dist/src/bindings/rpc_get_block_values_params.d.ts +6 -0
- package/dist/src/bindings/rpc_get_block_values_params.js +1 -0
- package/dist/src/bindings/rpc_get_cell_id_by_block_ref_params.d.ts +5 -0
- package/dist/src/bindings/rpc_get_cell_id_by_block_ref_params.js +1 -0
- package/dist/src/bindings/rpc_get_cell_id_params.d.ts +5 -0
- package/dist/src/bindings/rpc_get_cell_id_params.js +1 -0
- package/dist/src/bindings/rpc_get_cell_infos_params.d.ts +7 -0
- package/dist/src/bindings/rpc_get_cell_infos_params.js +1 -0
- package/dist/src/bindings/rpc_get_cell_params.d.ts +5 -0
- package/dist/src/bindings/rpc_get_cell_params.js +1 -0
- package/dist/src/bindings/rpc_get_cell_position_params.d.ts +5 -0
- package/dist/src/bindings/rpc_get_cell_position_params.js +1 -0
- package/dist/src/bindings/rpc_get_cells_except_window_params.d.ts +11 -0
- package/dist/src/bindings/rpc_get_cells_except_window_params.js +1 -0
- package/dist/src/bindings/rpc_get_cells_params.d.ts +7 -0
- package/dist/src/bindings/rpc_get_cells_params.js +1 -0
- package/dist/src/bindings/rpc_get_col_width_params.d.ts +4 -0
- package/dist/src/bindings/rpc_get_col_width_params.js +1 -0
- package/dist/src/bindings/rpc_get_data_boundary_params.d.ts +7 -0
- package/dist/src/bindings/rpc_get_data_boundary_params.js +1 -0
- package/dist/src/bindings/rpc_get_display_units_of_formula_params.d.ts +3 -0
- package/dist/src/bindings/rpc_get_display_units_of_formula_params.js +1 -0
- package/dist/src/bindings/rpc_get_display_window_params.d.ts +7 -0
- package/dist/src/bindings/rpc_get_display_window_params.js +1 -0
- package/dist/src/bindings/rpc_get_display_window_with_start_point_params.d.ts +7 -0
- package/dist/src/bindings/rpc_get_display_window_with_start_point_params.js +1 -0
- package/dist/src/bindings/rpc_get_display_window_within_cell_params.d.ts +7 -0
- package/dist/src/bindings/rpc_get_display_window_within_cell_params.js +1 -0
- package/dist/src/bindings/rpc_get_diy_cell_id_with_block_id_params.d.ts +6 -0
- package/dist/src/bindings/rpc_get_diy_cell_id_with_block_id_params.js +1 -0
- package/dist/src/bindings/rpc_get_merged_cells_params.d.ts +7 -0
- package/dist/src/bindings/rpc_get_merged_cells_params.js +1 -0
- package/dist/src/bindings/rpc_get_next_visible_cell_params.d.ts +7 -0
- package/dist/src/bindings/rpc_get_next_visible_cell_params.js +1 -0
- package/dist/src/bindings/rpc_get_reproducible_cell_params.d.ts +5 -0
- package/dist/src/bindings/rpc_get_reproducible_cell_params.js +1 -0
- package/dist/src/bindings/rpc_get_reproducible_cells_params.d.ts +5 -0
- package/dist/src/bindings/rpc_get_reproducible_cells_params.js +1 -0
- package/dist/src/bindings/rpc_get_row_height_params.d.ts +4 -0
- package/dist/src/bindings/rpc_get_row_height_params.js +1 -0
- package/dist/src/bindings/rpc_get_row_info_params.d.ts +4 -0
- package/dist/src/bindings/rpc_get_row_info_params.js +1 -0
- package/dist/src/bindings/rpc_get_shadow_cell_id_params.d.ts +7 -0
- package/dist/src/bindings/rpc_get_shadow_cell_id_params.js +1 -0
- package/dist/src/bindings/rpc_get_shadow_cell_ids_params.d.ts +7 -0
- package/dist/src/bindings/rpc_get_shadow_cell_ids_params.js +1 -0
- package/dist/src/bindings/rpc_get_shadow_info_by_id_params.d.ts +3 -0
- package/dist/src/bindings/rpc_get_shadow_info_by_id_params.js +1 -0
- package/dist/src/bindings/rpc_get_sheet_dimension_params.d.ts +3 -0
- package/dist/src/bindings/rpc_get_sheet_dimension_params.js +1 -0
- package/dist/src/bindings/rpc_get_sheet_id_params.d.ts +3 -0
- package/dist/src/bindings/rpc_get_sheet_id_params.js +1 -0
- package/dist/src/bindings/rpc_get_sheet_idx_params.d.ts +3 -0
- package/dist/src/bindings/rpc_get_sheet_idx_params.js +1 -0
- package/dist/src/bindings/rpc_get_sheet_name_by_idx_params.d.ts +3 -0
- package/dist/src/bindings/rpc_get_sheet_name_by_idx_params.js +1 -0
- package/dist/src/bindings/rpc_handle_transaction_params.d.ts +4 -0
- package/dist/src/bindings/rpc_handle_transaction_params.js +1 -0
- package/dist/src/bindings/rpc_load_workbook_params.d.ts +4 -0
- package/dist/src/bindings/rpc_load_workbook_params.js +1 -0
- package/dist/src/bindings/rpc_lookup_appendix_upward_params.d.ts +8 -0
- package/dist/src/bindings/rpc_lookup_appendix_upward_params.js +1 -0
- package/dist/src/bindings/rpc_predict_fill_params.d.ts +11 -0
- package/dist/src/bindings/rpc_predict_fill_params.js +1 -0
- package/dist/src/bindings/rpc_save_checkpoint_params.d.ts +4 -0
- package/dist/src/bindings/rpc_save_checkpoint_params.js +1 -0
- package/dist/src/bindings/rpc_save_params.d.ts +3 -0
- package/dist/src/bindings/rpc_save_params.js +1 -0
- package/dist/src/bindings/rpc_toggle_status_params.d.ts +3 -0
- package/dist/src/bindings/rpc_toggle_status_params.js +1 -0
- package/dist/src/bindings/rpc_transaction.d.ts +6 -0
- package/dist/src/bindings/rpc_transaction.js +1 -0
- package/dist/src/bindings/rpc_workbook_methods.d.ts +134 -0
- package/dist/src/bindings/rpc_workbook_methods.js +1 -0
- package/dist/src/bindings/save_file_result.d.ts +4 -0
- package/dist/src/bindings/save_file_result.js +1 -0
- package/dist/src/bindings/set_col_width.d.ts +13 -0
- package/dist/src/bindings/set_col_width.js +26 -2
- package/dist/src/bindings/set_row_height.d.ts +13 -0
- package/dist/src/bindings/set_row_height.js +26 -2
- package/dist/src/bindings/set_sheet_color.d.ts +14 -0
- package/dist/src/bindings/set_sheet_color.js +19 -0
- package/dist/src/bindings/set_sheet_visible.d.ts +14 -0
- package/dist/src/bindings/set_sheet_visible.js +19 -0
- package/dist/src/bindings/set_visible.d.ts +16 -0
- package/dist/src/bindings/set_visible.js +33 -2
- package/dist/src/bindings/shadow_cell_info.d.ts +7 -0
- package/dist/src/bindings/shadow_cell_info.js +1 -0
- package/dist/src/bindings/shadow_kind.d.ts +1 -0
- package/dist/src/bindings/shadow_kind.js +1 -0
- package/dist/src/bindings/sheet_cell_id.d.ts +15 -0
- package/dist/src/bindings/sheet_cell_id.js +19 -0
- package/dist/src/bindings/sheet_col_id.d.ts +14 -0
- package/dist/src/bindings/sheet_col_id.js +19 -0
- package/dist/src/bindings/sheet_coordinate.d.ts +4 -0
- package/dist/src/bindings/sheet_coordinate.js +1 -0
- package/dist/src/bindings/sheet_dimension.js +0 -1
- package/dist/src/bindings/sheet_info.js +0 -1
- package/dist/src/bindings/sheet_rename.d.ts +13 -0
- package/dist/src/bindings/sheet_rename.js +22 -2
- package/dist/src/bindings/sheet_row_id.d.ts +14 -0
- package/dist/src/bindings/sheet_row_id.js +19 -0
- package/dist/src/bindings/split_merged_cells.d.ts +13 -0
- package/dist/src/bindings/split_merged_cells.js +26 -2
- package/dist/src/bindings/st_border_style.js +0 -1
- package/dist/src/bindings/st_font_scheme.js +0 -1
- package/dist/src/bindings/st_gradient_type.js +0 -1
- package/dist/src/bindings/st_horizontal_alignment.d.ts +1 -1
- package/dist/src/bindings/st_horizontal_alignment.js +0 -1
- package/dist/src/bindings/st_pattern_type.js +0 -1
- package/dist/src/bindings/st_underline_values.js +0 -1
- package/dist/src/bindings/st_vertical_align_run.js +0 -1
- package/dist/src/bindings/st_vertical_alignment.d.ts +1 -1
- package/dist/src/bindings/st_vertical_alignment.js +0 -1
- package/dist/src/bindings/status_code.d.ts +4 -2
- package/dist/src/bindings/style_update_type.d.ts +77 -0
- package/dist/src/bindings/style_update_type.js +125 -1
- package/dist/src/bindings/task.js +0 -1
- package/dist/src/bindings/temp_cell_change.d.ts +8 -0
- package/dist/src/bindings/temp_cell_change.js +1 -0
- package/dist/src/bindings/temp_status_diff.d.ts +4 -0
- package/dist/src/bindings/temp_status_diff.js +1 -0
- package/dist/src/bindings/token_type.d.ts +1 -0
- package/dist/src/bindings/token_type.js +1 -0
- package/dist/src/bindings/token_unit.d.ts +6 -0
- package/dist/src/bindings/token_unit.js +1 -0
- package/dist/src/bindings/upsert_field_formulas.d.ts +26 -0
- package/dist/src/bindings/upsert_field_formulas.js +40 -0
- package/dist/src/bindings/upsert_field_render_info.d.ts +19 -0
- package/dist/src/bindings/upsert_field_render_info.js +26 -0
- package/dist/src/bindings/value.d.ts +8 -4
- package/dist/src/bindings/value.js +0 -1
- package/dist/src/bindings/vertical_alignment.js +0 -1
- package/dist/src/bindings/workbook_file.js +0 -1
- package/dist/src/bindings/workbook_update_type.js +0 -1
- package/dist/src/client.d.ts +18 -75
- package/dist/src/index.d.ts +4 -2
- package/dist/src/index.js +4 -1
- package/dist/src/layout.d.ts +7 -0
- package/dist/src/layout.js +1 -0
- package/dist/src/payloads/index.d.ts +1 -65
- package/dist/src/payloads/index.js +1 -32
- package/dist/src/payloads/set_block_line_name_field.d.ts +34 -0
- package/dist/src/payloads/set_block_line_name_field.js +62 -0
- package/dist/src/payloads/set_block_line_num_fmt.d.ts +23 -0
- package/dist/src/payloads/set_block_line_num_fmt.js +54 -0
- package/dist/src/payloads/set_cell_alignment.d.ts +0 -1
- package/dist/src/payloads/set_cell_alignment.js +0 -1
- package/dist/src/payloads/set_cell_border.d.ts +0 -1
- package/dist/src/payloads/set_cell_border.js +0 -1
- package/dist/src/payloads/set_cell_font.d.ts +0 -1
- package/dist/src/payloads/set_cell_font.js +0 -1
- package/dist/src/payloads/{cell_clear.d.ts → set_cell_num_fmt.d.ts} +6 -4
- package/dist/src/payloads/{cell_input.js → set_cell_num_fmt.js} +7 -8
- package/dist/src/payloads/set_cell_pattern_fill.d.ts +0 -1
- package/dist/src/payloads/set_cell_pattern_fill.js +0 -1
- package/dist/src/payloads/{split_merged_cells.d.ts → set_cell_wrap_text.d.ts} +6 -4
- package/dist/src/payloads/{cell_clear.js → set_cell_wrap_text.js} +9 -2
- package/dist/src/payloads/set_field_num_fmt.d.ts +14 -0
- package/dist/src/payloads/set_field_num_fmt.js +30 -0
- package/dist/src/payloads/set_line_alignment.d.ts +0 -1
- package/dist/src/payloads/set_line_alignment.js +0 -1
- package/dist/src/payloads/set_line_border.d.ts +0 -1
- package/dist/src/payloads/set_line_border.js +0 -1
- package/dist/src/payloads/set_line_font.d.ts +0 -1
- package/dist/src/payloads/set_line_font.js +0 -1
- package/dist/src/payloads/set_line_num_fmt.d.ts +20 -0
- package/dist/src/payloads/set_line_num_fmt.js +46 -0
- package/dist/src/payloads/set_line_pattern_fill.d.ts +0 -1
- package/dist/src/payloads/set_line_pattern_fill.js +0 -1
- package/dist/src/payloads/set_line_wrap_text.d.ts +20 -0
- package/dist/src/payloads/set_line_wrap_text.js +46 -0
- package/dist/src/pure.d.ts +9 -0
- package/dist/src/pure.js +20 -0
- package/dist/src/types.d.ts +31 -0
- package/dist/src/types.js +21 -0
- package/dist/src/utils.d.ts +1 -0
- package/dist/src/utils.js +22 -0
- package/package.json +3 -2
- package/dist/src/bindings/cell_formula_value.d.ts +0 -7
- package/dist/src/bindings/cell_style.d.ts +0 -6
- package/dist/src/bindings/display_patch.d.ts +0 -25
- package/dist/src/bindings/display_request.d.ts +0 -4
- package/dist/src/bindings/display_request.js +0 -2
- package/dist/src/bindings/display_response.d.ts +0 -5
- package/dist/src/bindings/sheet_blocks.d.ts +0 -5
- package/dist/src/bindings/sheet_col_info.d.ts +0 -6
- package/dist/src/bindings/sheet_comments.d.ts +0 -5
- package/dist/src/bindings/sheet_merge_cells.d.ts +0 -5
- package/dist/src/bindings/sheet_names.d.ts +0 -3
- package/dist/src/bindings/sheet_names.js +0 -2
- package/dist/src/bindings/sheet_row_info.d.ts +0 -6
- package/dist/src/bindings/sheet_styles.d.ts +0 -5
- package/dist/src/bindings/sheet_values.d.ts +0 -5
- package/dist/src/bindings/style_update.d.ts +0 -7
- package/dist/src/payloads/block_input.d.ts +0 -21
- package/dist/src/payloads/block_input.js +0 -47
- package/dist/src/payloads/cell_format_brush.d.ts +0 -30
- package/dist/src/payloads/cell_format_brush.js +0 -71
- package/dist/src/payloads/cell_input.d.ts +0 -18
- package/dist/src/payloads/create_block.d.ts +0 -24
- package/dist/src/payloads/create_block.js +0 -61
- package/dist/src/payloads/delete_block_cols.d.ts +0 -18
- package/dist/src/payloads/delete_block_cols.js +0 -39
- package/dist/src/payloads/delete_block_rows.d.ts +0 -18
- package/dist/src/payloads/delete_block_rows.js +0 -39
- package/dist/src/payloads/delete_cols.d.ts +0 -15
- package/dist/src/payloads/delete_cols.js +0 -31
- package/dist/src/payloads/delete_rows.d.ts +0 -15
- package/dist/src/payloads/delete_rows.js +0 -31
- package/dist/src/payloads/delete_sheet.d.ts +0 -9
- package/dist/src/payloads/delete_sheet.js +0 -15
- package/dist/src/payloads/insert_block_cols.d.ts +0 -18
- package/dist/src/payloads/insert_block_cols.js +0 -39
- package/dist/src/payloads/insert_block_rows.d.ts +0 -18
- package/dist/src/payloads/insert_block_rows.js +0 -39
- package/dist/src/payloads/insert_cols.d.ts +0 -15
- package/dist/src/payloads/insert_cols.js +0 -31
- package/dist/src/payloads/insert_rows.d.ts +0 -15
- package/dist/src/payloads/insert_rows.js +0 -31
- package/dist/src/payloads/insert_sheet.d.ts +0 -12
- package/dist/src/payloads/insert_sheet.js +0 -23
- package/dist/src/payloads/line_format_brush.d.ts +0 -27
- package/dist/src/payloads/line_format_brush.js +0 -63
- package/dist/src/payloads/merge_cells.d.ts +0 -21
- package/dist/src/payloads/merge_cells.js +0 -47
- package/dist/src/payloads/move_block.d.ts +0 -18
- package/dist/src/payloads/move_block.js +0 -39
- package/dist/src/payloads/set_border.d.ts +0 -49
- package/dist/src/payloads/set_border.js +0 -97
- package/dist/src/payloads/set_col_visible.d.ts +0 -15
- package/dist/src/payloads/set_col_visible.js +0 -31
- package/dist/src/payloads/set_col_width.d.ts +0 -15
- package/dist/src/payloads/set_col_width.js +0 -31
- package/dist/src/payloads/set_font.d.ts +0 -46
- package/dist/src/payloads/set_font.js +0 -91
- package/dist/src/payloads/set_row_height.d.ts +0 -15
- package/dist/src/payloads/set_row_height.js +0 -31
- package/dist/src/payloads/set_row_visible.d.ts +0 -15
- package/dist/src/payloads/set_row_visible.js +0 -31
- package/dist/src/payloads/sheet_rename.d.ts +0 -15
- package/dist/src/payloads/sheet_rename.js +0 -29
- package/dist/src/payloads/split_merged_cells.js +0 -31
- package/dist/src/transactions.d.ts +0 -13
- package/dist/src/transactions.js +0 -23
- /package/dist/src/bindings/{cell_formula_value.js → app_data.js} +0 -0
- /package/dist/src/bindings/{cell_style.js → appendix.js} +0 -0
- /package/dist/src/bindings/{display_patch.js → appendix_with_cell.js} +0 -0
- /package/dist/src/bindings/{display_response.js → block_cell_info.js} +0 -0
- /package/dist/src/bindings/{sheet_blocks.js → block_data_row.js} +0 -0
- /package/dist/src/bindings/{sheet_col_info.js → block_display_info.js} +0 -0
- /package/dist/src/bindings/{sheet_comments.js → block_field.js} +0 -0
- /package/dist/src/bindings/{sheet_merge_cells.js → block_schema.js} +0 -0
- /package/dist/src/bindings/{sheet_row_info.js → block_schema_field_entry.js} +0 -0
- /package/dist/src/bindings/{sheet_styles.js → block_schema_key_entry.js} +0 -0
- /package/dist/src/bindings/{sheet_values.js → block_schema_random_entry.js} +0 -0
- /package/dist/src/bindings/{style_update.js → block_schema_type.js} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import { ActionEffect } from './action_effect';
|
|
2
|
+
import { AppData } from './app_data';
|
|
3
|
+
import { AppendixWithCell } from './appendix_with_cell';
|
|
4
|
+
import { BatchGetCellCoordinateWithSheetByIdParams } from './rpc_batch_get_cell_coordinate_with_sheet_by_id_params';
|
|
5
|
+
import { BatchGetCellInfoByIdParams } from './rpc_batch_get_cell_info_by_id_params';
|
|
6
|
+
import { BlockDataRow } from './block_data_row';
|
|
7
|
+
import { BlockField } from './block_field';
|
|
8
|
+
import { BlockInfo } from './block_info';
|
|
9
|
+
import { CalcConditionParams } from './rpc_calc_condition_params';
|
|
10
|
+
import { CellCoordinateWithSheet } from './cell_coordinate_with_sheet';
|
|
11
|
+
import { CellInfo } from './cell_info';
|
|
12
|
+
import { CellInput } from './cell_input';
|
|
13
|
+
import { CellPosition } from './cell_position';
|
|
14
|
+
import { CheckFormulaParams } from './rpc_check_formula_params';
|
|
15
|
+
import { CheckpointMetaDto } from './checkpoint_meta';
|
|
16
|
+
import { DeleteCheckpointParams } from './rpc_delete_checkpoint_params';
|
|
17
|
+
import { DisplayWindow } from './display_window';
|
|
18
|
+
import { DisplayWindowWithStartPoint } from './display_window_with_start_point';
|
|
19
|
+
import { ErrorMessage } from './error_message';
|
|
20
|
+
import { ExportBlockDataParams } from './rpc_export_block_data_params';
|
|
21
|
+
import { FormulaDisplayInfo } from './formula_display_info';
|
|
22
|
+
import { GetAllBlocksParams } from './rpc_get_all_blocks_params';
|
|
23
|
+
import { GetAvailableBlockIdParams } from './rpc_get_available_block_id_params';
|
|
24
|
+
import { GetBlockColIdParams } from './rpc_get_block_col_id_params';
|
|
25
|
+
import { GetBlockDisplayWindowParams } from './rpc_get_block_display_window_params';
|
|
26
|
+
import { GetBlockInfoParams } from './rpc_get_block_info_params';
|
|
27
|
+
import { GetBlockRowIdParams } from './rpc_get_block_row_id_params';
|
|
28
|
+
import { GetBlockValuesParams } from './rpc_get_block_values_params';
|
|
29
|
+
import { GetCellIdByBlockRefParams } from './rpc_get_cell_id_by_block_ref_params';
|
|
30
|
+
import { GetCellIdParams } from './rpc_get_cell_id_params';
|
|
31
|
+
import { GetCellInfosParams } from './rpc_get_cell_infos_params';
|
|
32
|
+
import { GetCellParams } from './rpc_get_cell_params';
|
|
33
|
+
import { GetCellPositionParams } from './rpc_get_cell_position_params';
|
|
34
|
+
import { GetCellsExceptWindowParams } from './rpc_get_cells_except_window_params';
|
|
35
|
+
import { GetCellsParams } from './rpc_get_cells_params';
|
|
36
|
+
import { GetColWidthParams } from './rpc_get_col_width_params';
|
|
37
|
+
import { GetDataBoundaryParams } from './rpc_get_data_boundary_params';
|
|
38
|
+
import { GetDisplayUnitsOfFormulaParams } from './rpc_get_display_units_of_formula_params';
|
|
39
|
+
import { GetDisplayWindowParams } from './rpc_get_display_window_params';
|
|
40
|
+
import { GetDisplayWindowWithinCellParams } from './rpc_get_display_window_within_cell_params';
|
|
41
|
+
import { GetDiyCellIdWithBlockIdParams } from './rpc_get_diy_cell_id_with_block_id_params';
|
|
42
|
+
import { GetMergedCellsParams } from './rpc_get_merged_cells_params';
|
|
43
|
+
import { GetNextVisibleCellParams } from './rpc_get_next_visible_cell_params';
|
|
44
|
+
import { GetReproducibleCellParams } from './rpc_get_reproducible_cell_params';
|
|
45
|
+
import { GetReproducibleCellsParams } from './rpc_get_reproducible_cells_params';
|
|
46
|
+
import { GetRowHeightParams } from './rpc_get_row_height_params';
|
|
47
|
+
import { GetRowInfoParams } from './rpc_get_row_info_params';
|
|
48
|
+
import { GetShadowCellIdParams } from './rpc_get_shadow_cell_id_params';
|
|
49
|
+
import { GetShadowCellIdsParams } from './rpc_get_shadow_cell_ids_params';
|
|
50
|
+
import { GetShadowInfoByIdParams } from './rpc_get_shadow_info_by_id_params';
|
|
51
|
+
import { GetSheetDimensionParams } from './rpc_get_sheet_dimension_params';
|
|
52
|
+
import { GetSheetIdParams } from './rpc_get_sheet_id_params';
|
|
53
|
+
import { GetSheetIdxParams } from './rpc_get_sheet_idx_params';
|
|
54
|
+
import { GetSheetNameByIdxParams } from './rpc_get_sheet_name_by_idx_params';
|
|
55
|
+
import { HandleTransactionParams } from './rpc_handle_transaction_params';
|
|
56
|
+
import { LoadWorkbookParams } from './rpc_load_workbook_params';
|
|
57
|
+
import { LookupAppendixUpwardParams } from './rpc_lookup_appendix_upward_params';
|
|
58
|
+
import { MergeCell } from './merge_cell';
|
|
59
|
+
import { PredictFillParams } from './rpc_predict_fill_params';
|
|
60
|
+
import { ReproducibleCell } from './reproducible_cell';
|
|
61
|
+
import { RowInfo } from './row_info';
|
|
62
|
+
import { SaveCheckpointParams } from './rpc_save_checkpoint_params';
|
|
63
|
+
import { SaveFileResult } from './save_file_result';
|
|
64
|
+
import { SaveParams } from './rpc_save_params';
|
|
65
|
+
import { ShadowCellInfo } from './shadow_cell_info';
|
|
66
|
+
import { SheetCellId } from './sheet_cell_id';
|
|
67
|
+
import { SheetDimension } from './sheet_dimension';
|
|
68
|
+
import { SheetInfo } from './sheet_info';
|
|
69
|
+
import { Style } from './style';
|
|
70
|
+
import { TempStatusDiff } from './temp_status_diff';
|
|
71
|
+
import { ToggleStatusParams } from './rpc_toggle_status_params';
|
|
72
|
+
import { Value } from './value';
|
|
73
|
+
export interface WorkbookMethods {
|
|
74
|
+
getSheetDimension(params: GetSheetDimensionParams, bookId?: number): Promise<SheetDimension | ErrorMessage>;
|
|
75
|
+
getAllSheetInfo(bookId?: number): Promise<readonly SheetInfo[] | ErrorMessage>;
|
|
76
|
+
getSheetIdx(params: GetSheetIdxParams, bookId?: number): Promise<number | ErrorMessage>;
|
|
77
|
+
getSheetId(params: GetSheetIdParams, bookId?: number): Promise<number | ErrorMessage>;
|
|
78
|
+
getSheetNameByIdx(params: GetSheetNameByIdxParams, bookId?: number): Promise<string | ErrorMessage>;
|
|
79
|
+
getRowHeight(params: GetRowHeightParams, bookId?: number): Promise<number | ErrorMessage>;
|
|
80
|
+
getColWidth(params: GetColWidthParams, bookId?: number): Promise<number | ErrorMessage>;
|
|
81
|
+
getDisplayWindow(params: GetDisplayWindowParams, bookId?: number): Promise<DisplayWindow | ErrorMessage>;
|
|
82
|
+
getDisplayWindowWithinCell(params: GetDisplayWindowWithinCellParams, bookId?: number): Promise<DisplayWindowWithStartPoint | ErrorMessage>;
|
|
83
|
+
getCell(params: GetCellParams, bookId?: number): Promise<CellInfo | ErrorMessage>;
|
|
84
|
+
getCells(params: GetCellsParams, bookId?: number): Promise<readonly CellInfo[] | ErrorMessage>;
|
|
85
|
+
getCellInfos(params: GetCellInfosParams, bookId?: number): Promise<readonly CellInfo[] | ErrorMessage>;
|
|
86
|
+
getValue(params: GetCellParams, bookId?: number): Promise<Value | ErrorMessage>;
|
|
87
|
+
getFormula(params: GetCellParams, bookId?: number): Promise<string | ErrorMessage>;
|
|
88
|
+
getStyle(params: GetCellParams, bookId?: number): Promise<Style | ErrorMessage>;
|
|
89
|
+
getCellsExceptWindow(params: GetCellsExceptWindowParams, bookId?: number): Promise<readonly CellInfo[] | ErrorMessage>;
|
|
90
|
+
predictFill(params: PredictFillParams, bookId?: number): Promise<readonly CellInput[] | ErrorMessage>;
|
|
91
|
+
getCellPosition(params: GetCellPositionParams, bookId?: number): Promise<CellPosition | ErrorMessage>;
|
|
92
|
+
getCellId(params: GetCellIdParams, bookId?: number): Promise<SheetCellId | ErrorMessage>;
|
|
93
|
+
getReproducibleCell(params: GetReproducibleCellParams, bookId?: number): Promise<ReproducibleCell | ErrorMessage>;
|
|
94
|
+
getReproducibleCells(params: GetReproducibleCellsParams, bookId?: number): Promise<readonly ReproducibleCell[] | ErrorMessage>;
|
|
95
|
+
getNextVisibleCell(params: GetNextVisibleCellParams, bookId?: number): Promise<CellPosition | ErrorMessage>;
|
|
96
|
+
getDataBoundary(params: GetDataBoundaryParams, bookId?: number): Promise<CellPosition | ErrorMessage>;
|
|
97
|
+
batchGetCellInfoById(params: BatchGetCellInfoByIdParams, bookId?: number): Promise<readonly CellInfo[] | ErrorMessage>;
|
|
98
|
+
batchGetCellCoordinateWithSheetById(params: BatchGetCellCoordinateWithSheetByIdParams, bookId?: number): Promise<readonly CellCoordinateWithSheet[] | ErrorMessage>;
|
|
99
|
+
getBlockInfo(params: GetBlockInfoParams, bookId?: number): Promise<BlockInfo | ErrorMessage>;
|
|
100
|
+
getBlockDisplayWindow(params: GetBlockDisplayWindowParams, bookId?: number): Promise<DisplayWindow | ErrorMessage>;
|
|
101
|
+
getBlockRowId(params: GetBlockRowIdParams, bookId?: number): Promise<number | ErrorMessage>;
|
|
102
|
+
getBlockColId(params: GetBlockColIdParams, bookId?: number): Promise<number | ErrorMessage>;
|
|
103
|
+
getBlockValues(params: GetBlockValuesParams, bookId?: number): Promise<readonly string[] | ErrorMessage>;
|
|
104
|
+
getAvailableBlockId(params: GetAvailableBlockIdParams, bookId?: number): Promise<number | ErrorMessage>;
|
|
105
|
+
getAllBlockFields(bookId?: number): Promise<readonly BlockField[] | ErrorMessage>;
|
|
106
|
+
getAllBlocks(params: GetAllBlocksParams, bookId?: number): Promise<readonly BlockInfo[] | ErrorMessage>;
|
|
107
|
+
saveCheckpoint(params: SaveCheckpointParams, bookId?: number): Promise<number | ErrorMessage>;
|
|
108
|
+
deleteCheckpoint(params: DeleteCheckpointParams, bookId?: number): Promise<boolean | ErrorMessage>;
|
|
109
|
+
listCheckpoints(bookId?: number): Promise<readonly CheckpointMetaDto[] | ErrorMessage>;
|
|
110
|
+
getDiyCellIdWithBlockId(params: GetDiyCellIdWithBlockIdParams, bookId?: number): Promise<number | ErrorMessage>;
|
|
111
|
+
lookupAppendixUpward(params: LookupAppendixUpwardParams, bookId?: number): Promise<AppendixWithCell | ErrorMessage>;
|
|
112
|
+
getMergedCells(params: GetMergedCellsParams, bookId?: number): Promise<readonly MergeCell[] | ErrorMessage>;
|
|
113
|
+
getShadowCellId(params: GetShadowCellIdParams, bookId?: number): Promise<SheetCellId | ErrorMessage>;
|
|
114
|
+
getShadowCellIds(params: GetShadowCellIdsParams, bookId?: number): Promise<readonly SheetCellId[] | ErrorMessage>;
|
|
115
|
+
getShadowInfoById(params: GetShadowInfoByIdParams, bookId?: number): Promise<ShadowCellInfo | ErrorMessage>;
|
|
116
|
+
undo(bookId?: number): Promise<boolean | ErrorMessage>;
|
|
117
|
+
redo(bookId?: number): Promise<boolean | ErrorMessage>;
|
|
118
|
+
cleanHistory(bookId?: number): Promise<void | ErrorMessage>;
|
|
119
|
+
toggleStatus(params: ToggleStatusParams, bookId?: number): Promise<void | ErrorMessage>;
|
|
120
|
+
cleanupTempStatus(bookId?: number): Promise<void | ErrorMessage>;
|
|
121
|
+
commitTempStatus(bookId?: number): Promise<ActionEffect | ErrorMessage>;
|
|
122
|
+
loadWorkbook(params: LoadWorkbookParams, bookId?: number): Promise<void | ErrorMessage>;
|
|
123
|
+
save(params: SaveParams, bookId?: number): Promise<SaveFileResult | ErrorMessage>;
|
|
124
|
+
getAppData(bookId?: number): Promise<readonly AppData[] | ErrorMessage>;
|
|
125
|
+
getDisplayUnitsOfFormula(params: GetDisplayUnitsOfFormulaParams, bookId?: number): Promise<FormulaDisplayInfo | ErrorMessage>;
|
|
126
|
+
calcCondition(params: CalcConditionParams, bookId?: number): Promise<boolean | ErrorMessage>;
|
|
127
|
+
getCellIdByBlockRef(params: GetCellIdByBlockRefParams, bookId?: number): Promise<SheetCellId | ErrorMessage>;
|
|
128
|
+
exportBlockData(params: ExportBlockDataParams, bookId?: number): Promise<readonly BlockDataRow[] | ErrorMessage>;
|
|
129
|
+
getTempStatusChanges(bookId?: number): Promise<TempStatusDiff | ErrorMessage>;
|
|
130
|
+
checkFormula(params: CheckFormulaParams, bookId?: number): Promise<boolean | ErrorMessage>;
|
|
131
|
+
getRowInfo(params: GetRowInfoParams, bookId?: number): Promise<RowInfo | ErrorMessage>;
|
|
132
|
+
getAllBlockRefNames(): Promise<readonly string[]>;
|
|
133
|
+
handleTransaction(params: HandleTransactionParams, bookId?: number): Promise<ActionEffect | ErrorMessage>;
|
|
134
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -3,3 +3,16 @@ export interface SetColWidth {
|
|
|
3
3
|
col: number;
|
|
4
4
|
width: number;
|
|
5
5
|
}
|
|
6
|
+
export declare class SetColWidthBuilder {
|
|
7
|
+
private _sheetIdx;
|
|
8
|
+
private _col;
|
|
9
|
+
private _width;
|
|
10
|
+
sheetIdx(value: number): this;
|
|
11
|
+
col(value: number): this;
|
|
12
|
+
width(value: number): this;
|
|
13
|
+
build(): {
|
|
14
|
+
sheetIdx: number;
|
|
15
|
+
col: number;
|
|
16
|
+
width: number;
|
|
17
|
+
};
|
|
18
|
+
}
|
|
@@ -1,2 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export class SetColWidthBuilder {
|
|
2
|
+
_sheetIdx;
|
|
3
|
+
_col;
|
|
4
|
+
_width;
|
|
5
|
+
sheetIdx(value) {
|
|
6
|
+
this._sheetIdx = value;
|
|
7
|
+
return this;
|
|
8
|
+
}
|
|
9
|
+
col(value) {
|
|
10
|
+
this._col = value;
|
|
11
|
+
return this;
|
|
12
|
+
}
|
|
13
|
+
width(value) {
|
|
14
|
+
this._width = value;
|
|
15
|
+
return this;
|
|
16
|
+
}
|
|
17
|
+
build() {
|
|
18
|
+
if (this._sheetIdx === undefined)
|
|
19
|
+
throw new Error('missing sheetIdx');
|
|
20
|
+
if (this._col === undefined)
|
|
21
|
+
throw new Error('missing col');
|
|
22
|
+
if (this._width === undefined)
|
|
23
|
+
throw new Error('missing width');
|
|
24
|
+
return { sheetIdx: this._sheetIdx, col: this._col, width: this._width };
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -3,3 +3,16 @@ export interface SetRowHeight {
|
|
|
3
3
|
row: number;
|
|
4
4
|
height: number;
|
|
5
5
|
}
|
|
6
|
+
export declare class SetRowHeightBuilder {
|
|
7
|
+
private _sheetIdx;
|
|
8
|
+
private _row;
|
|
9
|
+
private _height;
|
|
10
|
+
sheetIdx(value: number): this;
|
|
11
|
+
row(value: number): this;
|
|
12
|
+
height(value: number): this;
|
|
13
|
+
build(): {
|
|
14
|
+
sheetIdx: number;
|
|
15
|
+
row: number;
|
|
16
|
+
height: number;
|
|
17
|
+
};
|
|
18
|
+
}
|
|
@@ -1,2 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export class SetRowHeightBuilder {
|
|
2
|
+
_sheetIdx;
|
|
3
|
+
_row;
|
|
4
|
+
_height;
|
|
5
|
+
sheetIdx(value) {
|
|
6
|
+
this._sheetIdx = value;
|
|
7
|
+
return this;
|
|
8
|
+
}
|
|
9
|
+
row(value) {
|
|
10
|
+
this._row = value;
|
|
11
|
+
return this;
|
|
12
|
+
}
|
|
13
|
+
height(value) {
|
|
14
|
+
this._height = value;
|
|
15
|
+
return this;
|
|
16
|
+
}
|
|
17
|
+
build() {
|
|
18
|
+
if (this._sheetIdx === undefined)
|
|
19
|
+
throw new Error('missing sheetIdx');
|
|
20
|
+
if (this._row === undefined)
|
|
21
|
+
throw new Error('missing row');
|
|
22
|
+
if (this._height === undefined)
|
|
23
|
+
throw new Error('missing height');
|
|
24
|
+
return { sheetIdx: this._sheetIdx, row: this._row, height: this._height };
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface SetSheetColor {
|
|
2
|
+
idx: number;
|
|
3
|
+
color: string;
|
|
4
|
+
}
|
|
5
|
+
export declare class SetSheetColorBuilder {
|
|
6
|
+
private _idx;
|
|
7
|
+
private _color;
|
|
8
|
+
idx(value: number): this;
|
|
9
|
+
color(value: string): this;
|
|
10
|
+
build(): {
|
|
11
|
+
idx: number;
|
|
12
|
+
color: string;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export class SetSheetColorBuilder {
|
|
2
|
+
_idx;
|
|
3
|
+
_color;
|
|
4
|
+
idx(value) {
|
|
5
|
+
this._idx = value;
|
|
6
|
+
return this;
|
|
7
|
+
}
|
|
8
|
+
color(value) {
|
|
9
|
+
this._color = value;
|
|
10
|
+
return this;
|
|
11
|
+
}
|
|
12
|
+
build() {
|
|
13
|
+
if (this._idx === undefined)
|
|
14
|
+
throw new Error('missing idx');
|
|
15
|
+
if (this._color === undefined)
|
|
16
|
+
throw new Error('missing color');
|
|
17
|
+
return { idx: this._idx, color: this._color };
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface SetSheetVisible {
|
|
2
|
+
idx: number;
|
|
3
|
+
visible: boolean;
|
|
4
|
+
}
|
|
5
|
+
export declare class SetSheetVisibleBuilder {
|
|
6
|
+
private _idx;
|
|
7
|
+
private _visible;
|
|
8
|
+
idx(value: number): this;
|
|
9
|
+
visible(value: boolean): this;
|
|
10
|
+
build(): {
|
|
11
|
+
idx: number;
|
|
12
|
+
visible: boolean;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export class SetSheetVisibleBuilder {
|
|
2
|
+
_idx;
|
|
3
|
+
_visible;
|
|
4
|
+
idx(value) {
|
|
5
|
+
this._idx = value;
|
|
6
|
+
return this;
|
|
7
|
+
}
|
|
8
|
+
visible(value) {
|
|
9
|
+
this._visible = value;
|
|
10
|
+
return this;
|
|
11
|
+
}
|
|
12
|
+
build() {
|
|
13
|
+
if (this._idx === undefined)
|
|
14
|
+
throw new Error('missing idx');
|
|
15
|
+
if (this._visible === undefined)
|
|
16
|
+
throw new Error('missing visible');
|
|
17
|
+
return { idx: this._idx, visible: this._visible };
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -4,3 +4,19 @@ export interface SetVisible {
|
|
|
4
4
|
start: number;
|
|
5
5
|
visible: boolean;
|
|
6
6
|
}
|
|
7
|
+
export declare class SetVisibleBuilder {
|
|
8
|
+
private _isRow;
|
|
9
|
+
private _sheetIdx;
|
|
10
|
+
private _start;
|
|
11
|
+
private _visible;
|
|
12
|
+
isRow(value: boolean): this;
|
|
13
|
+
sheetIdx(value: number): this;
|
|
14
|
+
start(value: number): this;
|
|
15
|
+
visible(value: boolean): this;
|
|
16
|
+
build(): {
|
|
17
|
+
isRow: boolean;
|
|
18
|
+
sheetIdx: number;
|
|
19
|
+
start: number;
|
|
20
|
+
visible: boolean;
|
|
21
|
+
};
|
|
22
|
+
}
|
|
@@ -1,2 +1,33 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export class SetVisibleBuilder {
|
|
2
|
+
_isRow;
|
|
3
|
+
_sheetIdx;
|
|
4
|
+
_start;
|
|
5
|
+
_visible;
|
|
6
|
+
isRow(value) {
|
|
7
|
+
this._isRow = value;
|
|
8
|
+
return this;
|
|
9
|
+
}
|
|
10
|
+
sheetIdx(value) {
|
|
11
|
+
this._sheetIdx = value;
|
|
12
|
+
return this;
|
|
13
|
+
}
|
|
14
|
+
start(value) {
|
|
15
|
+
this._start = value;
|
|
16
|
+
return this;
|
|
17
|
+
}
|
|
18
|
+
visible(value) {
|
|
19
|
+
this._visible = value;
|
|
20
|
+
return this;
|
|
21
|
+
}
|
|
22
|
+
build() {
|
|
23
|
+
if (this._isRow === undefined)
|
|
24
|
+
throw new Error('missing isRow');
|
|
25
|
+
if (this._sheetIdx === undefined)
|
|
26
|
+
throw new Error('missing sheetIdx');
|
|
27
|
+
if (this._start === undefined)
|
|
28
|
+
throw new Error('missing start');
|
|
29
|
+
if (this._visible === undefined)
|
|
30
|
+
throw new Error('missing visible');
|
|
31
|
+
return { isRow: this._isRow, sheetIdx: this._sheetIdx, start: this._start, visible: this._visible };
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type ShadowKind = 'validation' | 'userEditable';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { CellId } from './cell_id';
|
|
2
|
+
export interface SheetCellId {
|
|
3
|
+
sheetId: number;
|
|
4
|
+
cellId: CellId;
|
|
5
|
+
}
|
|
6
|
+
export declare class SheetCellIdBuilder {
|
|
7
|
+
private _sheetId;
|
|
8
|
+
private _cellId;
|
|
9
|
+
sheetId(value: number): this;
|
|
10
|
+
cellId(value: CellId): this;
|
|
11
|
+
build(): {
|
|
12
|
+
sheetId: number;
|
|
13
|
+
cellId: CellId;
|
|
14
|
+
};
|
|
15
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export class SheetCellIdBuilder {
|
|
2
|
+
_sheetId;
|
|
3
|
+
_cellId;
|
|
4
|
+
sheetId(value) {
|
|
5
|
+
this._sheetId = value;
|
|
6
|
+
return this;
|
|
7
|
+
}
|
|
8
|
+
cellId(value) {
|
|
9
|
+
this._cellId = value;
|
|
10
|
+
return this;
|
|
11
|
+
}
|
|
12
|
+
build() {
|
|
13
|
+
if (this._sheetId === undefined)
|
|
14
|
+
throw new Error('missing sheetId');
|
|
15
|
+
if (this._cellId === undefined)
|
|
16
|
+
throw new Error('missing cellId');
|
|
17
|
+
return { sheetId: this._sheetId, cellId: this._cellId };
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface SheetColId {
|
|
2
|
+
sheetId: number;
|
|
3
|
+
colId: number;
|
|
4
|
+
}
|
|
5
|
+
export declare class SheetColIdBuilder {
|
|
6
|
+
private _sheetId;
|
|
7
|
+
private _colId;
|
|
8
|
+
sheetId(value: number): this;
|
|
9
|
+
colId(value: number): this;
|
|
10
|
+
build(): {
|
|
11
|
+
sheetId: number;
|
|
12
|
+
colId: number;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export class SheetColIdBuilder {
|
|
2
|
+
_sheetId;
|
|
3
|
+
_colId;
|
|
4
|
+
sheetId(value) {
|
|
5
|
+
this._sheetId = value;
|
|
6
|
+
return this;
|
|
7
|
+
}
|
|
8
|
+
colId(value) {
|
|
9
|
+
this._colId = value;
|
|
10
|
+
return this;
|
|
11
|
+
}
|
|
12
|
+
build() {
|
|
13
|
+
if (this._sheetId === undefined)
|
|
14
|
+
throw new Error('missing sheetId');
|
|
15
|
+
if (this._colId === undefined)
|
|
16
|
+
throw new Error('missing colId');
|
|
17
|
+
return { sheetId: this._sheetId, colId: this._colId };
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -3,3 +3,16 @@ export interface SheetRename {
|
|
|
3
3
|
idx?: number;
|
|
4
4
|
newName: string;
|
|
5
5
|
}
|
|
6
|
+
export declare class SheetRenameBuilder {
|
|
7
|
+
private _oldName?;
|
|
8
|
+
private _idx?;
|
|
9
|
+
private _newName;
|
|
10
|
+
oldName(value: string): this;
|
|
11
|
+
idx(value: number): this;
|
|
12
|
+
newName(value: string): this;
|
|
13
|
+
build(): {
|
|
14
|
+
oldName: string | undefined;
|
|
15
|
+
idx: number | undefined;
|
|
16
|
+
newName: string;
|
|
17
|
+
};
|
|
18
|
+
}
|
|
@@ -1,2 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export class SheetRenameBuilder {
|
|
2
|
+
_oldName;
|
|
3
|
+
_idx;
|
|
4
|
+
_newName;
|
|
5
|
+
oldName(value) {
|
|
6
|
+
this._oldName = value;
|
|
7
|
+
return this;
|
|
8
|
+
}
|
|
9
|
+
idx(value) {
|
|
10
|
+
this._idx = value;
|
|
11
|
+
return this;
|
|
12
|
+
}
|
|
13
|
+
newName(value) {
|
|
14
|
+
this._newName = value;
|
|
15
|
+
return this;
|
|
16
|
+
}
|
|
17
|
+
build() {
|
|
18
|
+
if (this._newName === undefined)
|
|
19
|
+
throw new Error('missing newName');
|
|
20
|
+
return { oldName: this._oldName, idx: this._idx, newName: this._newName };
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface SheetRowId {
|
|
2
|
+
sheetId: number;
|
|
3
|
+
rowId: number;
|
|
4
|
+
}
|
|
5
|
+
export declare class SheetRowIdBuilder {
|
|
6
|
+
private _sheetId;
|
|
7
|
+
private _rowId;
|
|
8
|
+
sheetId(value: number): this;
|
|
9
|
+
rowId(value: number): this;
|
|
10
|
+
build(): {
|
|
11
|
+
sheetId: number;
|
|
12
|
+
rowId: number;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export class SheetRowIdBuilder {
|
|
2
|
+
_sheetId;
|
|
3
|
+
_rowId;
|
|
4
|
+
sheetId(value) {
|
|
5
|
+
this._sheetId = value;
|
|
6
|
+
return this;
|
|
7
|
+
}
|
|
8
|
+
rowId(value) {
|
|
9
|
+
this._rowId = value;
|
|
10
|
+
return this;
|
|
11
|
+
}
|
|
12
|
+
build() {
|
|
13
|
+
if (this._sheetId === undefined)
|
|
14
|
+
throw new Error('missing sheetId');
|
|
15
|
+
if (this._rowId === undefined)
|
|
16
|
+
throw new Error('missing rowId');
|
|
17
|
+
return { sheetId: this._sheetId, rowId: this._rowId };
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -3,3 +3,16 @@ export interface SplitMergedCells {
|
|
|
3
3
|
row: number;
|
|
4
4
|
col: number;
|
|
5
5
|
}
|
|
6
|
+
export declare class SplitMergedCellsBuilder {
|
|
7
|
+
private _sheetIdx;
|
|
8
|
+
private _row;
|
|
9
|
+
private _col;
|
|
10
|
+
sheetIdx(value: number): this;
|
|
11
|
+
row(value: number): this;
|
|
12
|
+
col(value: number): this;
|
|
13
|
+
build(): {
|
|
14
|
+
sheetIdx: number;
|
|
15
|
+
row: number;
|
|
16
|
+
col: number;
|
|
17
|
+
};
|
|
18
|
+
}
|
|
@@ -1,2 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export class SplitMergedCellsBuilder {
|
|
2
|
+
_sheetIdx;
|
|
3
|
+
_row;
|
|
4
|
+
_col;
|
|
5
|
+
sheetIdx(value) {
|
|
6
|
+
this._sheetIdx = value;
|
|
7
|
+
return this;
|
|
8
|
+
}
|
|
9
|
+
row(value) {
|
|
10
|
+
this._row = value;
|
|
11
|
+
return this;
|
|
12
|
+
}
|
|
13
|
+
col(value) {
|
|
14
|
+
this._col = value;
|
|
15
|
+
return this;
|
|
16
|
+
}
|
|
17
|
+
build() {
|
|
18
|
+
if (this._sheetIdx === undefined)
|
|
19
|
+
throw new Error('missing sheetIdx');
|
|
20
|
+
if (this._row === undefined)
|
|
21
|
+
throw new Error('missing row');
|
|
22
|
+
if (this._col === undefined)
|
|
23
|
+
throw new Error('missing col');
|
|
24
|
+
return { sheetIdx: this._sheetIdx, row: this._row, col: this._col };
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type StHorizontalAlignment = 'general' | 'left' | 'center' | 'right' | 'fill' | 'justify' | 'centerContinuous' | 'distributed';
|