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
|
@@ -1,946 +0,0 @@
|
|
|
1
|
-
let imports = {};
|
|
2
|
-
imports['__wbindgen_placeholder__'] = module.exports;
|
|
3
|
-
let wasm;
|
|
4
|
-
const { TextEncoder, TextDecoder } = require(`util`);
|
|
5
|
-
|
|
6
|
-
const heap = new Array(128).fill(undefined);
|
|
7
|
-
|
|
8
|
-
heap.push(undefined, null, true, false);
|
|
9
|
-
|
|
10
|
-
function getObject(idx) { return heap[idx]; }
|
|
11
|
-
|
|
12
|
-
let heap_next = heap.length;
|
|
13
|
-
|
|
14
|
-
function dropObject(idx) {
|
|
15
|
-
if (idx < 132) return;
|
|
16
|
-
heap[idx] = heap_next;
|
|
17
|
-
heap_next = idx;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
function takeObject(idx) {
|
|
21
|
-
const ret = getObject(idx);
|
|
22
|
-
dropObject(idx);
|
|
23
|
-
return ret;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
let WASM_VECTOR_LEN = 0;
|
|
27
|
-
|
|
28
|
-
let cachedUint8Memory0 = null;
|
|
29
|
-
|
|
30
|
-
function getUint8Memory0() {
|
|
31
|
-
if (cachedUint8Memory0 === null || cachedUint8Memory0.byteLength === 0) {
|
|
32
|
-
cachedUint8Memory0 = new Uint8Array(wasm.memory.buffer);
|
|
33
|
-
}
|
|
34
|
-
return cachedUint8Memory0;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
let cachedTextEncoder = new TextEncoder('utf-8');
|
|
38
|
-
|
|
39
|
-
const encodeString = (typeof cachedTextEncoder.encodeInto === 'function'
|
|
40
|
-
? function (arg, view) {
|
|
41
|
-
return cachedTextEncoder.encodeInto(arg, view);
|
|
42
|
-
}
|
|
43
|
-
: function (arg, view) {
|
|
44
|
-
const buf = cachedTextEncoder.encode(arg);
|
|
45
|
-
view.set(buf);
|
|
46
|
-
return {
|
|
47
|
-
read: arg.length,
|
|
48
|
-
written: buf.length
|
|
49
|
-
};
|
|
50
|
-
});
|
|
51
|
-
|
|
52
|
-
function passStringToWasm0(arg, malloc, realloc) {
|
|
53
|
-
|
|
54
|
-
if (realloc === undefined) {
|
|
55
|
-
const buf = cachedTextEncoder.encode(arg);
|
|
56
|
-
const ptr = malloc(buf.length);
|
|
57
|
-
getUint8Memory0().subarray(ptr, ptr + buf.length).set(buf);
|
|
58
|
-
WASM_VECTOR_LEN = buf.length;
|
|
59
|
-
return ptr;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
let len = arg.length;
|
|
63
|
-
let ptr = malloc(len);
|
|
64
|
-
|
|
65
|
-
const mem = getUint8Memory0();
|
|
66
|
-
|
|
67
|
-
let offset = 0;
|
|
68
|
-
|
|
69
|
-
for (; offset < len; offset++) {
|
|
70
|
-
const code = arg.charCodeAt(offset);
|
|
71
|
-
if (code > 0x7F) break;
|
|
72
|
-
mem[ptr + offset] = code;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
if (offset !== len) {
|
|
76
|
-
if (offset !== 0) {
|
|
77
|
-
arg = arg.slice(offset);
|
|
78
|
-
}
|
|
79
|
-
ptr = realloc(ptr, len, len = offset + arg.length * 3);
|
|
80
|
-
const view = getUint8Memory0().subarray(ptr + offset, ptr + len);
|
|
81
|
-
const ret = encodeString(arg, view);
|
|
82
|
-
|
|
83
|
-
offset += ret.written;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
WASM_VECTOR_LEN = offset;
|
|
87
|
-
return ptr;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
function isLikeNone(x) {
|
|
91
|
-
return x === undefined || x === null;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
let cachedInt32Memory0 = null;
|
|
95
|
-
|
|
96
|
-
function getInt32Memory0() {
|
|
97
|
-
if (cachedInt32Memory0 === null || cachedInt32Memory0.byteLength === 0) {
|
|
98
|
-
cachedInt32Memory0 = new Int32Array(wasm.memory.buffer);
|
|
99
|
-
}
|
|
100
|
-
return cachedInt32Memory0;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
104
|
-
|
|
105
|
-
cachedTextDecoder.decode();
|
|
106
|
-
|
|
107
|
-
function getStringFromWasm0(ptr, len) {
|
|
108
|
-
return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
function addHeapObject(obj) {
|
|
112
|
-
if (heap_next === heap.length) heap.push(heap.length + 1);
|
|
113
|
-
const idx = heap_next;
|
|
114
|
-
heap_next = heap[idx];
|
|
115
|
-
|
|
116
|
-
heap[idx] = obj;
|
|
117
|
-
return idx;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
let cachedFloat64Memory0 = null;
|
|
121
|
-
|
|
122
|
-
function getFloat64Memory0() {
|
|
123
|
-
if (cachedFloat64Memory0 === null || cachedFloat64Memory0.byteLength === 0) {
|
|
124
|
-
cachedFloat64Memory0 = new Float64Array(wasm.memory.buffer);
|
|
125
|
-
}
|
|
126
|
-
return cachedFloat64Memory0;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
function debugString(val) {
|
|
130
|
-
// primitive types
|
|
131
|
-
const type = typeof val;
|
|
132
|
-
if (type == 'number' || type == 'boolean' || val == null) {
|
|
133
|
-
return `${val}`;
|
|
134
|
-
}
|
|
135
|
-
if (type == 'string') {
|
|
136
|
-
return `"${val}"`;
|
|
137
|
-
}
|
|
138
|
-
if (type == 'symbol') {
|
|
139
|
-
const description = val.description;
|
|
140
|
-
if (description == null) {
|
|
141
|
-
return 'Symbol';
|
|
142
|
-
} else {
|
|
143
|
-
return `Symbol(${description})`;
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
if (type == 'function') {
|
|
147
|
-
const name = val.name;
|
|
148
|
-
if (typeof name == 'string' && name.length > 0) {
|
|
149
|
-
return `Function(${name})`;
|
|
150
|
-
} else {
|
|
151
|
-
return 'Function';
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
// objects
|
|
155
|
-
if (Array.isArray(val)) {
|
|
156
|
-
const length = val.length;
|
|
157
|
-
let debug = '[';
|
|
158
|
-
if (length > 0) {
|
|
159
|
-
debug += debugString(val[0]);
|
|
160
|
-
}
|
|
161
|
-
for(let i = 1; i < length; i++) {
|
|
162
|
-
debug += ', ' + debugString(val[i]);
|
|
163
|
-
}
|
|
164
|
-
debug += ']';
|
|
165
|
-
return debug;
|
|
166
|
-
}
|
|
167
|
-
// Test for built-in
|
|
168
|
-
const builtInMatches = /\[object ([^\]]+)\]/.exec(toString.call(val));
|
|
169
|
-
let className;
|
|
170
|
-
if (builtInMatches.length > 1) {
|
|
171
|
-
className = builtInMatches[1];
|
|
172
|
-
} else {
|
|
173
|
-
// Failed to match the standard '[object ClassName]'
|
|
174
|
-
return toString.call(val);
|
|
175
|
-
}
|
|
176
|
-
if (className == 'Object') {
|
|
177
|
-
// we're a user defined class or Object
|
|
178
|
-
// JSON.stringify avoids problems with cycles, and is generally much
|
|
179
|
-
// easier than looping through ownProperties of `val`.
|
|
180
|
-
try {
|
|
181
|
-
return 'Object(' + JSON.stringify(val) + ')';
|
|
182
|
-
} catch (_) {
|
|
183
|
-
return 'Object';
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
// errors
|
|
187
|
-
if (val instanceof Error) {
|
|
188
|
-
return `${val.name}: ${val.message}\n${val.stack}`;
|
|
189
|
-
}
|
|
190
|
-
// TODO we could test for more things here, like `Set`s and `Map`s.
|
|
191
|
-
return className;
|
|
192
|
-
}
|
|
193
|
-
/**
|
|
194
|
-
* @returns {number}
|
|
195
|
-
*/
|
|
196
|
-
module.exports.new_workbook = function() {
|
|
197
|
-
const ret = wasm.new_workbook();
|
|
198
|
-
return ret >>> 0;
|
|
199
|
-
};
|
|
200
|
-
|
|
201
|
-
function passArray8ToWasm0(arg, malloc) {
|
|
202
|
-
const ptr = malloc(arg.length * 1);
|
|
203
|
-
getUint8Memory0().set(arg, ptr / 1);
|
|
204
|
-
WASM_VECTOR_LEN = arg.length;
|
|
205
|
-
return ptr;
|
|
206
|
-
}
|
|
207
|
-
/**
|
|
208
|
-
* @param {number} id
|
|
209
|
-
* @param {string} name
|
|
210
|
-
* @param {Uint8Array} buf
|
|
211
|
-
* @returns {number}
|
|
212
|
-
*/
|
|
213
|
-
module.exports.read_file = function(id, name, buf) {
|
|
214
|
-
const ptr0 = passStringToWasm0(name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
215
|
-
const len0 = WASM_VECTOR_LEN;
|
|
216
|
-
const ptr1 = passArray8ToWasm0(buf, wasm.__wbindgen_malloc);
|
|
217
|
-
const len1 = WASM_VECTOR_LEN;
|
|
218
|
-
const ret = wasm.read_file(id, ptr0, len0, ptr1, len1);
|
|
219
|
-
return ret;
|
|
220
|
-
};
|
|
221
|
-
|
|
222
|
-
/**
|
|
223
|
-
* @param {number} id
|
|
224
|
-
* @returns {any}
|
|
225
|
-
*/
|
|
226
|
-
module.exports.save_file = function(id) {
|
|
227
|
-
const ret = wasm.save_file(id);
|
|
228
|
-
return takeObject(ret);
|
|
229
|
-
};
|
|
230
|
-
|
|
231
|
-
/**
|
|
232
|
-
* @param {number} id
|
|
233
|
-
*/
|
|
234
|
-
module.exports.release = function(id) {
|
|
235
|
-
wasm.release(id);
|
|
236
|
-
};
|
|
237
|
-
|
|
238
|
-
/**
|
|
239
|
-
* @param {number} id
|
|
240
|
-
* @returns {boolean}
|
|
241
|
-
*/
|
|
242
|
-
module.exports.undo = function(id) {
|
|
243
|
-
const ret = wasm.undo(id);
|
|
244
|
-
return ret !== 0;
|
|
245
|
-
};
|
|
246
|
-
|
|
247
|
-
/**
|
|
248
|
-
* @param {number} id
|
|
249
|
-
* @returns {boolean}
|
|
250
|
-
*/
|
|
251
|
-
module.exports.redo = function(id) {
|
|
252
|
-
const ret = wasm.redo(id);
|
|
253
|
-
return ret !== 0;
|
|
254
|
-
};
|
|
255
|
-
|
|
256
|
-
/**
|
|
257
|
-
* @param {number} id
|
|
258
|
-
*/
|
|
259
|
-
module.exports.transaction_start = function(id) {
|
|
260
|
-
wasm.transaction_start(id);
|
|
261
|
-
};
|
|
262
|
-
|
|
263
|
-
/**
|
|
264
|
-
* The JSON format of `ActionEffect`.
|
|
265
|
-
* @param {number} id
|
|
266
|
-
* @param {boolean} undoable
|
|
267
|
-
* @returns {any}
|
|
268
|
-
*/
|
|
269
|
-
module.exports.transaction_end = function(id, undoable) {
|
|
270
|
-
const ret = wasm.transaction_end(id, undoable);
|
|
271
|
-
return takeObject(ret);
|
|
272
|
-
};
|
|
273
|
-
|
|
274
|
-
/**
|
|
275
|
-
* Input: AsyncFuncResult
|
|
276
|
-
* Output: ActionAffect
|
|
277
|
-
* @param {number} id
|
|
278
|
-
* @param {any} result
|
|
279
|
-
* @returns {any}
|
|
280
|
-
*/
|
|
281
|
-
module.exports.input_async_result = function(id, result) {
|
|
282
|
-
const ret = wasm.input_async_result(id, addHeapObject(result));
|
|
283
|
-
return takeObject(ret);
|
|
284
|
-
};
|
|
285
|
-
|
|
286
|
-
/**
|
|
287
|
-
* logisheets_controller::DisplayResponse
|
|
288
|
-
* @param {number} id
|
|
289
|
-
* @param {number} sheet_idx
|
|
290
|
-
* @param {number} version
|
|
291
|
-
* @returns {any}
|
|
292
|
-
*/
|
|
293
|
-
module.exports.get_patches = function(id, sheet_idx, version) {
|
|
294
|
-
const ret = wasm.get_patches(id, sheet_idx, version);
|
|
295
|
-
return takeObject(ret);
|
|
296
|
-
};
|
|
297
|
-
|
|
298
|
-
/**
|
|
299
|
-
* @param {number} id
|
|
300
|
-
* @returns {number}
|
|
301
|
-
*/
|
|
302
|
-
module.exports.get_sheet_count = function(id) {
|
|
303
|
-
const ret = wasm.get_sheet_count(id);
|
|
304
|
-
return ret >>> 0;
|
|
305
|
-
};
|
|
306
|
-
|
|
307
|
-
/**
|
|
308
|
-
* @param {number} id
|
|
309
|
-
* @param {number} sheet_idx
|
|
310
|
-
* @param {number} row_idx
|
|
311
|
-
* @returns {any}
|
|
312
|
-
*/
|
|
313
|
-
module.exports.get_row_info = function(id, sheet_idx, row_idx) {
|
|
314
|
-
const ret = wasm.get_row_info(id, sheet_idx, row_idx);
|
|
315
|
-
return takeObject(ret);
|
|
316
|
-
};
|
|
317
|
-
|
|
318
|
-
/**
|
|
319
|
-
* @param {number} id
|
|
320
|
-
* @param {number} sheet_idx
|
|
321
|
-
* @param {number} row_idx
|
|
322
|
-
* @returns {any}
|
|
323
|
-
*/
|
|
324
|
-
module.exports.get_row_height = function(id, sheet_idx, row_idx) {
|
|
325
|
-
const ret = wasm.get_row_height(id, sheet_idx, row_idx);
|
|
326
|
-
return takeObject(ret);
|
|
327
|
-
};
|
|
328
|
-
|
|
329
|
-
/**
|
|
330
|
-
* @param {number} id
|
|
331
|
-
* @param {number} sheet_idx
|
|
332
|
-
* @param {number} col_idx
|
|
333
|
-
* @returns {any}
|
|
334
|
-
*/
|
|
335
|
-
module.exports.get_col_width = function(id, sheet_idx, col_idx) {
|
|
336
|
-
const ret = wasm.get_col_width(id, sheet_idx, col_idx);
|
|
337
|
-
return takeObject(ret);
|
|
338
|
-
};
|
|
339
|
-
|
|
340
|
-
/**
|
|
341
|
-
* @param {number} id
|
|
342
|
-
* @param {number} sheet_idx
|
|
343
|
-
* @param {number} row
|
|
344
|
-
* @param {number} col
|
|
345
|
-
* @returns {any}
|
|
346
|
-
*/
|
|
347
|
-
module.exports.get_cell_info = function(id, sheet_idx, row, col) {
|
|
348
|
-
const ret = wasm.get_cell_info(id, sheet_idx, row, col);
|
|
349
|
-
return takeObject(ret);
|
|
350
|
-
};
|
|
351
|
-
|
|
352
|
-
/**
|
|
353
|
-
* @param {number} id
|
|
354
|
-
* @param {number} sheet_idx
|
|
355
|
-
* @param {number} col_idx
|
|
356
|
-
* @returns {any}
|
|
357
|
-
*/
|
|
358
|
-
module.exports.get_col_info = function(id, sheet_idx, col_idx) {
|
|
359
|
-
const ret = wasm.get_col_info(id, sheet_idx, col_idx);
|
|
360
|
-
return takeObject(ret);
|
|
361
|
-
};
|
|
362
|
-
|
|
363
|
-
/**
|
|
364
|
-
* @param {number} id
|
|
365
|
-
* @param {number} sheet_idx
|
|
366
|
-
* @param {number} row_idx
|
|
367
|
-
* @param {number} col_idx
|
|
368
|
-
* @returns {any}
|
|
369
|
-
*/
|
|
370
|
-
module.exports.get_value = function(id, sheet_idx, row_idx, col_idx) {
|
|
371
|
-
const ret = wasm.get_value(id, sheet_idx, row_idx, col_idx);
|
|
372
|
-
return takeObject(ret);
|
|
373
|
-
};
|
|
374
|
-
|
|
375
|
-
/**
|
|
376
|
-
* @param {number} id
|
|
377
|
-
* @param {number} sheet_idx
|
|
378
|
-
* @param {number} row_idx
|
|
379
|
-
* @param {number} col_idx
|
|
380
|
-
* @returns {any}
|
|
381
|
-
*/
|
|
382
|
-
module.exports.get_formula = function(id, sheet_idx, row_idx, col_idx) {
|
|
383
|
-
const ret = wasm.get_formula(id, sheet_idx, row_idx, col_idx);
|
|
384
|
-
return takeObject(ret);
|
|
385
|
-
};
|
|
386
|
-
|
|
387
|
-
/**
|
|
388
|
-
* @param {number} id
|
|
389
|
-
* @param {number} sheet_idx
|
|
390
|
-
* @param {number} row_idx
|
|
391
|
-
* @param {number} col_idx
|
|
392
|
-
* @returns {any}
|
|
393
|
-
*/
|
|
394
|
-
module.exports.get_style = function(id, sheet_idx, row_idx, col_idx) {
|
|
395
|
-
const ret = wasm.get_style(id, sheet_idx, row_idx, col_idx);
|
|
396
|
-
return takeObject(ret);
|
|
397
|
-
};
|
|
398
|
-
|
|
399
|
-
/**
|
|
400
|
-
* @param {number} id
|
|
401
|
-
* @param {number} sheet_idx
|
|
402
|
-
* @param {number} row
|
|
403
|
-
* @param {number} col
|
|
404
|
-
* @param {boolean | undefined} bold
|
|
405
|
-
* @param {boolean | undefined} italic
|
|
406
|
-
* @param {string | undefined} name
|
|
407
|
-
* @param {string | undefined} underline
|
|
408
|
-
* @param {string | undefined} color
|
|
409
|
-
* @param {number | undefined} size
|
|
410
|
-
* @param {boolean | undefined} outline
|
|
411
|
-
* @param {boolean | undefined} shadow
|
|
412
|
-
* @param {boolean | undefined} strike
|
|
413
|
-
* @param {boolean | undefined} condense
|
|
414
|
-
*/
|
|
415
|
-
module.exports.set_font = function(id, sheet_idx, row, col, bold, italic, name, underline, color, size, outline, shadow, strike, condense) {
|
|
416
|
-
var ptr0 = isLikeNone(name) ? 0 : passStringToWasm0(name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
417
|
-
var len0 = WASM_VECTOR_LEN;
|
|
418
|
-
var ptr1 = isLikeNone(underline) ? 0 : passStringToWasm0(underline, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
419
|
-
var len1 = WASM_VECTOR_LEN;
|
|
420
|
-
var ptr2 = isLikeNone(color) ? 0 : passStringToWasm0(color, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
421
|
-
var len2 = WASM_VECTOR_LEN;
|
|
422
|
-
wasm.set_font(id, sheet_idx, row, col, isLikeNone(bold) ? 0xFFFFFF : bold ? 1 : 0, isLikeNone(italic) ? 0xFFFFFF : italic ? 1 : 0, ptr0, len0, ptr1, len1, ptr2, len2, !isLikeNone(size), isLikeNone(size) ? 0 : size, isLikeNone(outline) ? 0xFFFFFF : outline ? 1 : 0, isLikeNone(shadow) ? 0xFFFFFF : shadow ? 1 : 0, isLikeNone(strike) ? 0xFFFFFF : strike ? 1 : 0, isLikeNone(condense) ? 0xFFFFFF : condense ? 1 : 0);
|
|
423
|
-
};
|
|
424
|
-
|
|
425
|
-
/**
|
|
426
|
-
* @param {number} id
|
|
427
|
-
* @param {number} sheet_idx
|
|
428
|
-
* @param {number} row
|
|
429
|
-
* @param {number} col
|
|
430
|
-
* @param {string | undefined} left_color
|
|
431
|
-
* @param {string | undefined} right_color
|
|
432
|
-
* @param {string | undefined} top_color
|
|
433
|
-
* @param {string | undefined} bottom_color
|
|
434
|
-
* @param {string | undefined} left_border_type
|
|
435
|
-
* @param {string | undefined} right_border_type
|
|
436
|
-
* @param {string | undefined} top_border_type
|
|
437
|
-
* @param {string | undefined} bottom_border_type
|
|
438
|
-
* @param {boolean | undefined} outline
|
|
439
|
-
* @param {boolean | undefined} diagonal_up
|
|
440
|
-
* @param {boolean | undefined} diagonal_down
|
|
441
|
-
*/
|
|
442
|
-
module.exports.set_border = function(id, sheet_idx, row, col, left_color, right_color, top_color, bottom_color, left_border_type, right_border_type, top_border_type, bottom_border_type, outline, diagonal_up, diagonal_down) {
|
|
443
|
-
var ptr0 = isLikeNone(left_color) ? 0 : passStringToWasm0(left_color, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
444
|
-
var len0 = WASM_VECTOR_LEN;
|
|
445
|
-
var ptr1 = isLikeNone(right_color) ? 0 : passStringToWasm0(right_color, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
446
|
-
var len1 = WASM_VECTOR_LEN;
|
|
447
|
-
var ptr2 = isLikeNone(top_color) ? 0 : passStringToWasm0(top_color, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
448
|
-
var len2 = WASM_VECTOR_LEN;
|
|
449
|
-
var ptr3 = isLikeNone(bottom_color) ? 0 : passStringToWasm0(bottom_color, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
450
|
-
var len3 = WASM_VECTOR_LEN;
|
|
451
|
-
var ptr4 = isLikeNone(left_border_type) ? 0 : passStringToWasm0(left_border_type, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
452
|
-
var len4 = WASM_VECTOR_LEN;
|
|
453
|
-
var ptr5 = isLikeNone(right_border_type) ? 0 : passStringToWasm0(right_border_type, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
454
|
-
var len5 = WASM_VECTOR_LEN;
|
|
455
|
-
var ptr6 = isLikeNone(top_border_type) ? 0 : passStringToWasm0(top_border_type, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
456
|
-
var len6 = WASM_VECTOR_LEN;
|
|
457
|
-
var ptr7 = isLikeNone(bottom_border_type) ? 0 : passStringToWasm0(bottom_border_type, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
458
|
-
var len7 = WASM_VECTOR_LEN;
|
|
459
|
-
wasm.set_border(id, sheet_idx, row, col, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3, ptr4, len4, ptr5, len5, ptr6, len6, ptr7, len7, isLikeNone(outline) ? 0xFFFFFF : outline ? 1 : 0, isLikeNone(diagonal_up) ? 0xFFFFFF : diagonal_up ? 1 : 0, isLikeNone(diagonal_down) ? 0xFFFFFF : diagonal_down ? 1 : 0);
|
|
460
|
-
};
|
|
461
|
-
|
|
462
|
-
/**
|
|
463
|
-
* @param {number} id
|
|
464
|
-
* @param {number} sheet_idx
|
|
465
|
-
* @param {number} row
|
|
466
|
-
* @param {number} col
|
|
467
|
-
* @param {string} content
|
|
468
|
-
*/
|
|
469
|
-
module.exports.cell_input = function(id, sheet_idx, row, col, content) {
|
|
470
|
-
const ptr0 = passStringToWasm0(content, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
471
|
-
const len0 = WASM_VECTOR_LEN;
|
|
472
|
-
wasm.cell_input(id, sheet_idx, row, col, ptr0, len0);
|
|
473
|
-
};
|
|
474
|
-
|
|
475
|
-
/**
|
|
476
|
-
* @param {number} id
|
|
477
|
-
* @param {number} sheet_idx
|
|
478
|
-
* @param {number} start
|
|
479
|
-
* @param {number} count
|
|
480
|
-
*/
|
|
481
|
-
module.exports.row_insert = function(id, sheet_idx, start, count) {
|
|
482
|
-
wasm.row_insert(id, sheet_idx, start, count);
|
|
483
|
-
};
|
|
484
|
-
|
|
485
|
-
/**
|
|
486
|
-
* @param {number} id
|
|
487
|
-
* @param {number} sheet_idx
|
|
488
|
-
* @param {number} start
|
|
489
|
-
* @param {number} count
|
|
490
|
-
*/
|
|
491
|
-
module.exports.row_delete = function(id, sheet_idx, start, count) {
|
|
492
|
-
wasm.row_delete(id, sheet_idx, start, count);
|
|
493
|
-
};
|
|
494
|
-
|
|
495
|
-
/**
|
|
496
|
-
* @param {number} id
|
|
497
|
-
* @param {number} sheet_idx
|
|
498
|
-
* @param {number} start
|
|
499
|
-
* @param {number} count
|
|
500
|
-
*/
|
|
501
|
-
module.exports.col_insert = function(id, sheet_idx, start, count) {
|
|
502
|
-
wasm.col_insert(id, sheet_idx, start, count);
|
|
503
|
-
};
|
|
504
|
-
|
|
505
|
-
/**
|
|
506
|
-
* @param {number} id
|
|
507
|
-
* @param {number} sheet_idx
|
|
508
|
-
* @param {number} start
|
|
509
|
-
* @param {number} count
|
|
510
|
-
*/
|
|
511
|
-
module.exports.col_delete = function(id, sheet_idx, start, count) {
|
|
512
|
-
wasm.col_delete(id, sheet_idx, start, count);
|
|
513
|
-
};
|
|
514
|
-
|
|
515
|
-
/**
|
|
516
|
-
* @param {number} id
|
|
517
|
-
* @param {number} sheet_idx
|
|
518
|
-
* @param {number} block_id
|
|
519
|
-
* @param {number} master_row
|
|
520
|
-
* @param {number} master_col
|
|
521
|
-
* @param {number} row_cnt
|
|
522
|
-
* @param {number} col_cnt
|
|
523
|
-
*/
|
|
524
|
-
module.exports.create_block = function(id, sheet_idx, block_id, master_row, master_col, row_cnt, col_cnt) {
|
|
525
|
-
wasm.create_block(id, sheet_idx, block_id, master_row, master_col, row_cnt, col_cnt);
|
|
526
|
-
};
|
|
527
|
-
|
|
528
|
-
/**
|
|
529
|
-
* @param {number} id
|
|
530
|
-
* @param {number} sheet_idx
|
|
531
|
-
* @param {number} block_id
|
|
532
|
-
* @param {number} row
|
|
533
|
-
* @param {number} col
|
|
534
|
-
*/
|
|
535
|
-
module.exports.move_block = function(id, sheet_idx, block_id, row, col) {
|
|
536
|
-
wasm.move_block(id, sheet_idx, block_id, row, col);
|
|
537
|
-
};
|
|
538
|
-
|
|
539
|
-
/**
|
|
540
|
-
* @param {number} id
|
|
541
|
-
* @param {number} sheet_idx
|
|
542
|
-
* @param {number} block_id
|
|
543
|
-
* @param {number} row
|
|
544
|
-
* @param {number} col
|
|
545
|
-
* @param {string} input
|
|
546
|
-
*/
|
|
547
|
-
module.exports.block_input = function(id, sheet_idx, block_id, row, col, input) {
|
|
548
|
-
const ptr0 = passStringToWasm0(input, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
549
|
-
const len0 = WASM_VECTOR_LEN;
|
|
550
|
-
wasm.block_input(id, sheet_idx, block_id, row, col, ptr0, len0);
|
|
551
|
-
};
|
|
552
|
-
|
|
553
|
-
/**
|
|
554
|
-
* @param {number} id
|
|
555
|
-
* @param {number} sheet_idx
|
|
556
|
-
* @param {number} block_id
|
|
557
|
-
* @param {number} start
|
|
558
|
-
* @param {number} cnt
|
|
559
|
-
* @param {boolean} horizontal
|
|
560
|
-
* @param {boolean} insert
|
|
561
|
-
*/
|
|
562
|
-
module.exports.block_line_shift = function(id, sheet_idx, block_id, start, cnt, horizontal, insert) {
|
|
563
|
-
wasm.block_line_shift(id, sheet_idx, block_id, start, cnt, horizontal, insert);
|
|
564
|
-
};
|
|
565
|
-
|
|
566
|
-
/**
|
|
567
|
-
* @param {number} id
|
|
568
|
-
* @param {string} old_name
|
|
569
|
-
* @param {string} new_name
|
|
570
|
-
*/
|
|
571
|
-
module.exports.sheet_rename_by_name = function(id, old_name, new_name) {
|
|
572
|
-
const ptr0 = passStringToWasm0(old_name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
573
|
-
const len0 = WASM_VECTOR_LEN;
|
|
574
|
-
const ptr1 = passStringToWasm0(new_name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
575
|
-
const len1 = WASM_VECTOR_LEN;
|
|
576
|
-
wasm.sheet_rename_by_name(id, ptr0, len0, ptr1, len1);
|
|
577
|
-
};
|
|
578
|
-
|
|
579
|
-
/**
|
|
580
|
-
* @param {number} id
|
|
581
|
-
* @param {number} idx
|
|
582
|
-
* @param {string} new_name
|
|
583
|
-
*/
|
|
584
|
-
module.exports.sheet_rename_by_idx = function(id, idx, new_name) {
|
|
585
|
-
const ptr0 = passStringToWasm0(new_name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
586
|
-
const len0 = WASM_VECTOR_LEN;
|
|
587
|
-
wasm.sheet_rename_by_idx(id, idx, ptr0, len0);
|
|
588
|
-
};
|
|
589
|
-
|
|
590
|
-
/**
|
|
591
|
-
* @param {number} id
|
|
592
|
-
* @param {number} idx
|
|
593
|
-
* @param {string} name
|
|
594
|
-
*/
|
|
595
|
-
module.exports.create_sheet = function(id, idx, name) {
|
|
596
|
-
const ptr0 = passStringToWasm0(name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
597
|
-
const len0 = WASM_VECTOR_LEN;
|
|
598
|
-
wasm.create_sheet(id, idx, ptr0, len0);
|
|
599
|
-
};
|
|
600
|
-
|
|
601
|
-
/**
|
|
602
|
-
* @param {number} id
|
|
603
|
-
* @param {number} idx
|
|
604
|
-
*/
|
|
605
|
-
module.exports.delete_sheet = function(id, idx) {
|
|
606
|
-
wasm.delete_sheet(id, idx);
|
|
607
|
-
};
|
|
608
|
-
|
|
609
|
-
function handleError(f, args) {
|
|
610
|
-
try {
|
|
611
|
-
return f.apply(this, args);
|
|
612
|
-
} catch (e) {
|
|
613
|
-
wasm.__wbindgen_exn_store(addHeapObject(e));
|
|
614
|
-
}
|
|
615
|
-
}
|
|
616
|
-
|
|
617
|
-
function getArrayU8FromWasm0(ptr, len) {
|
|
618
|
-
return getUint8Memory0().subarray(ptr / 1, ptr / 1 + len);
|
|
619
|
-
}
|
|
620
|
-
|
|
621
|
-
module.exports.__wbindgen_object_drop_ref = function(arg0) {
|
|
622
|
-
takeObject(arg0);
|
|
623
|
-
};
|
|
624
|
-
|
|
625
|
-
module.exports.__wbindgen_string_get = function(arg0, arg1) {
|
|
626
|
-
const obj = getObject(arg1);
|
|
627
|
-
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
628
|
-
var ptr0 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
629
|
-
var len0 = WASM_VECTOR_LEN;
|
|
630
|
-
getInt32Memory0()[arg0 / 4 + 1] = len0;
|
|
631
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
|
|
632
|
-
};
|
|
633
|
-
|
|
634
|
-
module.exports.__wbindgen_string_new = function(arg0, arg1) {
|
|
635
|
-
const ret = getStringFromWasm0(arg0, arg1);
|
|
636
|
-
return addHeapObject(ret);
|
|
637
|
-
};
|
|
638
|
-
|
|
639
|
-
module.exports.__wbindgen_error_new = function(arg0, arg1) {
|
|
640
|
-
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
641
|
-
return addHeapObject(ret);
|
|
642
|
-
};
|
|
643
|
-
|
|
644
|
-
module.exports.__wbindgen_is_object = function(arg0) {
|
|
645
|
-
const val = getObject(arg0);
|
|
646
|
-
const ret = typeof(val) === 'object' && val !== null;
|
|
647
|
-
return ret;
|
|
648
|
-
};
|
|
649
|
-
|
|
650
|
-
module.exports.__wbindgen_is_undefined = function(arg0) {
|
|
651
|
-
const ret = getObject(arg0) === undefined;
|
|
652
|
-
return ret;
|
|
653
|
-
};
|
|
654
|
-
|
|
655
|
-
module.exports.__wbindgen_in = function(arg0, arg1) {
|
|
656
|
-
const ret = getObject(arg0) in getObject(arg1);
|
|
657
|
-
return ret;
|
|
658
|
-
};
|
|
659
|
-
|
|
660
|
-
module.exports.__wbg_log_ed32fbdd3c7f149c = function(arg0) {
|
|
661
|
-
console.log(getObject(arg0));
|
|
662
|
-
};
|
|
663
|
-
|
|
664
|
-
module.exports.__wbindgen_number_new = function(arg0) {
|
|
665
|
-
const ret = arg0;
|
|
666
|
-
return addHeapObject(ret);
|
|
667
|
-
};
|
|
668
|
-
|
|
669
|
-
module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
|
|
670
|
-
const ret = BigInt.asUintN(64, arg0);
|
|
671
|
-
return addHeapObject(ret);
|
|
672
|
-
};
|
|
673
|
-
|
|
674
|
-
module.exports.__wbindgen_object_clone_ref = function(arg0) {
|
|
675
|
-
const ret = getObject(arg0);
|
|
676
|
-
return addHeapObject(ret);
|
|
677
|
-
};
|
|
678
|
-
|
|
679
|
-
module.exports.__wbindgen_jsval_loose_eq = function(arg0, arg1) {
|
|
680
|
-
const ret = getObject(arg0) == getObject(arg1);
|
|
681
|
-
return ret;
|
|
682
|
-
};
|
|
683
|
-
|
|
684
|
-
module.exports.__wbindgen_boolean_get = function(arg0) {
|
|
685
|
-
const v = getObject(arg0);
|
|
686
|
-
const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
|
|
687
|
-
return ret;
|
|
688
|
-
};
|
|
689
|
-
|
|
690
|
-
module.exports.__wbindgen_number_get = function(arg0, arg1) {
|
|
691
|
-
const obj = getObject(arg1);
|
|
692
|
-
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
693
|
-
getFloat64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? 0 : ret;
|
|
694
|
-
getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
|
|
695
|
-
};
|
|
696
|
-
|
|
697
|
-
module.exports.__wbg_String_88810dfeb4021902 = function(arg0, arg1) {
|
|
698
|
-
const ret = String(getObject(arg1));
|
|
699
|
-
const ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
700
|
-
const len0 = WASM_VECTOR_LEN;
|
|
701
|
-
getInt32Memory0()[arg0 / 4 + 1] = len0;
|
|
702
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
|
|
703
|
-
};
|
|
704
|
-
|
|
705
|
-
module.exports.__wbg_getwithrefkey_5e6d9547403deab8 = function(arg0, arg1) {
|
|
706
|
-
const ret = getObject(arg0)[getObject(arg1)];
|
|
707
|
-
return addHeapObject(ret);
|
|
708
|
-
};
|
|
709
|
-
|
|
710
|
-
module.exports.__wbg_set_841ac57cff3d672b = function(arg0, arg1, arg2) {
|
|
711
|
-
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
712
|
-
};
|
|
713
|
-
|
|
714
|
-
module.exports.__wbg_randomFillSync_6894564c2c334c42 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
715
|
-
getObject(arg0).randomFillSync(getArrayU8FromWasm0(arg1, arg2));
|
|
716
|
-
}, arguments) };
|
|
717
|
-
|
|
718
|
-
module.exports.__wbg_getRandomValues_805f1c3d65988a5a = function() { return handleError(function (arg0, arg1) {
|
|
719
|
-
getObject(arg0).getRandomValues(getObject(arg1));
|
|
720
|
-
}, arguments) };
|
|
721
|
-
|
|
722
|
-
module.exports.__wbg_crypto_e1d53a1d73fb10b8 = function(arg0) {
|
|
723
|
-
const ret = getObject(arg0).crypto;
|
|
724
|
-
return addHeapObject(ret);
|
|
725
|
-
};
|
|
726
|
-
|
|
727
|
-
module.exports.__wbg_process_038c26bf42b093f8 = function(arg0) {
|
|
728
|
-
const ret = getObject(arg0).process;
|
|
729
|
-
return addHeapObject(ret);
|
|
730
|
-
};
|
|
731
|
-
|
|
732
|
-
module.exports.__wbg_versions_ab37218d2f0b24a8 = function(arg0) {
|
|
733
|
-
const ret = getObject(arg0).versions;
|
|
734
|
-
return addHeapObject(ret);
|
|
735
|
-
};
|
|
736
|
-
|
|
737
|
-
module.exports.__wbg_node_080f4b19d15bc1fe = function(arg0) {
|
|
738
|
-
const ret = getObject(arg0).node;
|
|
739
|
-
return addHeapObject(ret);
|
|
740
|
-
};
|
|
741
|
-
|
|
742
|
-
module.exports.__wbindgen_is_string = function(arg0) {
|
|
743
|
-
const ret = typeof(getObject(arg0)) === 'string';
|
|
744
|
-
return ret;
|
|
745
|
-
};
|
|
746
|
-
|
|
747
|
-
module.exports.__wbg_msCrypto_6e7d3e1f92610cbb = function(arg0) {
|
|
748
|
-
const ret = getObject(arg0).msCrypto;
|
|
749
|
-
return addHeapObject(ret);
|
|
750
|
-
};
|
|
751
|
-
|
|
752
|
-
module.exports.__wbg_require_78a3dcfbdba9cbce = function() { return handleError(function () {
|
|
753
|
-
const ret = module.require;
|
|
754
|
-
return addHeapObject(ret);
|
|
755
|
-
}, arguments) };
|
|
756
|
-
|
|
757
|
-
module.exports.__wbindgen_is_function = function(arg0) {
|
|
758
|
-
const ret = typeof(getObject(arg0)) === 'function';
|
|
759
|
-
return ret;
|
|
760
|
-
};
|
|
761
|
-
|
|
762
|
-
module.exports.__wbg_get_5c7997f237e97429 = function(arg0, arg1) {
|
|
763
|
-
const ret = getObject(arg0)[arg1 >>> 0];
|
|
764
|
-
return addHeapObject(ret);
|
|
765
|
-
};
|
|
766
|
-
|
|
767
|
-
module.exports.__wbg_length_c71e7a4e0f91ff23 = function(arg0) {
|
|
768
|
-
const ret = getObject(arg0).length;
|
|
769
|
-
return ret;
|
|
770
|
-
};
|
|
771
|
-
|
|
772
|
-
module.exports.__wbg_new_bfd57da4d3b6c976 = function() {
|
|
773
|
-
const ret = new Array();
|
|
774
|
-
return addHeapObject(ret);
|
|
775
|
-
};
|
|
776
|
-
|
|
777
|
-
module.exports.__wbg_newnoargs_e1ddb03293334932 = function(arg0, arg1) {
|
|
778
|
-
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
779
|
-
return addHeapObject(ret);
|
|
780
|
-
};
|
|
781
|
-
|
|
782
|
-
module.exports.__wbg_next_d5788befa145533f = function(arg0) {
|
|
783
|
-
const ret = getObject(arg0).next;
|
|
784
|
-
return addHeapObject(ret);
|
|
785
|
-
};
|
|
786
|
-
|
|
787
|
-
module.exports.__wbg_next_340569d73e765cd9 = function() { return handleError(function (arg0) {
|
|
788
|
-
const ret = getObject(arg0).next();
|
|
789
|
-
return addHeapObject(ret);
|
|
790
|
-
}, arguments) };
|
|
791
|
-
|
|
792
|
-
module.exports.__wbg_done_61149b6f01c9d837 = function(arg0) {
|
|
793
|
-
const ret = getObject(arg0).done;
|
|
794
|
-
return ret;
|
|
795
|
-
};
|
|
796
|
-
|
|
797
|
-
module.exports.__wbg_value_a81c9882b1329c07 = function(arg0) {
|
|
798
|
-
const ret = getObject(arg0).value;
|
|
799
|
-
return addHeapObject(ret);
|
|
800
|
-
};
|
|
801
|
-
|
|
802
|
-
module.exports.__wbg_iterator_911e8ffa32a68f2d = function() {
|
|
803
|
-
const ret = Symbol.iterator;
|
|
804
|
-
return addHeapObject(ret);
|
|
805
|
-
};
|
|
806
|
-
|
|
807
|
-
module.exports.__wbg_get_556a4c57efe02bcd = function() { return handleError(function (arg0, arg1) {
|
|
808
|
-
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
809
|
-
return addHeapObject(ret);
|
|
810
|
-
}, arguments) };
|
|
811
|
-
|
|
812
|
-
module.exports.__wbg_call_a6fa88c3302e8ad5 = function() { return handleError(function (arg0, arg1) {
|
|
813
|
-
const ret = getObject(arg0).call(getObject(arg1));
|
|
814
|
-
return addHeapObject(ret);
|
|
815
|
-
}, arguments) };
|
|
816
|
-
|
|
817
|
-
module.exports.__wbg_new_08b60aea8ab679bc = function() {
|
|
818
|
-
const ret = new Object();
|
|
819
|
-
return addHeapObject(ret);
|
|
820
|
-
};
|
|
821
|
-
|
|
822
|
-
module.exports.__wbg_self_14408afdb5c69451 = function() { return handleError(function () {
|
|
823
|
-
const ret = self.self;
|
|
824
|
-
return addHeapObject(ret);
|
|
825
|
-
}, arguments) };
|
|
826
|
-
|
|
827
|
-
module.exports.__wbg_window_75b1f6151d589837 = function() { return handleError(function () {
|
|
828
|
-
const ret = window.window;
|
|
829
|
-
return addHeapObject(ret);
|
|
830
|
-
}, arguments) };
|
|
831
|
-
|
|
832
|
-
module.exports.__wbg_globalThis_e2d2385b94c810da = function() { return handleError(function () {
|
|
833
|
-
const ret = globalThis.globalThis;
|
|
834
|
-
return addHeapObject(ret);
|
|
835
|
-
}, arguments) };
|
|
836
|
-
|
|
837
|
-
module.exports.__wbg_global_3c19477360f9b641 = function() { return handleError(function () {
|
|
838
|
-
const ret = global.global;
|
|
839
|
-
return addHeapObject(ret);
|
|
840
|
-
}, arguments) };
|
|
841
|
-
|
|
842
|
-
module.exports.__wbg_set_e8f26e21e55fa998 = function(arg0, arg1, arg2) {
|
|
843
|
-
getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
|
|
844
|
-
};
|
|
845
|
-
|
|
846
|
-
module.exports.__wbg_isArray_8d3ac415a656d809 = function(arg0) {
|
|
847
|
-
const ret = Array.isArray(getObject(arg0));
|
|
848
|
-
return ret;
|
|
849
|
-
};
|
|
850
|
-
|
|
851
|
-
module.exports.__wbg_instanceof_ArrayBuffer_02bbeeb60438c785 = function(arg0) {
|
|
852
|
-
let result;
|
|
853
|
-
try {
|
|
854
|
-
result = getObject(arg0) instanceof ArrayBuffer;
|
|
855
|
-
} catch {
|
|
856
|
-
result = false;
|
|
857
|
-
}
|
|
858
|
-
const ret = result;
|
|
859
|
-
return ret;
|
|
860
|
-
};
|
|
861
|
-
|
|
862
|
-
module.exports.__wbg_call_fe4813ad4076f5ef = function() { return handleError(function (arg0, arg1, arg2) {
|
|
863
|
-
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
|
|
864
|
-
return addHeapObject(ret);
|
|
865
|
-
}, arguments) };
|
|
866
|
-
|
|
867
|
-
module.exports.__wbg_getTime_def258a47d72ac06 = function(arg0) {
|
|
868
|
-
const ret = getObject(arg0).getTime();
|
|
869
|
-
return ret;
|
|
870
|
-
};
|
|
871
|
-
|
|
872
|
-
module.exports.__wbg_getTimezoneOffset_2ee2b0ab15c99512 = function(arg0) {
|
|
873
|
-
const ret = getObject(arg0).getTimezoneOffset();
|
|
874
|
-
return ret;
|
|
875
|
-
};
|
|
876
|
-
|
|
877
|
-
module.exports.__wbg_new0_d8c0fd74ecfbd384 = function() {
|
|
878
|
-
const ret = new Date();
|
|
879
|
-
return addHeapObject(ret);
|
|
880
|
-
};
|
|
881
|
-
|
|
882
|
-
module.exports.__wbg_buffer_e8e1791d59230f6e = function(arg0) {
|
|
883
|
-
const ret = getObject(arg0).buffer;
|
|
884
|
-
return addHeapObject(ret);
|
|
885
|
-
};
|
|
886
|
-
|
|
887
|
-
module.exports.__wbg_new_d256fd368dc8455c = function(arg0) {
|
|
888
|
-
const ret = new Uint8Array(getObject(arg0));
|
|
889
|
-
return addHeapObject(ret);
|
|
890
|
-
};
|
|
891
|
-
|
|
892
|
-
module.exports.__wbg_set_ff6a229de2633e38 = function(arg0, arg1, arg2) {
|
|
893
|
-
getObject(arg0).set(getObject(arg1), arg2 >>> 0);
|
|
894
|
-
};
|
|
895
|
-
|
|
896
|
-
module.exports.__wbg_length_8c589b0fd9987662 = function(arg0) {
|
|
897
|
-
const ret = getObject(arg0).length;
|
|
898
|
-
return ret;
|
|
899
|
-
};
|
|
900
|
-
|
|
901
|
-
module.exports.__wbg_instanceof_Uint8Array_36c37b9ca15e3e0a = function(arg0) {
|
|
902
|
-
let result;
|
|
903
|
-
try {
|
|
904
|
-
result = getObject(arg0) instanceof Uint8Array;
|
|
905
|
-
} catch {
|
|
906
|
-
result = false;
|
|
907
|
-
}
|
|
908
|
-
const ret = result;
|
|
909
|
-
return ret;
|
|
910
|
-
};
|
|
911
|
-
|
|
912
|
-
module.exports.__wbg_newwithlength_dc0752ff6d0d8cc2 = function(arg0) {
|
|
913
|
-
const ret = new Uint8Array(arg0 >>> 0);
|
|
914
|
-
return addHeapObject(ret);
|
|
915
|
-
};
|
|
916
|
-
|
|
917
|
-
module.exports.__wbg_subarray_fbf3eb17f25d3dd4 = function(arg0, arg1, arg2) {
|
|
918
|
-
const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
|
|
919
|
-
return addHeapObject(ret);
|
|
920
|
-
};
|
|
921
|
-
|
|
922
|
-
module.exports.__wbindgen_debug_string = function(arg0, arg1) {
|
|
923
|
-
const ret = debugString(getObject(arg1));
|
|
924
|
-
const ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
925
|
-
const len0 = WASM_VECTOR_LEN;
|
|
926
|
-
getInt32Memory0()[arg0 / 4 + 1] = len0;
|
|
927
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
|
|
928
|
-
};
|
|
929
|
-
|
|
930
|
-
module.exports.__wbindgen_throw = function(arg0, arg1) {
|
|
931
|
-
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
932
|
-
};
|
|
933
|
-
|
|
934
|
-
module.exports.__wbindgen_memory = function() {
|
|
935
|
-
const ret = wasm.memory;
|
|
936
|
-
return addHeapObject(ret);
|
|
937
|
-
};
|
|
938
|
-
|
|
939
|
-
const path = require('path').join(__dirname, 'logisheets_wasm_server_bg.wasm');
|
|
940
|
-
const bytes = require('fs').readFileSync(path);
|
|
941
|
-
|
|
942
|
-
const wasmModule = new WebAssembly.Module(bytes);
|
|
943
|
-
const wasmInstance = new WebAssembly.Instance(wasmModule, imports);
|
|
944
|
-
wasm = wasmInstance.exports;
|
|
945
|
-
module.exports.__wasm = wasm;
|
|
946
|
-
|