logisheets 0.7.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/api/block_manager.d.ts +21 -0
- package/dist/src/api/block_manager.js +35 -0
- package/dist/src/api/calculator.d.ts +19 -0
- package/dist/src/api/calculator.js +46 -0
- package/dist/src/api/cell.d.ts +29 -0
- package/dist/src/api/cell.js +55 -0
- 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 +6 -0
- package/dist/src/api/index.js +4 -0
- package/dist/src/api/utils.d.ts +3 -1
- package/dist/src/api/utils.js +7 -0
- package/dist/src/api/workbook.d.ts +82 -10
- package/dist/src/api/workbook.js +285 -64
- package/dist/src/api/worksheet.d.ts +32 -11
- package/dist/src/api/worksheet.js +146 -19
- 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 +7 -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 +42 -0
- package/dist/src/bindings/bind_form_schema.js +68 -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.d.ts +1 -1
- 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_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 +5 -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 +18 -0
- package/dist/src/bindings/cell_clear.js +26 -0
- 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 +38 -0
- package/dist/src/bindings/cell_format_brush.js +61 -0
- package/dist/src/bindings/cell_id.d.ts +8 -3
- package/dist/src/bindings/cell_info.d.ts +2 -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.d.ts +4 -0
- package/dist/src/bindings/cell_position.js +1 -0
- 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 +23 -0
- package/dist/src/bindings/cell_style_update.js +33 -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 +14 -0
- package/dist/src/bindings/display_window.js +1 -0
- package/dist/src/bindings/display_window_request.d.ts +7 -0
- package/dist/src/bindings/display_window_request.js +1 -0
- package/dist/src/bindings/display_window_with_start_point.d.ts +6 -0
- package/dist/src/bindings/display_window_with_start_point.js +1 -0
- package/dist/src/bindings/edit_action.d.ts +5 -3
- package/dist/src/bindings/edit_payload.d.ts +160 -27
- package/dist/src/bindings/ephemeral_cell_input.d.ts +18 -0
- package/dist/src/bindings/ephemeral_cell_input.js +26 -0
- 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 +19 -0
- package/dist/src/bindings/ephemeral_cell_style_update.js +26 -0
- 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 +5 -3
- 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.d.ts +1 -0
- package/dist/src/bindings/horizontal_alignment.js +1 -0
- package/dist/src/bindings/index.d.ts +123 -14
- package/dist/src/bindings/index.js +123 -14
- 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 +34 -0
- package/dist/src/bindings/line_format_brush.js +54 -0
- package/dist/src/bindings/line_style_update.d.ts +27 -0
- package/dist/src/bindings/line_style_update.js +40 -0
- package/dist/src/bindings/merge_cell.d.ts +4 -4
- package/dist/src/bindings/merge_cell.js +0 -1
- package/dist/src/bindings/merge_cells.d.ts +26 -0
- package/dist/src/bindings/merge_cells.js +40 -0
- 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 +7 -4
- package/dist/src/bindings/msg_user_message.d.ts +5 -3
- package/dist/src/bindings/normal_cell_id.js +0 -1
- package/dist/src/bindings/payloads_action.d.ts +1 -0
- 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/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_direction.d.ts +1 -0
- package/dist/src/bindings/rpc_direction.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_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_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 +116 -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.d.ts +6 -0
- package/dist/src/bindings/sheet_dimension.js +1 -0
- package/dist/src/bindings/sheet_info.d.ts +6 -0
- package/dist/src/bindings/sheet_info.js +1 -0
- 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 +18 -0
- package/dist/src/bindings/split_merged_cells.js +26 -0
- package/dist/src/bindings/st_border_style.d.ts +1 -1
- package/dist/src/bindings/st_border_style.js +0 -1
- package/dist/src/bindings/st_font_scheme.d.ts +1 -1
- package/dist/src/bindings/st_font_scheme.js +0 -1
- package/dist/src/bindings/st_gradient_type.d.ts +1 -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.d.ts +1 -1
- package/dist/src/bindings/st_pattern_type.js +0 -1
- package/dist/src/bindings/st_underline_values.d.ts +1 -1
- package/dist/src/bindings/st_underline_values.js +0 -1
- package/dist/src/bindings/st_vertical_align_run.d.ts +1 -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 +6 -3
- package/dist/src/bindings/status_code.js +0 -1
- package/dist/src/bindings/style.d.ts +2 -2
- package/dist/src/bindings/style_update_type.d.ts +79 -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 +18 -0
- package/dist/src/bindings/upsert_field_formulas.js +26 -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 +9 -5
- package/dist/src/bindings/value.js +0 -1
- package/dist/src/bindings/vertical_alignment.d.ts +1 -0
- package/dist/src/bindings/vertical_alignment.js +1 -0
- package/dist/src/bindings/workbook_file.js +0 -1
- package/dist/src/bindings/workbook_update_type.d.ts +1 -0
- package/dist/src/bindings/workbook_update_type.js +1 -0
- package/dist/src/client.d.ts +25 -0
- package/dist/src/client.js +1 -0
- package/dist/src/index.d.ts +5 -2
- package/dist/src/index.js +5 -1
- package/dist/src/layout.d.ts +7 -0
- package/dist/src/layout.js +1 -0
- package/dist/src/payloads/index.d.ts +1 -43
- package/dist/src/payloads/index.js +1 -21
- 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 +18 -0
- package/dist/src/payloads/{set_col_width.js → set_cell_alignment.js} +15 -8
- package/dist/src/payloads/{set_border.d.ts → set_cell_border.d.ts} +3 -4
- package/dist/src/payloads/{set_border.js → set_cell_border.js} +1 -2
- package/dist/src/payloads/{set_font.d.ts → set_cell_font.d.ts} +3 -4
- package/dist/src/payloads/{set_font.js → set_cell_font.js} +1 -2
- package/dist/src/payloads/{cell_input.d.ts → set_cell_num_fmt.d.ts} +6 -7
- package/dist/src/payloads/{cell_input.js → set_cell_num_fmt.js} +7 -8
- package/dist/src/payloads/set_cell_pattern_fill.d.ts +24 -0
- package/dist/src/payloads/{block_input.js → set_cell_pattern_fill.js} +15 -14
- package/dist/src/payloads/set_cell_wrap_text.d.ts +17 -0
- package/dist/src/payloads/{set_col_visible.js → set_cell_wrap_text.js} +15 -8
- 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 +21 -0
- package/dist/src/payloads/set_line_alignment.js +46 -0
- package/dist/src/payloads/set_line_border.d.ts +48 -0
- package/dist/src/payloads/set_line_border.js +96 -0
- package/dist/src/payloads/set_line_font.d.ts +48 -0
- package/dist/src/payloads/set_line_font.js +98 -0
- 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 +27 -0
- package/dist/src/payloads/set_line_pattern_fill.js +56 -0
- 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/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 +4 -3
- 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/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/move_block.d.ts +0 -18
- package/dist/src/payloads/move_block.js +0 -39
- package/dist/src/payloads/set_col_visible.d.ts +0 -15
- package/dist/src/payloads/set_col_width.d.ts +0 -15
- 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/transactions.d.ts +0 -7
- package/dist/src/transactions.js +0 -12
- package/wasm/.gitignore +0 -1
- package/wasm/logisheets_wasm_server.d.ts +0 -255
- package/wasm/logisheets_wasm_server.js +0 -946
- package/wasm/logisheets_wasm_server_bg.wasm +0 -0
- package/wasm/logisheets_wasm_server_bg.wasm.d.ts +0 -40
- package/wasm/package.json +0 -14
- /package/dist/src/bindings/{cell_formula_value.js → alignment.js} +0 -0
- /package/dist/src/bindings/{cell_style.js → app_data.js} +0 -0
- /package/dist/src/bindings/{display_patch.js → appendix.js} +0 -0
- /package/dist/src/bindings/{display_response.js → appendix_with_cell.js} +0 -0
- /package/dist/src/bindings/{sheet_blocks.js → block_cell_info.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
|
@@ -4,3 +4,19 @@ export interface MoveBlock {
|
|
|
4
4
|
newMasterRow: number;
|
|
5
5
|
newMasterCol: number;
|
|
6
6
|
}
|
|
7
|
+
export declare class MoveBlockBuilder {
|
|
8
|
+
private _sheetIdx;
|
|
9
|
+
private _id;
|
|
10
|
+
private _newMasterRow;
|
|
11
|
+
private _newMasterCol;
|
|
12
|
+
sheetIdx(value: number): this;
|
|
13
|
+
id(value: number): this;
|
|
14
|
+
newMasterRow(value: number): this;
|
|
15
|
+
newMasterCol(value: number): this;
|
|
16
|
+
build(): {
|
|
17
|
+
sheetIdx: number;
|
|
18
|
+
id: number;
|
|
19
|
+
newMasterRow: number;
|
|
20
|
+
newMasterCol: number;
|
|
21
|
+
};
|
|
22
|
+
}
|
|
@@ -1,2 +1,33 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export class MoveBlockBuilder {
|
|
2
|
+
_sheetIdx;
|
|
3
|
+
_id;
|
|
4
|
+
_newMasterRow;
|
|
5
|
+
_newMasterCol;
|
|
6
|
+
sheetIdx(value) {
|
|
7
|
+
this._sheetIdx = value;
|
|
8
|
+
return this;
|
|
9
|
+
}
|
|
10
|
+
id(value) {
|
|
11
|
+
this._id = value;
|
|
12
|
+
return this;
|
|
13
|
+
}
|
|
14
|
+
newMasterRow(value) {
|
|
15
|
+
this._newMasterRow = value;
|
|
16
|
+
return this;
|
|
17
|
+
}
|
|
18
|
+
newMasterCol(value) {
|
|
19
|
+
this._newMasterCol = value;
|
|
20
|
+
return this;
|
|
21
|
+
}
|
|
22
|
+
build() {
|
|
23
|
+
if (this._sheetIdx === undefined)
|
|
24
|
+
throw new Error('missing sheetIdx');
|
|
25
|
+
if (this._id === undefined)
|
|
26
|
+
throw new Error('missing id');
|
|
27
|
+
if (this._newMasterRow === undefined)
|
|
28
|
+
throw new Error('missing newMasterRow');
|
|
29
|
+
if (this._newMasterCol === undefined)
|
|
30
|
+
throw new Error('missing newMasterCol');
|
|
31
|
+
return { sheetIdx: this._sheetIdx, id: this._id, newMasterRow: this._newMasterRow, newMasterCol: this._newMasterCol };
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export interface MoveBlockLine {
|
|
2
|
+
sheetIdx: number;
|
|
3
|
+
blockId: number;
|
|
4
|
+
from: number;
|
|
5
|
+
to: number;
|
|
6
|
+
isRow: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare class MoveBlockLineBuilder {
|
|
9
|
+
private _sheetIdx;
|
|
10
|
+
private _blockId;
|
|
11
|
+
private _from;
|
|
12
|
+
private _to;
|
|
13
|
+
private _isRow;
|
|
14
|
+
sheetIdx(value: number): this;
|
|
15
|
+
blockId(value: number): this;
|
|
16
|
+
from(value: number): this;
|
|
17
|
+
to(value: number): this;
|
|
18
|
+
isRow(value: boolean): this;
|
|
19
|
+
build(): {
|
|
20
|
+
sheetIdx: number;
|
|
21
|
+
blockId: number;
|
|
22
|
+
from: number;
|
|
23
|
+
to: number;
|
|
24
|
+
isRow: boolean;
|
|
25
|
+
};
|
|
26
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export class MoveBlockLineBuilder {
|
|
2
|
+
_sheetIdx;
|
|
3
|
+
_blockId;
|
|
4
|
+
_from;
|
|
5
|
+
_to;
|
|
6
|
+
_isRow;
|
|
7
|
+
sheetIdx(value) {
|
|
8
|
+
this._sheetIdx = value;
|
|
9
|
+
return this;
|
|
10
|
+
}
|
|
11
|
+
blockId(value) {
|
|
12
|
+
this._blockId = value;
|
|
13
|
+
return this;
|
|
14
|
+
}
|
|
15
|
+
from(value) {
|
|
16
|
+
this._from = value;
|
|
17
|
+
return this;
|
|
18
|
+
}
|
|
19
|
+
to(value) {
|
|
20
|
+
this._to = value;
|
|
21
|
+
return this;
|
|
22
|
+
}
|
|
23
|
+
isRow(value) {
|
|
24
|
+
this._isRow = value;
|
|
25
|
+
return this;
|
|
26
|
+
}
|
|
27
|
+
build() {
|
|
28
|
+
if (this._sheetIdx === undefined)
|
|
29
|
+
throw new Error('missing sheetIdx');
|
|
30
|
+
if (this._blockId === undefined)
|
|
31
|
+
throw new Error('missing blockId');
|
|
32
|
+
if (this._from === undefined)
|
|
33
|
+
throw new Error('missing from');
|
|
34
|
+
if (this._to === undefined)
|
|
35
|
+
throw new Error('missing to');
|
|
36
|
+
if (this._isRow === undefined)
|
|
37
|
+
throw new Error('missing isRow');
|
|
38
|
+
return { sheetIdx: this._sheetIdx, blockId: this._blockId, from: this._from, to: this._to, isRow: this._isRow };
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { SequencerActionInvalidMessage } from './msg_sequencer_action_invalid_message';
|
|
2
2
|
import { SequencerActionMessage } from './msg_sequencer_action_message';
|
|
3
3
|
import { SequencerInitWorkbook } from './msg_sequencer_init_workbook';
|
|
4
|
-
export
|
|
5
|
-
|
|
4
|
+
export type SequencerMessage = {
|
|
5
|
+
type: 'invalidAction';
|
|
6
|
+
value: SequencerActionInvalidMessage;
|
|
6
7
|
} | {
|
|
7
|
-
|
|
8
|
+
type: 'action';
|
|
9
|
+
value: SequencerActionMessage;
|
|
8
10
|
} | {
|
|
9
|
-
|
|
11
|
+
type: 'join';
|
|
12
|
+
value: SequencerInitWorkbook;
|
|
10
13
|
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export interface RandomSchemaUnit {
|
|
2
|
+
key: string;
|
|
3
|
+
renderId: string;
|
|
4
|
+
row: number;
|
|
5
|
+
col: number;
|
|
6
|
+
}
|
|
7
|
+
export declare class RandomSchemaUnitBuilder {
|
|
8
|
+
private _key;
|
|
9
|
+
private _renderId;
|
|
10
|
+
private _row;
|
|
11
|
+
private _col;
|
|
12
|
+
key(value: string): this;
|
|
13
|
+
renderId(value: string): this;
|
|
14
|
+
row(value: number): this;
|
|
15
|
+
col(value: number): this;
|
|
16
|
+
build(): {
|
|
17
|
+
key: string;
|
|
18
|
+
renderId: string;
|
|
19
|
+
row: number;
|
|
20
|
+
col: number;
|
|
21
|
+
};
|
|
22
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export class RandomSchemaUnitBuilder {
|
|
2
|
+
_key;
|
|
3
|
+
_renderId;
|
|
4
|
+
_row;
|
|
5
|
+
_col;
|
|
6
|
+
key(value) {
|
|
7
|
+
this._key = value;
|
|
8
|
+
return this;
|
|
9
|
+
}
|
|
10
|
+
renderId(value) {
|
|
11
|
+
this._renderId = value;
|
|
12
|
+
return this;
|
|
13
|
+
}
|
|
14
|
+
row(value) {
|
|
15
|
+
this._row = value;
|
|
16
|
+
return this;
|
|
17
|
+
}
|
|
18
|
+
col(value) {
|
|
19
|
+
this._col = value;
|
|
20
|
+
return this;
|
|
21
|
+
}
|
|
22
|
+
build() {
|
|
23
|
+
if (this._key === undefined)
|
|
24
|
+
throw new Error('missing key');
|
|
25
|
+
if (this._renderId === undefined)
|
|
26
|
+
throw new Error('missing renderId');
|
|
27
|
+
if (this._row === undefined)
|
|
28
|
+
throw new Error('missing row');
|
|
29
|
+
if (this._col === undefined)
|
|
30
|
+
throw new Error('missing col');
|
|
31
|
+
return { key: this._key, renderId: this._renderId, row: this._row, col: this._col };
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CtBorder } from './ct_border';
|
|
2
|
+
import { CtCellAlignment } from './cell_alignment';
|
|
3
|
+
import { CtCellProtection } from './cell_protection';
|
|
4
|
+
import { CtFill } from './ct_fill';
|
|
5
|
+
import { CtFont } from './ct_font';
|
|
6
|
+
export interface RawStyle {
|
|
7
|
+
font: CtFont;
|
|
8
|
+
fill: CtFill;
|
|
9
|
+
border: CtBorder;
|
|
10
|
+
alignment?: CtCellAlignment;
|
|
11
|
+
protection?: CtCellProtection;
|
|
12
|
+
formatter: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export interface RemoveAppendix {
|
|
2
|
+
sheetId?: number;
|
|
3
|
+
sheetIdx?: number;
|
|
4
|
+
blockId: number;
|
|
5
|
+
rowIdx: number;
|
|
6
|
+
colIdx: number;
|
|
7
|
+
}
|
|
8
|
+
export declare class RemoveAppendixBuilder {
|
|
9
|
+
private _sheetId?;
|
|
10
|
+
private _sheetIdx?;
|
|
11
|
+
private _blockId;
|
|
12
|
+
private _rowIdx;
|
|
13
|
+
private _colIdx;
|
|
14
|
+
sheetId(value: number): this;
|
|
15
|
+
sheetIdx(value: number): this;
|
|
16
|
+
blockId(value: number): this;
|
|
17
|
+
rowIdx(value: number): this;
|
|
18
|
+
colIdx(value: number): this;
|
|
19
|
+
build(): {
|
|
20
|
+
sheetId: number | undefined;
|
|
21
|
+
sheetIdx: number | undefined;
|
|
22
|
+
blockId: number;
|
|
23
|
+
rowIdx: number;
|
|
24
|
+
colIdx: number;
|
|
25
|
+
};
|
|
26
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export class RemoveAppendixBuilder {
|
|
2
|
+
_sheetId;
|
|
3
|
+
_sheetIdx;
|
|
4
|
+
_blockId;
|
|
5
|
+
_rowIdx;
|
|
6
|
+
_colIdx;
|
|
7
|
+
sheetId(value) {
|
|
8
|
+
this._sheetId = value;
|
|
9
|
+
return this;
|
|
10
|
+
}
|
|
11
|
+
sheetIdx(value) {
|
|
12
|
+
this._sheetIdx = value;
|
|
13
|
+
return this;
|
|
14
|
+
}
|
|
15
|
+
blockId(value) {
|
|
16
|
+
this._blockId = value;
|
|
17
|
+
return this;
|
|
18
|
+
}
|
|
19
|
+
rowIdx(value) {
|
|
20
|
+
this._rowIdx = value;
|
|
21
|
+
return this;
|
|
22
|
+
}
|
|
23
|
+
colIdx(value) {
|
|
24
|
+
this._colIdx = value;
|
|
25
|
+
return this;
|
|
26
|
+
}
|
|
27
|
+
build() {
|
|
28
|
+
if (this._blockId === undefined)
|
|
29
|
+
throw new Error('missing blockId');
|
|
30
|
+
if (this._rowIdx === undefined)
|
|
31
|
+
throw new Error('missing rowIdx');
|
|
32
|
+
if (this._colIdx === undefined)
|
|
33
|
+
throw new Error('missing colIdx');
|
|
34
|
+
return { sheetId: this._sheetId, sheetIdx: this._sheetIdx, blockId: this._blockId, rowIdx: this._rowIdx, colIdx: this._colIdx };
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -2,3 +2,13 @@ export interface RemoveBlock {
|
|
|
2
2
|
sheetIdx: number;
|
|
3
3
|
id: number;
|
|
4
4
|
}
|
|
5
|
+
export declare class RemoveBlockBuilder {
|
|
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
|
+
}
|
|
@@ -1,2 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export class RemoveBlockBuilder {
|
|
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
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface RemoveDiyCell {
|
|
2
|
+
sheetIdx: number;
|
|
3
|
+
row: number;
|
|
4
|
+
col: number;
|
|
5
|
+
}
|
|
6
|
+
export declare class RemoveDiyCellBuilder {
|
|
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
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export class RemoveDiyCellBuilder {
|
|
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
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export interface RemoveDiyCellById {
|
|
2
|
+
sheetId: number;
|
|
3
|
+
blockId: number;
|
|
4
|
+
rowIdx: number;
|
|
5
|
+
colIdx: number;
|
|
6
|
+
}
|
|
7
|
+
export declare class RemoveDiyCellByIdBuilder {
|
|
8
|
+
private _sheetId;
|
|
9
|
+
private _blockId;
|
|
10
|
+
private _rowIdx;
|
|
11
|
+
private _colIdx;
|
|
12
|
+
sheetId(value: number): this;
|
|
13
|
+
blockId(value: number): this;
|
|
14
|
+
rowIdx(value: number): this;
|
|
15
|
+
colIdx(value: number): this;
|
|
16
|
+
build(): {
|
|
17
|
+
sheetId: number;
|
|
18
|
+
blockId: number;
|
|
19
|
+
rowIdx: number;
|
|
20
|
+
colIdx: number;
|
|
21
|
+
};
|
|
22
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export class RemoveDiyCellByIdBuilder {
|
|
2
|
+
_sheetId;
|
|
3
|
+
_blockId;
|
|
4
|
+
_rowIdx;
|
|
5
|
+
_colIdx;
|
|
6
|
+
sheetId(value) {
|
|
7
|
+
this._sheetId = value;
|
|
8
|
+
return this;
|
|
9
|
+
}
|
|
10
|
+
blockId(value) {
|
|
11
|
+
this._blockId = value;
|
|
12
|
+
return this;
|
|
13
|
+
}
|
|
14
|
+
rowIdx(value) {
|
|
15
|
+
this._rowIdx = value;
|
|
16
|
+
return this;
|
|
17
|
+
}
|
|
18
|
+
colIdx(value) {
|
|
19
|
+
this._colIdx = value;
|
|
20
|
+
return this;
|
|
21
|
+
}
|
|
22
|
+
build() {
|
|
23
|
+
if (this._sheetId === undefined)
|
|
24
|
+
throw new Error('missing sheetId');
|
|
25
|
+
if (this._blockId === undefined)
|
|
26
|
+
throw new Error('missing blockId');
|
|
27
|
+
if (this._rowIdx === undefined)
|
|
28
|
+
throw new Error('missing rowIdx');
|
|
29
|
+
if (this._colIdx === undefined)
|
|
30
|
+
throw new Error('missing colIdx');
|
|
31
|
+
return { sheetId: this._sheetId, blockId: this._blockId, rowIdx: this._rowIdx, colIdx: this._colIdx };
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ReproducibleCell } from './reproducible_cell';
|
|
2
|
+
export interface ReproduceCells {
|
|
3
|
+
sheetIdx: number;
|
|
4
|
+
startRow: number;
|
|
5
|
+
startCol: number;
|
|
6
|
+
cells: readonly ReproducibleCell[];
|
|
7
|
+
}
|
|
8
|
+
export declare class ReproduceCellsBuilder {
|
|
9
|
+
private _sheetIdx;
|
|
10
|
+
private _startRow;
|
|
11
|
+
private _startCol;
|
|
12
|
+
private _cells;
|
|
13
|
+
sheetIdx(value: number): this;
|
|
14
|
+
startRow(value: number): this;
|
|
15
|
+
startCol(value: number): this;
|
|
16
|
+
cells(value: readonly ReproducibleCell[]): this;
|
|
17
|
+
build(): {
|
|
18
|
+
sheetIdx: number;
|
|
19
|
+
startRow: number;
|
|
20
|
+
startCol: number;
|
|
21
|
+
cells: readonly ReproducibleCell[];
|
|
22
|
+
};
|
|
23
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export class ReproduceCellsBuilder {
|
|
2
|
+
_sheetIdx;
|
|
3
|
+
_startRow;
|
|
4
|
+
_startCol;
|
|
5
|
+
_cells;
|
|
6
|
+
sheetIdx(value) {
|
|
7
|
+
this._sheetIdx = value;
|
|
8
|
+
return this;
|
|
9
|
+
}
|
|
10
|
+
startRow(value) {
|
|
11
|
+
this._startRow = value;
|
|
12
|
+
return this;
|
|
13
|
+
}
|
|
14
|
+
startCol(value) {
|
|
15
|
+
this._startCol = value;
|
|
16
|
+
return this;
|
|
17
|
+
}
|
|
18
|
+
cells(value) {
|
|
19
|
+
this._cells = value;
|
|
20
|
+
return this;
|
|
21
|
+
}
|
|
22
|
+
build() {
|
|
23
|
+
if (this._sheetIdx === undefined)
|
|
24
|
+
throw new Error('missing sheetIdx');
|
|
25
|
+
if (this._startRow === undefined)
|
|
26
|
+
throw new Error('missing startRow');
|
|
27
|
+
if (this._startCol === undefined)
|
|
28
|
+
throw new Error('missing startCol');
|
|
29
|
+
if (this._cells === undefined)
|
|
30
|
+
throw new Error('missing cells');
|
|
31
|
+
return { sheetIdx: this._sheetIdx, startRow: this._startRow, startCol: this._startCol, cells: this._cells };
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Appendix } from './appendix';
|
|
2
|
+
import { RawStyle } from './raw_style';
|
|
3
|
+
import { SheetCoordinate } from './sheet_coordinate';
|
|
4
|
+
import { Value } from './value';
|
|
5
|
+
export interface ReproducibleCell {
|
|
6
|
+
coordinate: SheetCoordinate;
|
|
7
|
+
value: Value;
|
|
8
|
+
style: RawStyle;
|
|
9
|
+
appendix: readonly Appendix[];
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export interface ResizeBlock {
|
|
2
|
+
sheetIdx: number;
|
|
3
|
+
id: number;
|
|
4
|
+
newRowCnt?: number;
|
|
5
|
+
newColCnt?: number;
|
|
6
|
+
}
|
|
7
|
+
export declare class ResizeBlockBuilder {
|
|
8
|
+
private _sheetIdx;
|
|
9
|
+
private _id;
|
|
10
|
+
private _newRowCnt?;
|
|
11
|
+
private _newColCnt?;
|
|
12
|
+
sheetIdx(value: number): this;
|
|
13
|
+
id(value: number): this;
|
|
14
|
+
newRowCnt(value: number): this;
|
|
15
|
+
newColCnt(value: number): this;
|
|
16
|
+
build(): {
|
|
17
|
+
sheetIdx: number;
|
|
18
|
+
id: number;
|
|
19
|
+
newRowCnt: number | undefined;
|
|
20
|
+
newColCnt: number | undefined;
|
|
21
|
+
};
|
|
22
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export class ResizeBlockBuilder {
|
|
2
|
+
_sheetIdx;
|
|
3
|
+
_id;
|
|
4
|
+
_newRowCnt;
|
|
5
|
+
_newColCnt;
|
|
6
|
+
sheetIdx(value) {
|
|
7
|
+
this._sheetIdx = value;
|
|
8
|
+
return this;
|
|
9
|
+
}
|
|
10
|
+
id(value) {
|
|
11
|
+
this._id = value;
|
|
12
|
+
return this;
|
|
13
|
+
}
|
|
14
|
+
newRowCnt(value) {
|
|
15
|
+
this._newRowCnt = value;
|
|
16
|
+
return this;
|
|
17
|
+
}
|
|
18
|
+
newColCnt(value) {
|
|
19
|
+
this._newColCnt = value;
|
|
20
|
+
return this;
|
|
21
|
+
}
|
|
22
|
+
build() {
|
|
23
|
+
if (this._sheetIdx === undefined)
|
|
24
|
+
throw new Error('missing sheetIdx');
|
|
25
|
+
if (this._id === undefined)
|
|
26
|
+
throw new Error('missing id');
|
|
27
|
+
return { sheetIdx: this._sheetIdx, id: this._id, newRowCnt: this._newRowCnt, newColCnt: this._newColCnt };
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type Direction = 'up' | 'down' | 'left' | 'right';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|