@abaplint/transpiler-cli 2.3.112 → 2.3.113
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/build/bundle.js +9 -2
- package/package.json +2 -2
- package/output/#ui2#cl_json.clas.locals.mjs +0 -207
- package/output/#ui2#cl_json.clas.locals.mjs.map +0 -10
- package/output/#ui2#cl_json.clas.mjs +0 -160
- package/output/#ui2#cl_json.clas.mjs.map +0 -10
- package/output/_init.mjs +0 -8964
- package/output/_top.mjs +0 -2
- package/output/_unit_open.mjs +0 -25
- package/output/abap_boolean.dtel.mjs +0 -6
- package/output/abap_callstack.ttyp.mjs +0 -4
- package/output/abap_callstack_line.tabl.mjs +0 -5
- package/output/abap_encod.dtel.mjs +0 -6
- package/output/balmnr.dtel.mjs +0 -6
- package/output/balognr.dtel.mjs +0 -6
- package/output/bapi_fld.dtel.mjs +0 -6
- package/output/bapi_line.dtel.mjs +0 -6
- package/output/bapi_msg.dtel.mjs +0 -6
- package/output/bapi_mtype.dtel.mjs +0 -6
- package/output/bapi_param.dtel.mjs +0 -6
- package/output/bapi_rcode.dtel.mjs +0 -6
- package/output/bapilogsys.dtel.mjs +0 -6
- package/output/bapioption.dtel.mjs +0 -6
- package/output/bapiret2.tabl.mjs +0 -5
- package/output/bapireturn.tabl.mjs +0 -5
- package/output/bapisign.dtel.mjs +0 -6
- package/output/boolean.dtel.mjs +0 -6
- package/output/char1.dtel.mjs +0 -6
- package/output/char10.dtel.mjs +0 -6
- package/output/char15.dtel.mjs +0 -6
- package/output/char25.dtel.mjs +0 -6
- package/output/char32.dtel.mjs +0 -6
- package/output/char4.dtel.mjs +0 -6
- package/output/cl_abap_char_utilities.clas.mjs +0 -72
- package/output/cl_abap_char_utilities.clas.mjs.map +0 -10
- package/output/cl_abap_classdescr.clas.mjs +0 -31
- package/output/cl_abap_classdescr.clas.mjs.map +0 -10
- package/output/cl_abap_codepage.clas.mjs +0 -54
- package/output/cl_abap_codepage.clas.mjs.map +0 -10
- package/output/cl_abap_complexdescr.clas.mjs +0 -16
- package/output/cl_abap_complexdescr.clas.mjs.map +0 -10
- package/output/cl_abap_conv_codepage.clas.locals.mjs +0 -42
- package/output/cl_abap_conv_codepage.clas.locals.mjs.map +0 -10
- package/output/cl_abap_conv_codepage.clas.mjs +0 -31
- package/output/cl_abap_conv_codepage.clas.mjs.map +0 -10
- package/output/cl_abap_conv_in_ce.clas.mjs +0 -118
- package/output/cl_abap_conv_in_ce.clas.mjs.map +0 -10
- package/output/cl_abap_conv_out_ce.clas.mjs +0 -82
- package/output/cl_abap_conv_out_ce.clas.mjs.map +0 -10
- package/output/cl_abap_datadescr.clas.mjs +0 -35
- package/output/cl_abap_datadescr.clas.mjs.map +0 -10
- package/output/cl_abap_elemdescr.clas.mjs +0 -148
- package/output/cl_abap_elemdescr.clas.mjs.map +0 -10
- package/output/cl_abap_enumdescr.clas.mjs +0 -19
- package/output/cl_abap_enumdescr.clas.mjs.map +0 -10
- package/output/cl_abap_exceptional_values.clas.mjs +0 -65
- package/output/cl_abap_exceptional_values.clas.mjs.map +0 -10
- package/output/cl_abap_format.clas.mjs +0 -26
- package/output/cl_abap_format.clas.mjs.map +0 -10
- package/output/cl_abap_gzip.clas.mjs +0 -87
- package/output/cl_abap_gzip.clas.mjs.map +0 -10
- package/output/cl_abap_hmac.clas.mjs +0 -64
- package/output/cl_abap_hmac.clas.mjs.map +0 -10
- package/output/cl_abap_intfdescr.clas.mjs +0 -16
- package/output/cl_abap_intfdescr.clas.mjs.map +0 -10
- package/output/cl_abap_matcher.clas.mjs +0 -76
- package/output/cl_abap_matcher.clas.mjs.map +0 -10
- package/output/cl_abap_math.clas.mjs +0 -41
- package/output/cl_abap_math.clas.mjs.map +0 -10
- package/output/cl_abap_objectdescr.clas.mjs +0 -76
- package/output/cl_abap_objectdescr.clas.mjs.map +0 -10
- package/output/cl_abap_random.clas.mjs +0 -52
- package/output/cl_abap_random.clas.mjs.map +0 -10
- package/output/cl_abap_random_int.clas.mjs +0 -35
- package/output/cl_abap_random_int.clas.mjs.map +0 -10
- package/output/cl_abap_refdescr.clas.mjs +0 -35
- package/output/cl_abap_refdescr.clas.mjs.map +0 -10
- package/output/cl_abap_regex.clas.mjs +0 -43
- package/output/cl_abap_regex.clas.mjs.map +0 -10
- package/output/cl_abap_structdescr.clas.mjs +0 -180
- package/output/cl_abap_structdescr.clas.mjs.map +0 -10
- package/output/cl_abap_tabledescr.clas.mjs +0 -152
- package/output/cl_abap_tabledescr.clas.mjs.map +0 -10
- package/output/cl_abap_tstmp.clas.mjs +0 -99
- package/output/cl_abap_tstmp.clas.mjs.map +0 -10
- package/output/cl_abap_typedescr.clas.mjs +0 -368
- package/output/cl_abap_typedescr.clas.mjs.map +0 -10
- package/output/cl_abap_unit_assert.clas.locals.mjs +0 -57
- package/output/cl_abap_unit_assert.clas.locals.mjs.map +0 -10
- package/output/cl_abap_unit_assert.clas.mjs +0 -323
- package/output/cl_abap_unit_assert.clas.mjs.map +0 -10
- package/output/cl_abap_zip.clas.locals.mjs +0 -115
- package/output/cl_abap_zip.clas.locals.mjs.map +0 -10
- package/output/cl_abap_zip.clas.mjs +0 -95
- package/output/cl_abap_zip.clas.mjs.map +0 -10
- package/output/cl_apc_tcp_client_manager.clas.locals.mjs +0 -86
- package/output/cl_apc_tcp_client_manager.clas.locals.mjs.map +0 -10
- package/output/cl_apc_tcp_client_manager.clas.mjs +0 -31
- package/output/cl_apc_tcp_client_manager.clas.mjs.map +0 -10
- package/output/cl_apc_wsp_ext_stateless_base.clas.mjs +0 -30
- package/output/cl_apc_wsp_ext_stateless_base.clas.mjs.map +0 -10
- package/output/cl_bcs.clas.mjs +0 -63
- package/output/cl_bcs.clas.mjs.map +0 -10
- package/output/cl_bcs_convert.clas.mjs +0 -34
- package/output/cl_bcs_convert.clas.mjs.map +0 -10
- package/output/cl_cam_address_bcs.clas.mjs +0 -28
- package/output/cl_cam_address_bcs.clas.mjs.map +0 -10
- package/output/cl_demo_output.clas.mjs +0 -40
- package/output/cl_demo_output.clas.mjs.map +0 -10
- package/output/cl_document_bcs.clas.mjs +0 -45
- package/output/cl_document_bcs.clas.mjs.map +0 -10
- package/output/cl_gdt_conversion.clas.mjs +0 -122
- package/output/cl_gdt_conversion.clas.mjs.map +0 -10
- package/output/cl_gui_cfw.clas.mjs +0 -32
- package/output/cl_gui_cfw.clas.mjs.map +0 -10
- package/output/cl_gui_container.clas.mjs +0 -22
- package/output/cl_gui_container.clas.mjs.map +0 -10
- package/output/cl_gui_frontend_services.clas.mjs +0 -273
- package/output/cl_gui_frontend_services.clas.mjs.map +0 -10
- package/output/cl_http_client.clas.mjs +0 -164
- package/output/cl_http_client.clas.mjs.map +0 -10
- package/output/cl_http_entity.clas.mjs +0 -493
- package/output/cl_http_entity.clas.mjs.map +0 -10
- package/output/cl_http_server.clas.mjs +0 -28
- package/output/cl_http_server.clas.mjs.map +0 -10
- package/output/cl_http_utility.clas.mjs +0 -178
- package/output/cl_http_utility.clas.mjs.map +0 -10
- package/output/cl_i18n_languages.clas.mjs +0 -318
- package/output/cl_i18n_languages.clas.mjs.map +0 -10
- package/output/cl_ixml.clas.locals.mjs +0 -1161
- package/output/cl_ixml.clas.locals.mjs.map +0 -10
- package/output/cl_ixml.clas.mjs +0 -62
- package/output/cl_ixml.clas.mjs.map +0 -10
- package/output/cl_message_helper.clas.mjs +0 -81
- package/output/cl_message_helper.clas.mjs.map +0 -10
- package/output/cl_numberrange_runtime.clas.mjs +0 -32
- package/output/cl_numberrange_runtime.clas.mjs.map +0 -10
- package/output/cl_oo_factory.clas.mjs +0 -38
- package/output/cl_oo_factory.clas.mjs.map +0 -10
- package/output/cl_progress_indicator.clas.mjs +0 -30
- package/output/cl_progress_indicator.clas.mjs.map +0 -10
- package/output/cl_salv_aggregations.clas.mjs +0 -14
- package/output/cl_salv_aggregations.clas.mjs.map +0 -10
- package/output/cl_salv_column.clas.mjs +0 -35
- package/output/cl_salv_column.clas.mjs.map +0 -10
- package/output/cl_salv_columns_table.clas.mjs +0 -42
- package/output/cl_salv_columns_table.clas.mjs.map +0 -10
- package/output/cl_salv_events_table.clas.mjs +0 -14
- package/output/cl_salv_events_table.clas.mjs.map +0 -10
- package/output/cl_salv_functions_list.clas.mjs +0 -19
- package/output/cl_salv_functions_list.clas.mjs.map +0 -10
- package/output/cl_salv_table.clas.mjs +0 -122
- package/output/cl_salv_table.clas.mjs.map +0 -10
- package/output/cl_shm_area.clas.mjs +0 -267
- package/output/cl_shm_area.clas.mjs.map +0 -10
- package/output/cl_shm_service.clas.mjs +0 -56
- package/output/cl_shm_service.clas.mjs.map +0 -10
- package/output/cl_sxml_string_reader.clas.locals.mjs +0 -323
- package/output/cl_sxml_string_reader.clas.locals.mjs.map +0 -10
- package/output/cl_sxml_string_reader.clas.mjs +0 -25
- package/output/cl_sxml_string_reader.clas.mjs.map +0 -10
- package/output/cl_sxml_string_writer.clas.mjs +0 -146
- package/output/cl_sxml_string_writer.clas.mjs.map +0 -10
- package/output/cl_system_uuid.clas.mjs +0 -35
- package/output/cl_system_uuid.clas.mjs.map +0 -10
- package/output/cx_abap_message_digest.clas.mjs +0 -16
- package/output/cx_abap_message_digest.clas.mjs.map +0 -10
- package/output/cx_abap_random.clas.mjs +0 -16
- package/output/cx_abap_random.clas.mjs.map +0 -10
- package/output/cx_apc_error.clas.mjs +0 -16
- package/output/cx_apc_error.clas.mjs.map +0 -10
- package/output/cx_bcs.clas.mjs +0 -16
- package/output/cx_bcs.clas.mjs.map +0 -10
- package/output/cx_dynamic_check.clas.mjs +0 -15
- package/output/cx_dynamic_check.clas.mjs.map +0 -10
- package/output/cx_gdt_conversion.clas.mjs +0 -16
- package/output/cx_gdt_conversion.clas.mjs.map +0 -10
- package/output/cx_no_check.clas.mjs +0 -17
- package/output/cx_no_check.clas.mjs.map +0 -10
- package/output/cx_oo_clif_not_exists.clas.mjs +0 -16
- package/output/cx_oo_clif_not_exists.clas.mjs.map +0 -10
- package/output/cx_parameter_invalid.clas.mjs +0 -16
- package/output/cx_parameter_invalid.clas.mjs.map +0 -10
- package/output/cx_parameter_invalid_range.clas.mjs +0 -16
- package/output/cx_parameter_invalid_range.clas.mjs.map +0 -10
- package/output/cx_parameter_invalid_type.clas.mjs +0 -16
- package/output/cx_parameter_invalid_type.clas.mjs.map +0 -10
- package/output/cx_root.clas.mjs +0 -44
- package/output/cx_root.clas.mjs.map +0 -10
- package/output/cx_salv_access_error.clas.mjs +0 -16
- package/output/cx_salv_access_error.clas.mjs.map +0 -10
- package/output/cx_salv_data_error.clas.mjs +0 -16
- package/output/cx_salv_data_error.clas.mjs.map +0 -10
- package/output/cx_salv_error.clas.mjs +0 -16
- package/output/cx_salv_error.clas.mjs.map +0 -10
- package/output/cx_salv_msg.clas.mjs +0 -16
- package/output/cx_salv_msg.clas.mjs.map +0 -10
- package/output/cx_salv_not_found.clas.mjs +0 -16
- package/output/cx_salv_not_found.clas.mjs.map +0 -10
- package/output/cx_salv_static_check.clas.mjs +0 -16
- package/output/cx_salv_static_check.clas.mjs.map +0 -10
- package/output/cx_shm_already_detached.clas.mjs +0 -16
- package/output/cx_shm_already_detached.clas.mjs.map +0 -10
- package/output/cx_shm_attach_error.clas.mjs +0 -16
- package/output/cx_shm_attach_error.clas.mjs.map +0 -10
- package/output/cx_shm_build_failed.clas.mjs +0 -16
- package/output/cx_shm_build_failed.clas.mjs.map +0 -10
- package/output/cx_shm_change_lock_active.clas.mjs +0 -16
- package/output/cx_shm_change_lock_active.clas.mjs.map +0 -10
- package/output/cx_shm_completion_error.clas.mjs +0 -16
- package/output/cx_shm_completion_error.clas.mjs.map +0 -10
- package/output/cx_shm_detach_error.clas.mjs +0 -16
- package/output/cx_shm_detach_error.clas.mjs.map +0 -10
- package/output/cx_shm_error.clas.mjs +0 -16
- package/output/cx_shm_error.clas.mjs.map +0 -10
- package/output/cx_shm_event_execution_failed.clas.mjs +0 -16
- package/output/cx_shm_event_execution_failed.clas.mjs.map +0 -10
- package/output/cx_shm_exclusive_lock_active.clas.mjs +0 -16
- package/output/cx_shm_exclusive_lock_active.clas.mjs.map +0 -10
- package/output/cx_shm_general_error.clas.mjs +0 -16
- package/output/cx_shm_general_error.clas.mjs.map +0 -10
- package/output/cx_shm_inconsistent.clas.mjs +0 -16
- package/output/cx_shm_inconsistent.clas.mjs.map +0 -10
- package/output/cx_shm_initial_reference.clas.mjs +0 -16
- package/output/cx_shm_initial_reference.clas.mjs.map +0 -10
- package/output/cx_shm_no_active_version.clas.mjs +0 -16
- package/output/cx_shm_no_active_version.clas.mjs.map +0 -10
- package/output/cx_shm_parameter_error.clas.mjs +0 -16
- package/output/cx_shm_parameter_error.clas.mjs.map +0 -10
- package/output/cx_shm_pending_lock_removed.clas.mjs +0 -16
- package/output/cx_shm_pending_lock_removed.clas.mjs.map +0 -10
- package/output/cx_shm_read_lock_active.clas.mjs +0 -16
- package/output/cx_shm_read_lock_active.clas.mjs.map +0 -10
- package/output/cx_shm_secondary_commit.clas.mjs +0 -16
- package/output/cx_shm_secondary_commit.clas.mjs.map +0 -10
- package/output/cx_shm_version_limit_exceeded.clas.mjs +0 -16
- package/output/cx_shm_version_limit_exceeded.clas.mjs.map +0 -10
- package/output/cx_shm_wrong_handle.clas.mjs +0 -16
- package/output/cx_shm_wrong_handle.clas.mjs.map +0 -10
- package/output/cx_shma_dynamic.clas.mjs +0 -16
- package/output/cx_shma_dynamic.clas.mjs.map +0 -10
- package/output/cx_shma_inconsistent.clas.mjs +0 -16
- package/output/cx_shma_inconsistent.clas.mjs.map +0 -10
- package/output/cx_shma_not_configured.clas.mjs +0 -16
- package/output/cx_shma_not_configured.clas.mjs.map +0 -10
- package/output/cx_static_check.clas.mjs +0 -27
- package/output/cx_static_check.clas.mjs.map +0 -10
- package/output/cx_sxml_error.clas.mjs +0 -16
- package/output/cx_sxml_error.clas.mjs.map +0 -10
- package/output/cx_sxml_illegal_argument_error.clas.mjs +0 -16
- package/output/cx_sxml_illegal_argument_error.clas.mjs.map +0 -10
- package/output/cx_sxml_name_error.clas.mjs +0 -16
- package/output/cx_sxml_name_error.clas.mjs.map +0 -10
- package/output/cx_sxml_parse_error.clas.mjs +0 -20
- package/output/cx_sxml_parse_error.clas.mjs.map +0 -10
- package/output/cx_sxml_state_error.clas.mjs +0 -16
- package/output/cx_sxml_state_error.clas.mjs.map +0 -10
- package/output/cx_sy_arithmetic_error.clas.mjs +0 -16
- package/output/cx_sy_arithmetic_error.clas.mjs.map +0 -10
- package/output/cx_sy_buffer_overflow.clas.mjs +0 -16
- package/output/cx_sy_buffer_overflow.clas.mjs.map +0 -10
- package/output/cx_sy_codepage_converter_init.clas.mjs +0 -16
- package/output/cx_sy_codepage_converter_init.clas.mjs.map +0 -10
- package/output/cx_sy_compression_error.clas.mjs +0 -16
- package/output/cx_sy_compression_error.clas.mjs.map +0 -10
- package/output/cx_sy_conversion_codepage.clas.mjs +0 -17
- package/output/cx_sy_conversion_codepage.clas.mjs.map +0 -10
- package/output/cx_sy_conversion_data_loss.clas.mjs +0 -16
- package/output/cx_sy_conversion_data_loss.clas.mjs.map +0 -10
- package/output/cx_sy_conversion_error.clas.mjs +0 -16
- package/output/cx_sy_conversion_error.clas.mjs.map +0 -10
- package/output/cx_sy_conversion_no_number.clas.mjs +0 -16
- package/output/cx_sy_conversion_no_number.clas.mjs.map +0 -10
- package/output/cx_sy_conversion_overflow.clas.mjs +0 -16
- package/output/cx_sy_conversion_overflow.clas.mjs.map +0 -10
- package/output/cx_sy_create_data_error.clas.mjs +0 -16
- package/output/cx_sy_create_data_error.clas.mjs.map +0 -10
- package/output/cx_sy_create_object_error.clas.mjs +0 -29
- package/output/cx_sy_create_object_error.clas.mjs.map +0 -10
- package/output/cx_sy_data_access_error.clas.mjs +0 -16
- package/output/cx_sy_data_access_error.clas.mjs.map +0 -10
- package/output/cx_sy_duplicate_key.clas.mjs +0 -16
- package/output/cx_sy_duplicate_key.clas.mjs.map +0 -10
- package/output/cx_sy_dyn_call_error.clas.mjs +0 -16
- package/output/cx_sy_dyn_call_error.clas.mjs.map +0 -10
- package/output/cx_sy_dyn_call_illegal_class.clas.mjs +0 -16
- package/output/cx_sy_dyn_call_illegal_class.clas.mjs.map +0 -10
- package/output/cx_sy_dyn_call_illegal_func.clas.mjs +0 -16
- package/output/cx_sy_dyn_call_illegal_func.clas.mjs.map +0 -10
- package/output/cx_sy_dyn_call_illegal_method.clas.mjs +0 -27
- package/output/cx_sy_dyn_call_illegal_method.clas.mjs.map +0 -10
- package/output/cx_sy_dyn_call_param_not_found.clas.mjs +0 -16
- package/output/cx_sy_dyn_call_param_not_found.clas.mjs.map +0 -10
- package/output/cx_sy_dyn_call_parameter_error.clas.mjs +0 -17
- package/output/cx_sy_dyn_call_parameter_error.clas.mjs.map +0 -10
- package/output/cx_sy_dynamic_osql_error.clas.mjs +0 -18
- package/output/cx_sy_dynamic_osql_error.clas.mjs.map +0 -10
- package/output/cx_sy_dynamic_osql_semantics.clas.mjs +0 -18
- package/output/cx_sy_dynamic_osql_semantics.clas.mjs.map +0 -10
- package/output/cx_sy_itab_duplicate_key.clas.mjs +0 -16
- package/output/cx_sy_itab_duplicate_key.clas.mjs.map +0 -10
- package/output/cx_sy_itab_error.clas.mjs +0 -16
- package/output/cx_sy_itab_error.clas.mjs.map +0 -10
- package/output/cx_sy_itab_line_not_found.clas.mjs +0 -16
- package/output/cx_sy_itab_line_not_found.clas.mjs.map +0 -10
- package/output/cx_sy_message_illegal_text.clas.mjs +0 -16
- package/output/cx_sy_message_illegal_text.clas.mjs.map +0 -10
- package/output/cx_sy_move_cast_error.clas.mjs +0 -16
- package/output/cx_sy_move_cast_error.clas.mjs.map +0 -10
- package/output/cx_sy_open_sql_error.clas.mjs +0 -18
- package/output/cx_sy_open_sql_error.clas.mjs.map +0 -10
- package/output/cx_sy_range_out_of_bounds.clas.mjs +0 -16
- package/output/cx_sy_range_out_of_bounds.clas.mjs.map +0 -10
- package/output/cx_sy_ref_is_initial.clas.mjs +0 -16
- package/output/cx_sy_ref_is_initial.clas.mjs.map +0 -10
- package/output/cx_sy_sql_error.clas.mjs +0 -20
- package/output/cx_sy_sql_error.clas.mjs.map +0 -10
- package/output/cx_sy_strg_par_val.clas.mjs +0 -16
- package/output/cx_sy_strg_par_val.clas.mjs.map +0 -10
- package/output/cx_sy_struct_attributes.clas.mjs +0 -16
- package/output/cx_sy_struct_attributes.clas.mjs.map +0 -10
- package/output/cx_sy_struct_comp_name.clas.mjs +0 -16
- package/output/cx_sy_struct_comp_name.clas.mjs.map +0 -10
- package/output/cx_sy_struct_comp_type.clas.mjs +0 -16
- package/output/cx_sy_struct_comp_type.clas.mjs.map +0 -10
- package/output/cx_sy_struct_creation.clas.mjs +0 -16
- package/output/cx_sy_struct_creation.clas.mjs.map +0 -10
- package/output/cx_sy_type_creation.clas.mjs +0 -16
- package/output/cx_sy_type_creation.clas.mjs.map +0 -10
- package/output/cx_sy_zerodivide.clas.mjs +0 -16
- package/output/cx_sy_zerodivide.clas.mjs.map +0 -10
- package/output/cx_transformation_error.clas.mjs +0 -16
- package/output/cx_transformation_error.clas.mjs.map +0 -10
- package/output/cx_uuid_error.clas.mjs +0 -16
- package/output/cx_uuid_error.clas.mjs.map +0 -10
- package/output/cx_xslt_exception.clas.mjs +0 -16
- package/output/cx_xslt_exception.clas.mjs.map +0 -10
- package/output/cx_xslt_format_error.clas.mjs +0 -16
- package/output/cx_xslt_format_error.clas.mjs.map +0 -10
- package/output/cx_xslt_runtime_error.clas.mjs +0 -16
- package/output/cx_xslt_runtime_error.clas.mjs.map +0 -10
- package/output/cx_xslt_system_error.clas.mjs +0 -16
- package/output/cx_xslt_system_error.clas.mjs.map +0 -10
- package/output/dats.dtel.mjs +0 -6
- package/output/ddfields.ttyp.mjs +0 -4
- package/output/ddoption.dtel.mjs +0 -6
- package/output/ddsign.dtel.mjs +0 -6
- package/output/devclass.dtel.mjs +0 -6
- package/output/dfies.tabl.mjs +0 -5
- package/output/doku_obj.dtel.mjs +0 -6
- package/output/dynprofld.dtel.mjs +0 -6
- package/output/file_table.tabl.mjs +0 -5
- package/output/filetable.ttyp.mjs +0 -4
- package/output/flag.dtel.mjs +0 -6
- package/output/funcname.dtel.mjs +0 -6
- package/output/guid.dtel.mjs +0 -6
- package/output/if_abap_channel_types.intf.mjs +0 -9
- package/output/if_abap_channel_types.intf.mjs.map +0 -8
- package/output/if_abap_conv_in.intf.mjs +0 -8
- package/output/if_abap_conv_in.intf.mjs.map +0 -8
- package/output/if_abap_conv_out.intf.mjs +0 -8
- package/output/if_abap_conv_out.intf.mjs.map +0 -8
- package/output/if_abap_unit_constant.intf.mjs +0 -15
- package/output/if_abap_unit_constant.intf.mjs.map +0 -8
- package/output/if_apc_tcp_frame_types.intf.mjs +0 -14
- package/output/if_apc_tcp_frame_types.intf.mjs.map +0 -8
- package/output/if_apc_wsp_binding_manager.intf.mjs +0 -8
- package/output/if_apc_wsp_binding_manager.intf.mjs.map +0 -8
- package/output/if_apc_wsp_client.intf.mjs +0 -8
- package/output/if_apc_wsp_client.intf.mjs.map +0 -8
- package/output/if_apc_wsp_event_handler.intf.mjs +0 -8
- package/output/if_apc_wsp_event_handler.intf.mjs.map +0 -8
- package/output/if_apc_wsp_extension.intf.mjs +0 -8
- package/output/if_apc_wsp_extension.intf.mjs.map +0 -8
- package/output/if_apc_wsp_initial_request.intf.mjs +0 -8
- package/output/if_apc_wsp_initial_request.intf.mjs.map +0 -8
- package/output/if_apc_wsp_message.intf.mjs +0 -8
- package/output/if_apc_wsp_message.intf.mjs.map +0 -8
- package/output/if_apc_wsp_message_manager.intf.mjs +0 -8
- package/output/if_apc_wsp_message_manager.intf.mjs.map +0 -8
- package/output/if_apc_wsp_server_context.intf.mjs +0 -8
- package/output/if_apc_wsp_server_context.intf.mjs.map +0 -8
- package/output/if_aunit_constants.intf.mjs +0 -27
- package/output/if_aunit_constants.intf.mjs.map +0 -8
- package/output/if_document_bcs.intf.mjs +0 -8
- package/output/if_document_bcs.intf.mjs.map +0 -8
- package/output/if_http_client.intf.mjs +0 -12
- package/output/if_http_client.intf.mjs.map +0 -8
- package/output/if_http_entity.intf.mjs +0 -14
- package/output/if_http_entity.intf.mjs.map +0 -8
- package/output/if_http_extension.intf.mjs +0 -12
- package/output/if_http_extension.intf.mjs.map +0 -8
- package/output/if_http_request.intf.mjs +0 -16
- package/output/if_http_request.intf.mjs.map +0 -8
- package/output/if_http_response.intf.mjs +0 -8
- package/output/if_http_response.intf.mjs.map +0 -8
- package/output/if_http_server.intf.mjs +0 -20
- package/output/if_http_server.intf.mjs.map +0 -8
- package/output/if_http_utility.intf.mjs +0 -8
- package/output/if_http_utility.intf.mjs.map +0 -8
- package/output/if_ixml.intf.mjs +0 -8
- package/output/if_ixml.intf.mjs.map +0 -8
- package/output/if_ixml_attribute.intf.mjs +0 -8
- package/output/if_ixml_attribute.intf.mjs.map +0 -8
- package/output/if_ixml_document.intf.mjs +0 -8
- package/output/if_ixml_document.intf.mjs.map +0 -8
- package/output/if_ixml_element.intf.mjs +0 -8
- package/output/if_ixml_element.intf.mjs.map +0 -8
- package/output/if_ixml_encoding.intf.mjs +0 -10
- package/output/if_ixml_encoding.intf.mjs.map +0 -8
- package/output/if_ixml_istream.intf.mjs +0 -8
- package/output/if_ixml_istream.intf.mjs.map +0 -8
- package/output/if_ixml_named_node_map.intf.mjs +0 -8
- package/output/if_ixml_named_node_map.intf.mjs.map +0 -8
- package/output/if_ixml_node.intf.mjs +0 -12
- package/output/if_ixml_node.intf.mjs.map +0 -8
- package/output/if_ixml_node_iterator.intf.mjs +0 -8
- package/output/if_ixml_node_iterator.intf.mjs.map +0 -8
- package/output/if_ixml_node_list.intf.mjs +0 -8
- package/output/if_ixml_node_list.intf.mjs.map +0 -8
- package/output/if_ixml_ostream.intf.mjs +0 -8
- package/output/if_ixml_ostream.intf.mjs.map +0 -8
- package/output/if_ixml_parse_error.intf.mjs +0 -8
- package/output/if_ixml_parse_error.intf.mjs.map +0 -8
- package/output/if_ixml_parser.intf.mjs +0 -10
- package/output/if_ixml_parser.intf.mjs.map +0 -8
- package/output/if_ixml_renderer.intf.mjs +0 -8
- package/output/if_ixml_renderer.intf.mjs.map +0 -8
- package/output/if_ixml_stream_factory.intf.mjs +0 -8
- package/output/if_ixml_stream_factory.intf.mjs.map +0 -8
- package/output/if_ixml_unknown.intf.mjs +0 -8
- package/output/if_ixml_unknown.intf.mjs.map +0 -8
- package/output/if_message.intf.mjs +0 -8
- package/output/if_message.intf.mjs.map +0 -8
- package/output/if_oo_adt_classrun.intf.mjs +0 -8
- package/output/if_oo_adt_classrun.intf.mjs.map +0 -8
- package/output/if_oo_adt_classrun_out.intf.mjs +0 -8
- package/output/if_oo_adt_classrun_out.intf.mjs.map +0 -8
- package/output/if_oo_clif_source.intf.mjs +0 -8
- package/output/if_oo_clif_source.intf.mjs.map +0 -8
- package/output/if_recipient_bcs.intf.mjs +0 -8
- package/output/if_recipient_bcs.intf.mjs.map +0 -8
- package/output/if_salv_c_bool_sap.intf.mjs +0 -12
- package/output/if_salv_c_bool_sap.intf.mjs.map +0 -8
- package/output/if_salv_c_selection_mode.intf.mjs +0 -18
- package/output/if_salv_c_selection_mode.intf.mjs.map +0 -8
- package/output/if_sender_bcs.intf.mjs +0 -8
- package/output/if_sender_bcs.intf.mjs.map +0 -8
- package/output/if_serializable_object.intf.mjs +0 -8
- package/output/if_serializable_object.intf.mjs.map +0 -8
- package/output/if_shm_build_instance.intf.mjs +0 -8
- package/output/if_shm_build_instance.intf.mjs.map +0 -8
- package/output/if_shm_trace.intf.mjs +0 -8
- package/output/if_shm_trace.intf.mjs.map +0 -8
- package/output/if_sxml.intf.mjs +0 -17
- package/output/if_sxml.intf.mjs.map +0 -8
- package/output/if_sxml_attribute.intf.mjs +0 -9
- package/output/if_sxml_attribute.intf.mjs.map +0 -8
- package/output/if_sxml_close_element.intf.mjs +0 -8
- package/output/if_sxml_close_element.intf.mjs.map +0 -8
- package/output/if_sxml_node.intf.mjs +0 -19
- package/output/if_sxml_node.intf.mjs.map +0 -8
- package/output/if_sxml_open_element.intf.mjs +0 -8
- package/output/if_sxml_open_element.intf.mjs.map +0 -8
- package/output/if_sxml_reader.intf.mjs +0 -8
- package/output/if_sxml_reader.intf.mjs.map +0 -8
- package/output/if_sxml_value.intf.mjs +0 -11
- package/output/if_sxml_value.intf.mjs.map +0 -8
- package/output/if_sxml_value_node.intf.mjs +0 -8
- package/output/if_sxml_value_node.intf.mjs.map +0 -8
- package/output/if_sxml_writer.intf.mjs +0 -26
- package/output/if_sxml_writer.intf.mjs.map +0 -8
- package/output/if_sxmlp_factory.intf.mjs +0 -8
- package/output/if_sxmlp_factory.intf.mjs.map +0 -8
- package/output/if_sxmlp_list.intf.mjs +0 -8
- package/output/if_sxmlp_list.intf.mjs.map +0 -8
- package/output/if_sxmlp_part.intf.mjs +0 -8
- package/output/if_sxmlp_part.intf.mjs.map +0 -8
- package/output/if_sxmlp_simple.intf.mjs +0 -8
- package/output/if_sxmlp_simple.intf.mjs.map +0 -8
- package/output/if_system_uuid_rfc4122_static.intf.mjs +0 -8
- package/output/if_system_uuid_rfc4122_static.intf.mjs.map +0 -8
- package/output/if_system_uuid_static.intf.mjs +0 -8
- package/output/if_system_uuid_static.intf.mjs.map +0 -8
- package/output/if_t100_dyn_msg.intf.mjs +0 -8
- package/output/if_t100_dyn_msg.intf.mjs.map +0 -8
- package/output/if_t100_message.intf.mjs +0 -15
- package/output/if_t100_message.intf.mjs.map +0 -8
- package/output/ihttpnvp.tabl.mjs +0 -5
- package/output/index.mjs +0 -35
- package/output/init.mjs +0 -8965
- package/output/int1.dtel.mjs +0 -6
- package/output/int2.dtel.mjs +0 -6
- package/output/int4.dtel.mjs +0 -6
- package/output/kernel_authority_check.clas.mjs +0 -20
- package/output/kernel_authority_check.clas.mjs.map +0 -10
- package/output/kernel_call.clas.mjs +0 -28
- package/output/kernel_call.clas.mjs.map +0 -10
- package/output/kernel_call_transformation.clas.mjs +0 -182
- package/output/kernel_call_transformation.clas.mjs.map +0 -10
- package/output/kernel_create_data_handle.clas.mjs +0 -121
- package/output/kernel_create_data_handle.clas.mjs.map +0 -10
- package/output/kernel_cx_assert.clas.mjs +0 -33
- package/output/kernel_cx_assert.clas.mjs.map +0 -10
- package/output/kernel_fugr_test.clas.mjs +0 -14
- package/output/kernel_fugr_test.clas.mjs.map +0 -10
- package/output/kernel_ixml_json_to_data.clas.mjs +0 -145
- package/output/kernel_ixml_json_to_data.clas.mjs.map +0 -10
- package/output/kernel_ixml_xml_to_data.clas.mjs +0 -96
- package/output/kernel_ixml_xml_to_data.clas.mjs.map +0 -10
- package/output/kernel_json_to_ixml.clas.mjs +0 -78
- package/output/kernel_json_to_ixml.clas.mjs.map +0 -10
- package/output/kernel_lock.clas.mjs +0 -31
- package/output/kernel_lock.clas.mjs.map +0 -10
- package/output/kernel_numberrange.clas.mjs +0 -38
- package/output/kernel_numberrange.clas.mjs.map +0 -10
- package/output/kernel_push_channels.clas.mjs +0 -20
- package/output/kernel_push_channels.clas.mjs.map +0 -10
- package/output/kernel_scan_abap_source.clas.mjs +0 -212
- package/output/kernel_scan_abap_source.clas.mjs.map +0 -10
- package/output/kernel_unit_runner.clas.mjs +0 -199
- package/output/kernel_unit_runner.clas.mjs.map +0 -10
- package/output/laiso.dtel.mjs +0 -6
- package/output/land1.dtel.mjs +0 -6
- package/output/langu.dtel.mjs +0 -6
- package/output/lvc_nokeyc.dtel.mjs +0 -6
- package/output/mandt.dtel.mjs +0 -6
- package/output/match_result.tabl.mjs +0 -5
- package/output/match_result_tab.ttyp.mjs +0 -4
- package/output/msehi.dtel.mjs +0 -6
- package/output/number_get_next.fugr.number_get_next.mjs +0 -23
- package/output/number_get_next.fugr.number_get_next.mjs.map +0 -8
- package/output/number_get_next.fugr.saplnumber_get_next.mjs +0 -5
- package/output/number_get_next.fugr.saplnumber_get_next.mjs.map +0 -8
- package/output/numc4.dtel.mjs +0 -6
- package/output/openabap.fugr.conversion_exit_alpha_input.mjs +0 -17
- package/output/openabap.fugr.conversion_exit_alpha_input.mjs.map +0 -8
- package/output/openabap.fugr.conversion_exit_alpha_output.mjs +0 -18
- package/output/openabap.fugr.conversion_exit_alpha_output.mjs.map +0 -8
- package/output/openabap.fugr.conversion_exit_isola_input.mjs +0 -20
- package/output/openabap.fugr.conversion_exit_isola_input.mjs.map +0 -8
- package/output/openabap.fugr.conversion_exit_isola_output.mjs +0 -17
- package/output/openabap.fugr.conversion_exit_isola_output.mjs.map +0 -8
- package/output/openabap.fugr.convert_itf_to_stream_text.mjs +0 -21
- package/output/openabap.fugr.convert_itf_to_stream_text.mjs.map +0 -8
- package/output/openabap.fugr.docu_get.mjs +0 -29
- package/output/openabap.fugr.docu_get.mjs.map +0 -8
- package/output/openabap.fugr.generate_sec_random.mjs +0 -19
- package/output/openabap.fugr.generate_sec_random.mjs.map +0 -8
- package/output/openabap.fugr.get_system_timezone.mjs +0 -12
- package/output/openabap.fugr.get_system_timezone.mjs.map +0 -8
- package/output/openabap.fugr.saplzopenabap.mjs +0 -5
- package/output/openabap.fugr.saplzopenabap.mjs.map +0 -8
- package/output/openabap.fugr.system_callstack.mjs +0 -16
- package/output/openabap.fugr.system_callstack.mjs.map +0 -8
- package/output/openabap.fugr.system_installed_languages.mjs +0 -13
- package/output/openabap.fugr.system_installed_languages.mjs.map +0 -8
- package/output/openabap.fugr.text_split.mjs +0 -33
- package/output/openabap.fugr.text_split.mjs.map +0 -8
- package/output/reposrc.tabl.mjs +0 -5
- package/output/rfcdest.dtel.mjs +0 -6
- package/output/scrtext_l.dtel.mjs +0 -6
- package/output/scrtext_m.dtel.mjs +0 -6
- package/output/scrtext_s.dtel.mjs +0 -6
- package/output/scx_attrname.dtel.mjs +0 -6
- package/output/scx_t100key.tabl.mjs +0 -5
- package/output/seoclsname.dtel.mjs +0 -6
- package/output/shm_affect_server.dtel.mjs +0 -6
- package/output/shm_area_name.dtel.mjs +0 -6
- package/output/shm_attach_mode.dtel.mjs +0 -6
- package/output/shm_auto_build_class_name.dtel.mjs +0 -6
- package/output/shm_client.dtel.mjs +0 -6
- package/output/shm_constr_invocation_mode.dtel.mjs +0 -6
- package/output/shm_inst_infos.dtel.mjs +0 -6
- package/output/shm_inst_name.dtel.mjs +0 -6
- package/output/shm_life_context.dtel.mjs +0 -6
- package/output/shm_properties.tabl.mjs +0 -5
- package/output/shm_rc.dtel.mjs +0 -6
- package/output/shma_attributes.tabl.mjs +0 -5
- package/output/shma_client.dtel.mjs +0 -6
- package/output/shmm_trc_variant_name.dtel.mjs +0 -6
- package/output/so_raw255.dtel.mjs +0 -6
- package/output/so_text255.dtel.mjs +0 -6
- package/output/soli.tabl.mjs +0 -5
- package/output/soli_tab.ttyp.mjs +0 -4
- package/output/solix.tabl.mjs +0 -5
- package/output/solix_tab.ttyp.mjs +0 -4
- package/output/sotr_conc.dtel.mjs +0 -6
- package/output/spras.dtel.mjs +0 -6
- package/output/ssfapplssl.dtel.mjs +0 -6
- package/output/sstmnt.tabl.mjs +0 -5
- package/output/sstmnt_tab.ttyp.mjs +0 -4
- package/output/sstruc.tabl.mjs +0 -5
- package/output/sstruc_tab.ttyp.mjs +0 -4
- package/output/stokes.tabl.mjs +0 -5
- package/output/stokes_tab.ttyp.mjs +0 -4
- package/output/stokesx.tabl.mjs +0 -5
- package/output/string_table.ttyp.mjs +0 -4
- package/output/submatch_result.tabl.mjs +0 -5
- package/output/submatch_result_tab.ttyp.mjs +0 -4
- package/output/sydate.dtel.mjs +0 -6
- package/output/symsg.tabl.mjs +0 -5
- package/output/symsgid.dtel.mjs +0 -6
- package/output/symsgno.dtel.mjs +0 -6
- package/output/symsgty.dtel.mjs +0 -6
- package/output/symsgv.dtel.mjs +0 -6
- package/output/syst_host.dtel.mjs +0 -6
- package/output/sysubrc.dtel.mjs +0 -6
- package/output/sysuuid_c36.dtel.mjs +0 -6
- package/output/sysuuid_x16.dtel.mjs +0 -6
- package/output/syuname.dtel.mjs +0 -6
- package/output/t000.tabl.mjs +0 -5
- package/output/t100.tabl.mjs +0 -5
- package/output/tabfdpos.dtel.mjs +0 -6
- package/output/tabname.dtel.mjs +0 -6
- package/output/tadir.tabl.mjs +0 -5
- package/output/tdevc.tabl.mjs +0 -5
- package/output/tdline.dtel.mjs +0 -6
- package/output/text20.dtel.mjs +0 -6
- package/output/text200.dtel.mjs +0 -6
- package/output/text255.dtel.mjs +0 -6
- package/output/text30.dtel.mjs +0 -6
- package/output/text80.dtel.mjs +0 -6
- package/output/textpool.tabl.mjs +0 -5
- package/output/tfdir.tabl.mjs +0 -5
- package/output/tihttpnvp.ttyp.mjs +0 -4
- package/output/timestamp.dtel.mjs +0 -6
- package/output/timestampl.dtel.mjs +0 -6
- package/output/timezone.dtel.mjs +0 -6
- package/output/tline.tabl.mjs +0 -5
- package/output/tline_tab.ttyp.mjs +0 -4
- package/output/trfunction.dtel.mjs +0 -6
- package/output/trkorr.dtel.mjs +0 -6
- package/output/tzntstmpl.dtel.mjs +0 -6
- package/output/uname.dtel.mjs +0 -6
- package/output/w3mime.tabl.mjs +0 -5
- package/output/wwwdatatab.tabl.mjs +0 -5
- package/output/wwwparams.tabl.mjs +0 -5
- package/output/xfeld.dtel.mjs +0 -6
- package/output/xsdboolean.dtel.mjs +0 -6
- package/output/xsdtime_t.dtel.mjs +0 -6
- package/output/zw3mi.fugr.saplzw3mi.mjs +0 -5
- package/output/zw3mi.fugr.saplzw3mi.mjs.map +0 -8
- package/output/zw3mi.fugr.wwwdata_export.mjs +0 -14
- package/output/zw3mi.fugr.wwwdata_export.mjs.map +0 -8
- package/output/zw3mi.fugr.wwwdata_import.mjs +0 -14
- package/output/zw3mi.fugr.wwwdata_import.mjs.map +0 -8
- package/output/zw3mi.fugr.wwwparams_insert.mjs +0 -12
- package/output/zw3mi.fugr.wwwparams_insert.mjs.map +0 -8
- package/output/zw3mi.fugr.wwwparams_read.mjs +0 -27
- package/output/zw3mi.fugr.wwwparams_read.mjs.map +0 -8
|
@@ -1,273 +0,0 @@
|
|
|
1
|
-
const {cx_root} = await import("./cx_root.clas.mjs");
|
|
2
|
-
// cl_gui_frontend_services.clas.abap
|
|
3
|
-
class cl_gui_frontend_services {
|
|
4
|
-
static INTERNAL_TYPE = 'CLAS';
|
|
5
|
-
static IMPLEMENTED_INTERFACES = [];
|
|
6
|
-
async constructor_(INPUT) {
|
|
7
|
-
this.me = new abap.types.ABAPObject();
|
|
8
|
-
this.me.set(this);
|
|
9
|
-
this.filetype_all = cl_gui_frontend_services.filetype_all;
|
|
10
|
-
this.action_cancel = cl_gui_frontend_services.action_cancel;
|
|
11
|
-
this.action_ok = cl_gui_frontend_services.action_ok;
|
|
12
|
-
this.platform_nt351 = cl_gui_frontend_services.platform_nt351;
|
|
13
|
-
this.platform_nt40 = cl_gui_frontend_services.platform_nt40;
|
|
14
|
-
this.platform_nt50 = cl_gui_frontend_services.platform_nt50;
|
|
15
|
-
this.platform_windows95 = cl_gui_frontend_services.platform_windows95;
|
|
16
|
-
this.platform_windows98 = cl_gui_frontend_services.platform_windows98;
|
|
17
|
-
this.platform_windowsxp = cl_gui_frontend_services.platform_windowsxp;
|
|
18
|
-
return this;
|
|
19
|
-
}
|
|
20
|
-
async directory_exist(INPUT) {
|
|
21
|
-
return cl_gui_frontend_services.directory_exist(INPUT);
|
|
22
|
-
}
|
|
23
|
-
static async directory_exist(INPUT) {
|
|
24
|
-
let result = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
|
|
25
|
-
let directory = new abap.types.String({qualifiedName: "STRING"});
|
|
26
|
-
if (INPUT && INPUT.directory) {directory.set(INPUT.directory);}
|
|
27
|
-
abap.statements.assert(abap.compare.eq(new abap.types.Integer().set(1), new abap.types.Character(29).set('directory_exist not supported')));
|
|
28
|
-
return result;
|
|
29
|
-
}
|
|
30
|
-
async get_sapgui_workdir(INPUT) {
|
|
31
|
-
return cl_gui_frontend_services.get_sapgui_workdir(INPUT);
|
|
32
|
-
}
|
|
33
|
-
static async get_sapgui_workdir(INPUT) {
|
|
34
|
-
let sapworkdir = new abap.types.String({qualifiedName: "STRING"});
|
|
35
|
-
if (INPUT && INPUT.sapworkdir) {sapworkdir = INPUT.sapworkdir;}
|
|
36
|
-
abap.statements.assert(abap.compare.eq(new abap.types.Integer().set(1), new abap.types.Character(32).set('get_sapgui_workdir not supported')));
|
|
37
|
-
}
|
|
38
|
-
async file_exist(INPUT) {
|
|
39
|
-
return cl_gui_frontend_services.file_exist(INPUT);
|
|
40
|
-
}
|
|
41
|
-
static async file_exist(INPUT) {
|
|
42
|
-
let result = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
|
|
43
|
-
let file = new abap.types.String({qualifiedName: "STRING"});
|
|
44
|
-
if (INPUT && INPUT.file) {file.set(INPUT.file);}
|
|
45
|
-
abap.statements.assert(abap.compare.eq(new abap.types.Integer().set(1), new abap.types.Character(24).set('file_exist not supported')));
|
|
46
|
-
return result;
|
|
47
|
-
}
|
|
48
|
-
async file_delete(INPUT) {
|
|
49
|
-
return cl_gui_frontend_services.file_delete(INPUT);
|
|
50
|
-
}
|
|
51
|
-
static async file_delete(INPUT) {
|
|
52
|
-
let filename = new abap.types.String({qualifiedName: "STRING"});
|
|
53
|
-
if (INPUT && INPUT.filename) {filename.set(INPUT.filename);}
|
|
54
|
-
let rc = new abap.types.Integer({qualifiedName: "I"});
|
|
55
|
-
if (INPUT && INPUT.rc) {rc = INPUT.rc;}
|
|
56
|
-
abap.statements.assert(abap.compare.eq(new abap.types.Integer().set(1), new abap.types.Character(25).set('file_delete not supported')));
|
|
57
|
-
}
|
|
58
|
-
async clipboard_import(INPUT) {
|
|
59
|
-
return cl_gui_frontend_services.clipboard_import(INPUT);
|
|
60
|
-
}
|
|
61
|
-
static async clipboard_import(INPUT) {
|
|
62
|
-
let data = new abap.types.Table(new abap.types.Character(4), {"withHeader":false});
|
|
63
|
-
if (INPUT && INPUT.data) {data = INPUT.data;}
|
|
64
|
-
let length = new abap.types.Integer({qualifiedName: "I"});
|
|
65
|
-
if (INPUT && INPUT.length) {length = INPUT.length;}
|
|
66
|
-
abap.statements.assert(abap.compare.eq(new abap.types.Integer().set(1), new abap.types.Character(30).set('clipboard_import not supported')));
|
|
67
|
-
}
|
|
68
|
-
async directory_list_files(INPUT) {
|
|
69
|
-
return cl_gui_frontend_services.directory_list_files(INPUT);
|
|
70
|
-
}
|
|
71
|
-
static async directory_list_files(INPUT) {
|
|
72
|
-
let directory = new abap.types.String({qualifiedName: "STRING"});
|
|
73
|
-
if (INPUT && INPUT.directory) {directory.set(INPUT.directory);}
|
|
74
|
-
let file_table = new abap.types.Character(4);
|
|
75
|
-
if (INPUT && INPUT.file_table) {file_table = INPUT.file_table;}
|
|
76
|
-
let count = new abap.types.Integer({qualifiedName: "I"});
|
|
77
|
-
if (INPUT && INPUT.count) {count = INPUT.count;}
|
|
78
|
-
abap.statements.assert(abap.compare.eq(new abap.types.Integer().set(1), new abap.types.Character(34).set('directory_list_files not supported')));
|
|
79
|
-
}
|
|
80
|
-
async directory_create(INPUT) {
|
|
81
|
-
return cl_gui_frontend_services.directory_create(INPUT);
|
|
82
|
-
}
|
|
83
|
-
static async directory_create(INPUT) {
|
|
84
|
-
let directory = new abap.types.String({qualifiedName: "STRING"});
|
|
85
|
-
if (INPUT && INPUT.directory) {directory.set(INPUT.directory);}
|
|
86
|
-
let rc = new abap.types.Integer({qualifiedName: "I"});
|
|
87
|
-
if (INPUT && INPUT.rc) {rc = INPUT.rc;}
|
|
88
|
-
abap.statements.assert(abap.compare.eq(new abap.types.Integer().set(1), new abap.types.Character(30).set('directory_create not supported')));
|
|
89
|
-
}
|
|
90
|
-
async gui_download(INPUT) {
|
|
91
|
-
return cl_gui_frontend_services.gui_download(INPUT);
|
|
92
|
-
}
|
|
93
|
-
static async gui_download(INPUT) {
|
|
94
|
-
let bin_filesize = new abap.types.Integer({qualifiedName: "I"});
|
|
95
|
-
if (INPUT && INPUT.bin_filesize) {bin_filesize.set(INPUT.bin_filesize);}
|
|
96
|
-
let filename = new abap.types.String({qualifiedName: "STRING"});
|
|
97
|
-
if (INPUT && INPUT.filename) {filename.set(INPUT.filename);}
|
|
98
|
-
let filetype = new abap.types.String({qualifiedName: "STRING"});
|
|
99
|
-
if (INPUT && INPUT.filetype) {filetype.set(INPUT.filetype);}
|
|
100
|
-
let write_lf = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
|
|
101
|
-
if (INPUT && INPUT.write_lf) {write_lf = INPUT.write_lf;}
|
|
102
|
-
let write_field_separator = new abap.types.Character(1, {"qualifiedName":"CHAR1"});
|
|
103
|
-
if (INPUT && INPUT.write_field_separator) {write_field_separator = INPUT.write_field_separator;}
|
|
104
|
-
let data_tab = new abap.types.Character(4);
|
|
105
|
-
if (INPUT && INPUT.data_tab) {data_tab = INPUT.data_tab;}
|
|
106
|
-
abap.statements.assert(abap.compare.eq(new abap.types.Integer().set(1), new abap.types.Character(26).set('gui_download not supported')));
|
|
107
|
-
}
|
|
108
|
-
async get_file_separator(INPUT) {
|
|
109
|
-
return cl_gui_frontend_services.get_file_separator(INPUT);
|
|
110
|
-
}
|
|
111
|
-
static async get_file_separator(INPUT) {
|
|
112
|
-
let file_separator = new abap.types.String({qualifiedName: "STRING"});
|
|
113
|
-
if (INPUT && INPUT.file_separator) {file_separator = INPUT.file_separator;}
|
|
114
|
-
abap.statements.assert(abap.compare.eq(new abap.types.Integer().set(1), new abap.types.Character(32).set('get_file_separator not supported')));
|
|
115
|
-
}
|
|
116
|
-
async execute(INPUT) {
|
|
117
|
-
return cl_gui_frontend_services.execute(INPUT);
|
|
118
|
-
}
|
|
119
|
-
static async execute(INPUT) {
|
|
120
|
-
let document = new abap.types.String({qualifiedName: "STRING"});
|
|
121
|
-
if (INPUT && INPUT.document) {document.set(INPUT.document);}
|
|
122
|
-
let application = new abap.types.String({qualifiedName: "STRING"});
|
|
123
|
-
if (INPUT && INPUT.application) {application.set(INPUT.application);}
|
|
124
|
-
let parameter = new abap.types.String({qualifiedName: "STRING"});
|
|
125
|
-
if (INPUT && INPUT.parameter) {parameter.set(INPUT.parameter);}
|
|
126
|
-
let default_directory = new abap.types.String({qualifiedName: "STRING"});
|
|
127
|
-
if (INPUT && INPUT.default_directory) {default_directory.set(INPUT.default_directory);}
|
|
128
|
-
let maximized = new abap.types.String({qualifiedName: "STRING"});
|
|
129
|
-
if (INPUT && INPUT.maximized) {maximized.set(INPUT.maximized);}
|
|
130
|
-
let minimized = new abap.types.String({qualifiedName: "STRING"});
|
|
131
|
-
if (INPUT && INPUT.minimized) {minimized.set(INPUT.minimized);}
|
|
132
|
-
let synchronous = new abap.types.String({qualifiedName: "STRING"});
|
|
133
|
-
if (INPUT && INPUT.synchronous) {synchronous.set(INPUT.synchronous);}
|
|
134
|
-
let operation = new abap.types.String({qualifiedName: "STRING"});
|
|
135
|
-
if (INPUT && INPUT.operation) {operation.set(INPUT.operation);}
|
|
136
|
-
if (INPUT === undefined || INPUT.operation === undefined) {operation = new abap.types.Character(4).set('OPEN');}
|
|
137
|
-
abap.statements.assert(abap.compare.eq(new abap.types.Integer().set(1), new abap.types.Character(21).set('execute not supported')));
|
|
138
|
-
}
|
|
139
|
-
async directory_browse(INPUT) {
|
|
140
|
-
return cl_gui_frontend_services.directory_browse(INPUT);
|
|
141
|
-
}
|
|
142
|
-
static async directory_browse(INPUT) {
|
|
143
|
-
let window_title = new abap.types.String({qualifiedName: "STRING"});
|
|
144
|
-
if (INPUT && INPUT.window_title) {window_title.set(INPUT.window_title);}
|
|
145
|
-
let initial_folder = new abap.types.String({qualifiedName: "STRING"});
|
|
146
|
-
if (INPUT && INPUT.initial_folder) {initial_folder.set(INPUT.initial_folder);}
|
|
147
|
-
let selected_folder = new abap.types.String({qualifiedName: "STRING"});
|
|
148
|
-
if (INPUT && INPUT.selected_folder) {selected_folder = INPUT.selected_folder;}
|
|
149
|
-
abap.statements.assert(abap.compare.eq(new abap.types.Integer().set(1), new abap.types.Character(30).set('directory_browse not supported')));
|
|
150
|
-
}
|
|
151
|
-
async gui_upload(INPUT) {
|
|
152
|
-
return cl_gui_frontend_services.gui_upload(INPUT);
|
|
153
|
-
}
|
|
154
|
-
static async gui_upload(INPUT) {
|
|
155
|
-
let filename = new abap.types.String({qualifiedName: "STRING"});
|
|
156
|
-
if (INPUT && INPUT.filename) {filename.set(INPUT.filename);}
|
|
157
|
-
let filetype = new abap.types.String({qualifiedName: "STRING"});
|
|
158
|
-
if (INPUT && INPUT.filetype) {filetype.set(INPUT.filetype);}
|
|
159
|
-
let codepage = new abap.types.Character(20, {"qualifiedName":"abap_encoding"});
|
|
160
|
-
if (INPUT && INPUT.codepage) {codepage.set(INPUT.codepage);}
|
|
161
|
-
if (INPUT === undefined || INPUT.codepage === undefined) {codepage = abap.builtin.space;}
|
|
162
|
-
let filelength = new abap.types.Integer({qualifiedName: "I"});
|
|
163
|
-
if (INPUT && INPUT.filelength) {filelength = INPUT.filelength;}
|
|
164
|
-
let data_tab = new abap.types.Character(4);
|
|
165
|
-
if (INPUT && INPUT.data_tab) {data_tab = INPUT.data_tab;}
|
|
166
|
-
abap.statements.assert(abap.compare.eq(new abap.types.Integer().set(1), new abap.types.Character(24).set('gui_upload not supported')));
|
|
167
|
-
}
|
|
168
|
-
async file_open_dialog(INPUT) {
|
|
169
|
-
return cl_gui_frontend_services.file_open_dialog(INPUT);
|
|
170
|
-
}
|
|
171
|
-
static async file_open_dialog(INPUT) {
|
|
172
|
-
let window_title = new abap.types.String({qualifiedName: "STRING"});
|
|
173
|
-
if (INPUT && INPUT.window_title) {window_title.set(INPUT.window_title);}
|
|
174
|
-
let default_filename = new abap.types.String({qualifiedName: "STRING"});
|
|
175
|
-
if (INPUT && INPUT.default_filename) {default_filename.set(INPUT.default_filename);}
|
|
176
|
-
let default_extension = new abap.types.String({qualifiedName: "STRING"});
|
|
177
|
-
if (INPUT && INPUT.default_extension) {default_extension.set(INPUT.default_extension);}
|
|
178
|
-
let multiselection = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
|
|
179
|
-
if (INPUT && INPUT.multiselection) {multiselection = INPUT.multiselection;}
|
|
180
|
-
let file_filter = new abap.types.String({qualifiedName: "STRING"});
|
|
181
|
-
if (INPUT && INPUT.file_filter) {file_filter.set(INPUT.file_filter);}
|
|
182
|
-
let initial_directory = new abap.types.String({qualifiedName: "STRING"});
|
|
183
|
-
if (INPUT && INPUT.initial_directory) {initial_directory.set(INPUT.initial_directory);}
|
|
184
|
-
let file_table = new abap.types.Table(new abap.types.Structure({"filename": new abap.types.Character(1024, {})}, "FILE_TABLE"), {"withHeader":false}, "FILETABLE");
|
|
185
|
-
if (INPUT && INPUT.file_table) {file_table = INPUT.file_table;}
|
|
186
|
-
let rc = new abap.types.Integer({qualifiedName: "I"});
|
|
187
|
-
if (INPUT && INPUT.rc) {rc = INPUT.rc;}
|
|
188
|
-
let user_action = new abap.types.Integer({qualifiedName: "I"});
|
|
189
|
-
if (INPUT && INPUT.user_action) {user_action = INPUT.user_action;}
|
|
190
|
-
abap.statements.assert(abap.compare.eq(new abap.types.Integer().set(1), new abap.types.Character(30).set('file_open_dialog not supported')));
|
|
191
|
-
}
|
|
192
|
-
async file_save_dialog(INPUT) {
|
|
193
|
-
return cl_gui_frontend_services.file_save_dialog(INPUT);
|
|
194
|
-
}
|
|
195
|
-
static async file_save_dialog(INPUT) {
|
|
196
|
-
let window_title = new abap.types.String({qualifiedName: "STRING"});
|
|
197
|
-
if (INPUT && INPUT.window_title) {window_title.set(INPUT.window_title);}
|
|
198
|
-
let default_extension = new abap.types.String({qualifiedName: "STRING"});
|
|
199
|
-
if (INPUT && INPUT.default_extension) {default_extension.set(INPUT.default_extension);}
|
|
200
|
-
let default_file_name = new abap.types.String({qualifiedName: "STRING"});
|
|
201
|
-
if (INPUT && INPUT.default_file_name) {default_file_name.set(INPUT.default_file_name);}
|
|
202
|
-
let file_filter = new abap.types.String({qualifiedName: "STRING"});
|
|
203
|
-
if (INPUT && INPUT.file_filter) {file_filter.set(INPUT.file_filter);}
|
|
204
|
-
let filename = new abap.types.String({qualifiedName: "STRING"});
|
|
205
|
-
if (INPUT && INPUT.filename) {filename = INPUT.filename;}
|
|
206
|
-
let path = new abap.types.String({qualifiedName: "STRING"});
|
|
207
|
-
if (INPUT && INPUT.path) {path = INPUT.path;}
|
|
208
|
-
let fullpath = new abap.types.String({qualifiedName: "STRING"});
|
|
209
|
-
if (INPUT && INPUT.fullpath) {fullpath = INPUT.fullpath;}
|
|
210
|
-
let user_action = new abap.types.Integer({qualifiedName: "I"});
|
|
211
|
-
if (INPUT && INPUT.user_action) {user_action = INPUT.user_action;}
|
|
212
|
-
abap.statements.assert(abap.compare.eq(new abap.types.Integer().set(1), new abap.types.Character(30).set('file_save_dialog not supported')));
|
|
213
|
-
}
|
|
214
|
-
async get_platform() {
|
|
215
|
-
return cl_gui_frontend_services.get_platform();
|
|
216
|
-
}
|
|
217
|
-
static async get_platform() {
|
|
218
|
-
let platform = new abap.types.Integer({qualifiedName: "I"});
|
|
219
|
-
platform.set(cl_gui_frontend_services.platform_windowsxp);
|
|
220
|
-
return platform;
|
|
221
|
-
}
|
|
222
|
-
async clipboard_export(INPUT) {
|
|
223
|
-
return cl_gui_frontend_services.clipboard_export(INPUT);
|
|
224
|
-
}
|
|
225
|
-
static async clipboard_export(INPUT) {
|
|
226
|
-
let no_auth_check = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
|
|
227
|
-
if (INPUT && INPUT.no_auth_check) {no_auth_check = INPUT.no_auth_check;}
|
|
228
|
-
let data = new abap.types.Character(4);
|
|
229
|
-
if (INPUT && INPUT.data) {data = INPUT.data;}
|
|
230
|
-
let rc = new abap.types.Integer({qualifiedName: "I"});
|
|
231
|
-
if (INPUT && INPUT.rc) {rc = INPUT.rc;}
|
|
232
|
-
abap.statements.assert(abap.compare.eq(new abap.types.Integer().set(1), new abap.types.Character(30).set('clipboard_export not supported')));
|
|
233
|
-
}
|
|
234
|
-
async get_system_directory(INPUT) {
|
|
235
|
-
return cl_gui_frontend_services.get_system_directory(INPUT);
|
|
236
|
-
}
|
|
237
|
-
static async get_system_directory(INPUT) {
|
|
238
|
-
let system_directory = new abap.types.String({qualifiedName: "STRING"});
|
|
239
|
-
if (INPUT && INPUT.system_directory) {system_directory = INPUT.system_directory;}
|
|
240
|
-
abap.statements.assert(abap.compare.eq(new abap.types.Integer().set(1), new abap.types.Character(34).set('get_system_directory not supported')));
|
|
241
|
-
}
|
|
242
|
-
async get_gui_version(INPUT) {
|
|
243
|
-
return cl_gui_frontend_services.get_gui_version(INPUT);
|
|
244
|
-
}
|
|
245
|
-
static async get_gui_version(INPUT) {
|
|
246
|
-
let version_table = new abap.types.Table(new abap.types.Structure({"filename": new abap.types.Character(1024, {})}, "FILE_TABLE"), {"withHeader":false}, "FILETABLE");
|
|
247
|
-
if (INPUT && INPUT.version_table) {version_table = INPUT.version_table;}
|
|
248
|
-
let rc = new abap.types.Integer({qualifiedName: "I"});
|
|
249
|
-
if (INPUT && INPUT.rc) {rc = INPUT.rc;}
|
|
250
|
-
abap.statements.assert(abap.compare.eq(new abap.types.Integer().set(1), new abap.types.Character(29).set('get_gui_verison not supported')));
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
abap.Classes['CL_GUI_FRONTEND_SERVICES'] = cl_gui_frontend_services;
|
|
254
|
-
cl_gui_frontend_services.filetype_all = new abap.types.String({qualifiedName: "STRING"});
|
|
255
|
-
cl_gui_frontend_services.filetype_all.set('abc');
|
|
256
|
-
cl_gui_frontend_services.action_cancel = new abap.types.Integer({qualifiedName: "I"});
|
|
257
|
-
cl_gui_frontend_services.action_cancel.set(1);
|
|
258
|
-
cl_gui_frontend_services.action_ok = new abap.types.Integer({qualifiedName: "I"});
|
|
259
|
-
cl_gui_frontend_services.action_ok.set(1);
|
|
260
|
-
cl_gui_frontend_services.platform_nt351 = new abap.types.Integer({qualifiedName: "I"});
|
|
261
|
-
cl_gui_frontend_services.platform_nt351.set(1);
|
|
262
|
-
cl_gui_frontend_services.platform_nt40 = new abap.types.Integer({qualifiedName: "I"});
|
|
263
|
-
cl_gui_frontend_services.platform_nt40.set(2);
|
|
264
|
-
cl_gui_frontend_services.platform_nt50 = new abap.types.Integer({qualifiedName: "I"});
|
|
265
|
-
cl_gui_frontend_services.platform_nt50.set(3);
|
|
266
|
-
cl_gui_frontend_services.platform_windows95 = new abap.types.Integer({qualifiedName: "I"});
|
|
267
|
-
cl_gui_frontend_services.platform_windows95.set(4);
|
|
268
|
-
cl_gui_frontend_services.platform_windows98 = new abap.types.Integer({qualifiedName: "I"});
|
|
269
|
-
cl_gui_frontend_services.platform_windows98.set(5);
|
|
270
|
-
cl_gui_frontend_services.platform_windowsxp = new abap.types.Integer({qualifiedName: "I"});
|
|
271
|
-
cl_gui_frontend_services.platform_windowsxp.set(6);
|
|
272
|
-
export {cl_gui_frontend_services};
|
|
273
|
-
//# sourceMappingURL=cl_gui_frontend_services.clas.mjs.map
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": [
|
|
4
|
-
"cl_gui_frontend_services.clas.abap"
|
|
5
|
-
],
|
|
6
|
-
"names": [],
|
|
7
|
-
"mappings": ";;AA6JA;;;;;;;;;;;;;;;;;EACE;;;;;;;IACE,oCAAS,GAAF,iCAAI,kEAA+B;IAC5C;;EAEA;;;;;;IACE,oCAAS,GAAF,iCAAI,qEAAkC;EAC/C;EAEA;;;;;;;IACE,oCAAS,GAAF,iCAAI,6DAA0B;IACvC;;EAEA;;;;;;;;IACE,oCAAS,GAAF,iCAAI,8DAA2B;EACxC;EAEA;;;;;;;;IACE,oCAAS,GAAF,iCAAI,mEAAgC;EAC7C;EAEA;;;;;;;;;;IACE,oCAAS,GAAF,iCAAI,uEAAoC;EACjD;EAEA;;;;;;;;IACE,oCAAS,GAAF,iCAAI,mEAAgC;EAC7C;EAEA;;;;;;;;;;;;;;;;IACE,oCAAS,GAAF,iCAAI,+DAA4B;EACzC;EAEA;;;;;;IACE,oCAAS,GAAF,iCAAI,qEAAkC;EAC/C;EAEA;;;;;;;;;;;;;;;;;;;;;IACE,oCAAS,GAAF,iCAAI,0DAAuB;EACpC;EAEA;;;;;;;;;;IACE,oCAAS,GAAF,iCAAI,mEAAgC;EAC7C;EAEA;;;;;;;;;;;;;;;IACE,oCAAS,GAAF,iCAAI,6DAA0B;EACvC;EAEA;;;;;;;;;;;;;;;;;;;;;;IACE,oCAAS,GAAF,iCAAI,mEAAgC;EAC7C;EAEA;;;;;;;;;;;;;;;;;;;;IACE,oCAAS,GAAF,iCAAI,mEAAgC;EAC7C;EAEA;;;;;IACE,aAAW,2CAAkB;IAC/B;;EAEA;;;;;;;;;;IACE,oCAAS,GAAF,iCAAI,mEAAgC;EAC7C;EAEA;;;;;;IACE,oCAAS,GAAF,iCAAI,uEAAoC;EACjD;EAEA;;;;;;;;IACE,oCAAS,GAAF,iCAAI,kEAA+B;EAC5C;AACF",
|
|
8
|
-
"file": "cl_gui_frontend_services.clas.mjs",
|
|
9
|
-
"sourceRoot": ""
|
|
10
|
-
}
|
|
@@ -1,164 +0,0 @@
|
|
|
1
|
-
const {cx_root} = await import("./cx_root.clas.mjs");
|
|
2
|
-
// cl_http_client.clas.abap
|
|
3
|
-
class cl_http_client {
|
|
4
|
-
static INTERNAL_TYPE = 'CLAS';
|
|
5
|
-
static IMPLEMENTED_INTERFACES = ["IF_HTTP_CLIENT"];
|
|
6
|
-
async constructor_(INPUT) {
|
|
7
|
-
this.me = new abap.types.ABAPObject();
|
|
8
|
-
this.me.set(this);
|
|
9
|
-
this.mv_host = new abap.types.String({qualifiedName: "STRING"});
|
|
10
|
-
this.if_http_client$request = new abap.types.ABAPObject({qualifiedName: "IF_HTTP_REQUEST"});
|
|
11
|
-
this.if_http_client$response = new abap.types.ABAPObject({qualifiedName: "IF_HTTP_RESPONSE"});
|
|
12
|
-
this.if_http_client$propertytype_logon_popup = new abap.types.Integer({qualifiedName: "I"});
|
|
13
|
-
this.if_http_client$propertytype_accept_cookie = new abap.types.Integer({qualifiedName: "I"});
|
|
14
|
-
let url = new abap.types.String({qualifiedName: "STRING"});
|
|
15
|
-
if (INPUT && INPUT.url) {url.set(INPUT.url);}
|
|
16
|
-
let lv_uri = new abap.types.String({qualifiedName: "STRING"});
|
|
17
|
-
let lv_query = new abap.types.String({qualifiedName: "STRING"});
|
|
18
|
-
this.if_http_client$response.set(await (new abap.Classes['CL_HTTP_ENTITY']()).constructor_());
|
|
19
|
-
abap.statements.find(url, {regex: new abap.types.Character(19).set('\\w(\\/[\\w\\d\\.\\-\\/]+)'), submatches: [lv_uri]});
|
|
20
|
-
this.mv_host.set(url);
|
|
21
|
-
abap.statements.replace({target: this.mv_host, all: false, with: new abap.types.Character(0).set(''), of: lv_uri});
|
|
22
|
-
this.if_http_client$request.set(await (new abap.Classes['CL_HTTP_ENTITY']()).constructor_());
|
|
23
|
-
await this.if_http_client$request.get().if_http_entity$set_header_field({name: new abap.types.Character(12).set('~request_uri'), value: lv_uri});
|
|
24
|
-
abap.statements.find(url, {regex: new abap.types.Character(6).set('\\?(.*)'), submatches: [lv_query]});
|
|
25
|
-
if (abap.compare.eq(abap.builtin.sy.get().subrc, new abap.types.Integer().set(0))) {
|
|
26
|
-
await abap.Classes['CL_HTTP_UTILITY'].set_query({request: this.if_http_client$request, query: lv_query});
|
|
27
|
-
}
|
|
28
|
-
return this;
|
|
29
|
-
}
|
|
30
|
-
async create_by_url(INPUT) {
|
|
31
|
-
return cl_http_client.create_by_url(INPUT);
|
|
32
|
-
}
|
|
33
|
-
static async create_by_url(INPUT) {
|
|
34
|
-
let url = new abap.types.String({qualifiedName: "STRING"});
|
|
35
|
-
if (INPUT && INPUT.url) {url.set(INPUT.url);}
|
|
36
|
-
let ssl_id = new abap.types.Character(6, {"qualifiedName":"SSFAPPLSSL"});
|
|
37
|
-
if (INPUT && INPUT.ssl_id) {ssl_id.set(INPUT.ssl_id);}
|
|
38
|
-
let proxy_host = new abap.types.String({qualifiedName: "STRING"});
|
|
39
|
-
if (INPUT && INPUT.proxy_host) {proxy_host.set(INPUT.proxy_host);}
|
|
40
|
-
let proxy_service = new abap.types.String({qualifiedName: "STRING"});
|
|
41
|
-
if (INPUT && INPUT.proxy_service) {proxy_service.set(INPUT.proxy_service);}
|
|
42
|
-
let client = new abap.types.ABAPObject({qualifiedName: "IF_HTTP_CLIENT"});
|
|
43
|
-
if (INPUT && INPUT.client) {client = INPUT.client;}
|
|
44
|
-
client.set(await (new abap.Classes['CL_HTTP_CLIENT']()).constructor_({url: url}));
|
|
45
|
-
abap.builtin.sy.get().subrc.set(new abap.types.Integer().set(0));
|
|
46
|
-
}
|
|
47
|
-
async if_http_client$authenticate(INPUT) {
|
|
48
|
-
let proxy_authentication = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
|
|
49
|
-
if (INPUT && INPUT.proxy_authentication) {proxy_authentication = INPUT.proxy_authentication;}
|
|
50
|
-
let username = new abap.types.String({qualifiedName: "STRING"});
|
|
51
|
-
if (INPUT && INPUT.username) {username.set(INPUT.username);}
|
|
52
|
-
let password = new abap.types.String({qualifiedName: "STRING"});
|
|
53
|
-
if (INPUT && INPUT.password) {password.set(INPUT.password);}
|
|
54
|
-
let lv_base64 = new abap.types.String({qualifiedName: "STRING"});
|
|
55
|
-
lv_base64.set((await abap.Classes['CL_HTTP_UTILITY'].if_http_utility$encode_base64({unencoded: new abap.types.String().set(`${abap.templateFormatting(username)}:${abap.templateFormatting(password)}`)})));
|
|
56
|
-
await this.if_http_client$request.get().if_http_entity$set_header_field({name: new abap.types.Character(13).set('authorization'), value: new abap.types.String().set(`Basic ${abap.templateFormatting(lv_base64)}`)});
|
|
57
|
-
}
|
|
58
|
-
async if_http_client$close() {
|
|
59
|
-
return;
|
|
60
|
-
}
|
|
61
|
-
async create_by_destination(INPUT) {
|
|
62
|
-
return cl_http_client.create_by_destination(INPUT);
|
|
63
|
-
}
|
|
64
|
-
static async create_by_destination(INPUT) {
|
|
65
|
-
let destination = new abap.types.String({qualifiedName: "STRING"});
|
|
66
|
-
if (INPUT && INPUT.destination) {destination.set(INPUT.destination);}
|
|
67
|
-
let client = new abap.types.ABAPObject({qualifiedName: "IF_HTTP_CLIENT"});
|
|
68
|
-
if (INPUT && INPUT.client) {client = INPUT.client;}
|
|
69
|
-
abap.statements.assert(abap.compare.eq(new abap.types.Integer().set(1), new abap.types.Character(4).set('todo')));
|
|
70
|
-
}
|
|
71
|
-
async if_http_client$send() {
|
|
72
|
-
let lv_method = new abap.types.String({qualifiedName: "STRING"});
|
|
73
|
-
let lv_url = new abap.types.String({qualifiedName: "STRING"});
|
|
74
|
-
let lv_body = new abap.types.String({qualifiedName: "STRING"});
|
|
75
|
-
let lv_name = new abap.types.String({qualifiedName: "STRING"});
|
|
76
|
-
let lv_value = new abap.types.String({qualifiedName: "STRING"});
|
|
77
|
-
let lv_content_type = new abap.types.String({qualifiedName: "STRING"});
|
|
78
|
-
let lt_form_fields = new abap.types.Table(new abap.types.Structure({"name": new abap.types.String(), "value": new abap.types.String()}, "IHTTPNVP"), {"withHeader":false}, "TIHTTPNVP");
|
|
79
|
-
let lt_header_fields = new abap.types.Table(new abap.types.Structure({"name": new abap.types.String(), "value": new abap.types.String()}, "IHTTPNVP"), {"withHeader":false}, "TIHTTPNVP");
|
|
80
|
-
let ls_field = new abap.types.Structure({"name": new abap.types.String(), "value": new abap.types.String()}, "IHTTPNVP");
|
|
81
|
-
lv_method.set((await this.if_http_client$request.get().if_http_request$get_method()));
|
|
82
|
-
if (abap.compare.initial(lv_method)) {
|
|
83
|
-
lv_method.set(new abap.types.Character(3).set('GET'));
|
|
84
|
-
}
|
|
85
|
-
if (abap.compare.initial((await this.if_http_client$request.get().if_http_entity$get_header_field({name: new abap.types.Character(10).set('user-agent')})))) {
|
|
86
|
-
await this.if_http_client$request.get().if_http_entity$set_header_field({name: new abap.types.Character(10).set('user-agent'), value: new abap.types.Character(14).set('open-abap-http')});
|
|
87
|
-
}
|
|
88
|
-
lv_url.set((await this.if_http_client$request.get().if_http_entity$get_header_field({name: new abap.types.Character(12).set('~request_uri')})));
|
|
89
|
-
abap.statements.replace({target: lv_url, all: false, with: new abap.types.Character(0).set(''), of: this.mv_host});
|
|
90
|
-
lv_url.set(abap.operators.concat(this.mv_host,lv_url));
|
|
91
|
-
await this.if_http_client$request.get().if_http_entity$get_form_fields({fields: lt_form_fields});
|
|
92
|
-
if (abap.compare.gt(abap.builtin.lines({val: lt_form_fields}), new abap.types.Integer().set(0))) {
|
|
93
|
-
let unique18 = lv_method;
|
|
94
|
-
if (abap.compare.eq(unique18, new abap.types.Character(3).set('GET'))) {
|
|
95
|
-
lv_url.set(abap.operators.concat(lv_url,abap.operators.concat(new abap.types.Character(1).set('?'),(await abap.Classes['CL_HTTP_UTILITY'].if_http_utility$fields_to_string({fields: lt_form_fields})))));
|
|
96
|
-
} else if (abap.compare.eq(unique18, new abap.types.Character(4).set('POST'))) {
|
|
97
|
-
await this.if_http_client$request.get().if_http_entity$set_cdata({data: (await abap.Classes['CL_HTTP_UTILITY'].if_http_utility$fields_to_string({fields: lt_form_fields}))});
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
await this.if_http_client$request.get().if_http_entity$get_header_fields({fields: lt_header_fields});
|
|
101
|
-
let headers = {};
|
|
102
|
-
for await (const unique19 of abap.statements.loop(lt_header_fields,{where: async (I) => {return abap.compare.ne(I.name, new abap.types.Character(12).set('~request_uri'));}})) {
|
|
103
|
-
ls_field.set(unique19);
|
|
104
|
-
headers[ls_field.get().name.get()] = ls_field.get().value.get();
|
|
105
|
-
}
|
|
106
|
-
lv_content_type.set((await this.if_http_client$request.get().if_http_entity$get_content_type()));
|
|
107
|
-
if (abap.compare.initial(lv_content_type) === false) {
|
|
108
|
-
headers["content-type"] = lv_content_type.get();
|
|
109
|
-
}
|
|
110
|
-
lv_body.set((await this.if_http_client$request.get().if_http_entity$get_cdata()));
|
|
111
|
-
if (abap.compare.gt(abap.builtin.strlen({val: lv_body}), new abap.types.Integer().set(0))) {
|
|
112
|
-
headers["content-length"] = lv_body.get().length;
|
|
113
|
-
}
|
|
114
|
-
const https = await import("https");
|
|
115
|
-
const http = await import("http");
|
|
116
|
-
function postData(url, options, requestBody) {
|
|
117
|
-
return new Promise((resolve, reject) => {
|
|
118
|
-
const prot = url.startsWith("http://") ? http : https;
|
|
119
|
-
const req = prot.request(url, options,
|
|
120
|
-
(res) => {
|
|
121
|
-
let chunks = [];
|
|
122
|
-
res.on("data", (chunk) => {chunks.push(chunk);});
|
|
123
|
-
res.on("error", reject);
|
|
124
|
-
res.on("end", () => {
|
|
125
|
-
resolve({statusCode: res.statusCode, headers: res.headers, body: Buffer.concat(chunks)});
|
|
126
|
-
});
|
|
127
|
-
});
|
|
128
|
-
req.on("error", reject);
|
|
129
|
-
req.write(requestBody, "binary");
|
|
130
|
-
req.end();
|
|
131
|
-
});
|
|
132
|
-
}
|
|
133
|
-
const prot = lv_url.get().startsWith("http://") ? http : https;
|
|
134
|
-
if (this.agent === undefined) {this.agent = new prot.Agent({keepAlive: true, maxSockets: 1});}
|
|
135
|
-
let response = await postData(lv_url.get(), {method: lv_method.get(), headers: headers, agent: this.agent}, lv_body.get());
|
|
136
|
-
for (const h in response.headers) {
|
|
137
|
-
lv_name.set(h);
|
|
138
|
-
if (Array.isArray(response.headers[h])) continue;
|
|
139
|
-
lv_value.set(response.headers[h]);
|
|
140
|
-
await this.if_http_client$response.get().if_http_entity$set_header_field({name: lv_name, value: lv_value});
|
|
141
|
-
}
|
|
142
|
-
this.if_http_client$response.get().mv_content_type.set(response.headers["content-type"] || "");
|
|
143
|
-
this.if_http_client$response.get().mv_status.set(response.statusCode);
|
|
144
|
-
this.if_http_client$response.get().mv_data.set(response.body.toString("hex").toUpperCase());
|
|
145
|
-
abap.builtin.sy.get().subrc.set(new abap.types.Integer().set(0));
|
|
146
|
-
}
|
|
147
|
-
async if_http_client$receive() {
|
|
148
|
-
abap.builtin.sy.get().subrc.set(new abap.types.Integer().set(0));
|
|
149
|
-
}
|
|
150
|
-
async if_http_client$get_last_error(INPUT) {
|
|
151
|
-
let code = new abap.types.Integer({qualifiedName: "I"});
|
|
152
|
-
if (INPUT && INPUT.code) {code = INPUT.code;}
|
|
153
|
-
let message = new abap.types.String({qualifiedName: "STRING"});
|
|
154
|
-
if (INPUT && INPUT.message) {message = INPUT.message;}
|
|
155
|
-
await this.if_http_client$response.get().if_http_response$get_status({code: code});
|
|
156
|
-
message.set(new abap.types.Character(14).set('todo_open_abap'));
|
|
157
|
-
}
|
|
158
|
-
async if_http_client$send_sap_logon_ticket() {
|
|
159
|
-
abap.statements.assert(abap.compare.eq(new abap.types.Integer().set(2), new abap.types.Character(13).set('not supported')));
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
abap.Classes['CL_HTTP_CLIENT'] = cl_http_client;
|
|
163
|
-
export {cl_http_client};
|
|
164
|
-
//# sourceMappingURL=cl_http_client.clas.mjs.map
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": [
|
|
4
|
-
"cl_http_client.clas.abap"
|
|
5
|
-
],
|
|
6
|
-
"names": [],
|
|
7
|
-
"mappings": ";;AA8BA;;;EAEE;;;;;;;;;;QAGO,yDAAkB;QAClB,2DAAoB;;;IAKzB,iBAAU,GAAG;IAGb,gHAAqD;;oJAKnC;;IAGlB,iBAAY,GAAT,eAAE,MAAC,QAAQ,gCAAC;8GAGS;IACxB;IAEF;;EAEA;;;;;;;;;;;;;;;IAIE,eAAE,MAAC,WAAQ,+BAAC;EACd;EAEA;;;;;;;QACO,4DAAqB;IAC1B,eAAY,2LAA6D;yNAGxC;EACnC;EAEA;IAEE;EACF;EAEA;;;;;;;;IACE,oCAAS,GAAF,iCAAI,wCAAM;EACnB;EAEA;QACO,4DAA4B;QAC5B,yDAA4B;QAC5B,0DAA4B;QAC5B,0DAA4B;QAC5B,2DAA4B;QAC5B,kEAA4B;QAC5B,mLAA+B;QAC/B,qLAA+B;QAC/B,oHAA8C;IAEnD,eAAY,qEAAqC;IACjD,yBAAG,UAAoB;MACrB,cAAY,sCAAK;IACnB;IAGA,0BAAG,iIAAmE;gMAGxC;IAC9B;IAGA,YAAS,kIAA0D;IACnE,gHAAqD;IACrD,iCAAS,aAAW,OAAM;oGACiD;IAC3E,iBAA2B,GAAxB,yBAAO,kBAAmB,gCAAC;MAC5B,IACE,OAEA,IAHG,SAAL;;QAEI,iCAAS,6BAAU,sCAAO,mGAAmD;;oLAEW;;IAE9F;wGAI+E;IAC/E;;;MAEE;IACF;IAEA,qBAAkB,0EAA2C;IAC7D,yBAAG,0BAA8B;MAC/B;IACF;IAIA,aAAU,mEAAoC;IAE9C,iBAAqB,GAAlB,0BAAQ,WAAY,gCAAC;MACtB;IACF;IAEA;IACA;IACA;MACA;QACA;QACA;QACA;UACA;UACA;UACA;UACA;YAGA;YAIA;YACA;YACA;YACA;YACA;YACA;UACA;UAEA;UACA;UACA;UAKA;YACA;YACA;YACA;sHAGoB;UACpB;UAGA;UACA;UACA;UAGA,eAAE,MAAC,WAAQ,+BAAC;QAEd;QAEA;UAIE,eAAE,MAAC,WAAQ,+BAAC;QAEd;QAEA;;;;;4FAC8D;UAC5D,YAAU,kDAAgB;QAC5B;QAEA;UACE,oCAAS,GAAF,iCAAI,kDAAe;QAC5B;MAEF",
|
|
8
|
-
"file": "cl_http_client.clas.mjs",
|
|
9
|
-
"sourceRoot": ""
|
|
10
|
-
}
|