@abaplint/transpiler-cli 2.3.112 → 2.3.114

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (651) hide show
  1. package/build/bundle.js +23 -11
  2. package/package.json +3 -3
  3. package/output/#ui2#cl_json.clas.locals.mjs +0 -207
  4. package/output/#ui2#cl_json.clas.locals.mjs.map +0 -10
  5. package/output/#ui2#cl_json.clas.mjs +0 -160
  6. package/output/#ui2#cl_json.clas.mjs.map +0 -10
  7. package/output/_init.mjs +0 -8964
  8. package/output/_top.mjs +0 -2
  9. package/output/_unit_open.mjs +0 -25
  10. package/output/abap_boolean.dtel.mjs +0 -6
  11. package/output/abap_callstack.ttyp.mjs +0 -4
  12. package/output/abap_callstack_line.tabl.mjs +0 -5
  13. package/output/abap_encod.dtel.mjs +0 -6
  14. package/output/balmnr.dtel.mjs +0 -6
  15. package/output/balognr.dtel.mjs +0 -6
  16. package/output/bapi_fld.dtel.mjs +0 -6
  17. package/output/bapi_line.dtel.mjs +0 -6
  18. package/output/bapi_msg.dtel.mjs +0 -6
  19. package/output/bapi_mtype.dtel.mjs +0 -6
  20. package/output/bapi_param.dtel.mjs +0 -6
  21. package/output/bapi_rcode.dtel.mjs +0 -6
  22. package/output/bapilogsys.dtel.mjs +0 -6
  23. package/output/bapioption.dtel.mjs +0 -6
  24. package/output/bapiret2.tabl.mjs +0 -5
  25. package/output/bapireturn.tabl.mjs +0 -5
  26. package/output/bapisign.dtel.mjs +0 -6
  27. package/output/boolean.dtel.mjs +0 -6
  28. package/output/char1.dtel.mjs +0 -6
  29. package/output/char10.dtel.mjs +0 -6
  30. package/output/char15.dtel.mjs +0 -6
  31. package/output/char25.dtel.mjs +0 -6
  32. package/output/char32.dtel.mjs +0 -6
  33. package/output/char4.dtel.mjs +0 -6
  34. package/output/cl_abap_char_utilities.clas.mjs +0 -72
  35. package/output/cl_abap_char_utilities.clas.mjs.map +0 -10
  36. package/output/cl_abap_classdescr.clas.mjs +0 -31
  37. package/output/cl_abap_classdescr.clas.mjs.map +0 -10
  38. package/output/cl_abap_codepage.clas.mjs +0 -54
  39. package/output/cl_abap_codepage.clas.mjs.map +0 -10
  40. package/output/cl_abap_complexdescr.clas.mjs +0 -16
  41. package/output/cl_abap_complexdescr.clas.mjs.map +0 -10
  42. package/output/cl_abap_conv_codepage.clas.locals.mjs +0 -42
  43. package/output/cl_abap_conv_codepage.clas.locals.mjs.map +0 -10
  44. package/output/cl_abap_conv_codepage.clas.mjs +0 -31
  45. package/output/cl_abap_conv_codepage.clas.mjs.map +0 -10
  46. package/output/cl_abap_conv_in_ce.clas.mjs +0 -118
  47. package/output/cl_abap_conv_in_ce.clas.mjs.map +0 -10
  48. package/output/cl_abap_conv_out_ce.clas.mjs +0 -82
  49. package/output/cl_abap_conv_out_ce.clas.mjs.map +0 -10
  50. package/output/cl_abap_datadescr.clas.mjs +0 -35
  51. package/output/cl_abap_datadescr.clas.mjs.map +0 -10
  52. package/output/cl_abap_elemdescr.clas.mjs +0 -148
  53. package/output/cl_abap_elemdescr.clas.mjs.map +0 -10
  54. package/output/cl_abap_enumdescr.clas.mjs +0 -19
  55. package/output/cl_abap_enumdescr.clas.mjs.map +0 -10
  56. package/output/cl_abap_exceptional_values.clas.mjs +0 -65
  57. package/output/cl_abap_exceptional_values.clas.mjs.map +0 -10
  58. package/output/cl_abap_format.clas.mjs +0 -26
  59. package/output/cl_abap_format.clas.mjs.map +0 -10
  60. package/output/cl_abap_gzip.clas.mjs +0 -87
  61. package/output/cl_abap_gzip.clas.mjs.map +0 -10
  62. package/output/cl_abap_hmac.clas.mjs +0 -64
  63. package/output/cl_abap_hmac.clas.mjs.map +0 -10
  64. package/output/cl_abap_intfdescr.clas.mjs +0 -16
  65. package/output/cl_abap_intfdescr.clas.mjs.map +0 -10
  66. package/output/cl_abap_matcher.clas.mjs +0 -76
  67. package/output/cl_abap_matcher.clas.mjs.map +0 -10
  68. package/output/cl_abap_math.clas.mjs +0 -41
  69. package/output/cl_abap_math.clas.mjs.map +0 -10
  70. package/output/cl_abap_objectdescr.clas.mjs +0 -76
  71. package/output/cl_abap_objectdescr.clas.mjs.map +0 -10
  72. package/output/cl_abap_random.clas.mjs +0 -52
  73. package/output/cl_abap_random.clas.mjs.map +0 -10
  74. package/output/cl_abap_random_int.clas.mjs +0 -35
  75. package/output/cl_abap_random_int.clas.mjs.map +0 -10
  76. package/output/cl_abap_refdescr.clas.mjs +0 -35
  77. package/output/cl_abap_refdescr.clas.mjs.map +0 -10
  78. package/output/cl_abap_regex.clas.mjs +0 -43
  79. package/output/cl_abap_regex.clas.mjs.map +0 -10
  80. package/output/cl_abap_structdescr.clas.mjs +0 -180
  81. package/output/cl_abap_structdescr.clas.mjs.map +0 -10
  82. package/output/cl_abap_tabledescr.clas.mjs +0 -152
  83. package/output/cl_abap_tabledescr.clas.mjs.map +0 -10
  84. package/output/cl_abap_tstmp.clas.mjs +0 -99
  85. package/output/cl_abap_tstmp.clas.mjs.map +0 -10
  86. package/output/cl_abap_typedescr.clas.mjs +0 -368
  87. package/output/cl_abap_typedescr.clas.mjs.map +0 -10
  88. package/output/cl_abap_unit_assert.clas.locals.mjs +0 -57
  89. package/output/cl_abap_unit_assert.clas.locals.mjs.map +0 -10
  90. package/output/cl_abap_unit_assert.clas.mjs +0 -323
  91. package/output/cl_abap_unit_assert.clas.mjs.map +0 -10
  92. package/output/cl_abap_zip.clas.locals.mjs +0 -115
  93. package/output/cl_abap_zip.clas.locals.mjs.map +0 -10
  94. package/output/cl_abap_zip.clas.mjs +0 -95
  95. package/output/cl_abap_zip.clas.mjs.map +0 -10
  96. package/output/cl_apc_tcp_client_manager.clas.locals.mjs +0 -86
  97. package/output/cl_apc_tcp_client_manager.clas.locals.mjs.map +0 -10
  98. package/output/cl_apc_tcp_client_manager.clas.mjs +0 -31
  99. package/output/cl_apc_tcp_client_manager.clas.mjs.map +0 -10
  100. package/output/cl_apc_wsp_ext_stateless_base.clas.mjs +0 -30
  101. package/output/cl_apc_wsp_ext_stateless_base.clas.mjs.map +0 -10
  102. package/output/cl_bcs.clas.mjs +0 -63
  103. package/output/cl_bcs.clas.mjs.map +0 -10
  104. package/output/cl_bcs_convert.clas.mjs +0 -34
  105. package/output/cl_bcs_convert.clas.mjs.map +0 -10
  106. package/output/cl_cam_address_bcs.clas.mjs +0 -28
  107. package/output/cl_cam_address_bcs.clas.mjs.map +0 -10
  108. package/output/cl_demo_output.clas.mjs +0 -40
  109. package/output/cl_demo_output.clas.mjs.map +0 -10
  110. package/output/cl_document_bcs.clas.mjs +0 -45
  111. package/output/cl_document_bcs.clas.mjs.map +0 -10
  112. package/output/cl_gdt_conversion.clas.mjs +0 -122
  113. package/output/cl_gdt_conversion.clas.mjs.map +0 -10
  114. package/output/cl_gui_cfw.clas.mjs +0 -32
  115. package/output/cl_gui_cfw.clas.mjs.map +0 -10
  116. package/output/cl_gui_container.clas.mjs +0 -22
  117. package/output/cl_gui_container.clas.mjs.map +0 -10
  118. package/output/cl_gui_frontend_services.clas.mjs +0 -273
  119. package/output/cl_gui_frontend_services.clas.mjs.map +0 -10
  120. package/output/cl_http_client.clas.mjs +0 -164
  121. package/output/cl_http_client.clas.mjs.map +0 -10
  122. package/output/cl_http_entity.clas.mjs +0 -493
  123. package/output/cl_http_entity.clas.mjs.map +0 -10
  124. package/output/cl_http_server.clas.mjs +0 -28
  125. package/output/cl_http_server.clas.mjs.map +0 -10
  126. package/output/cl_http_utility.clas.mjs +0 -178
  127. package/output/cl_http_utility.clas.mjs.map +0 -10
  128. package/output/cl_i18n_languages.clas.mjs +0 -318
  129. package/output/cl_i18n_languages.clas.mjs.map +0 -10
  130. package/output/cl_ixml.clas.locals.mjs +0 -1161
  131. package/output/cl_ixml.clas.locals.mjs.map +0 -10
  132. package/output/cl_ixml.clas.mjs +0 -62
  133. package/output/cl_ixml.clas.mjs.map +0 -10
  134. package/output/cl_message_helper.clas.mjs +0 -81
  135. package/output/cl_message_helper.clas.mjs.map +0 -10
  136. package/output/cl_numberrange_runtime.clas.mjs +0 -32
  137. package/output/cl_numberrange_runtime.clas.mjs.map +0 -10
  138. package/output/cl_oo_factory.clas.mjs +0 -38
  139. package/output/cl_oo_factory.clas.mjs.map +0 -10
  140. package/output/cl_progress_indicator.clas.mjs +0 -30
  141. package/output/cl_progress_indicator.clas.mjs.map +0 -10
  142. package/output/cl_salv_aggregations.clas.mjs +0 -14
  143. package/output/cl_salv_aggregations.clas.mjs.map +0 -10
  144. package/output/cl_salv_column.clas.mjs +0 -35
  145. package/output/cl_salv_column.clas.mjs.map +0 -10
  146. package/output/cl_salv_columns_table.clas.mjs +0 -42
  147. package/output/cl_salv_columns_table.clas.mjs.map +0 -10
  148. package/output/cl_salv_events_table.clas.mjs +0 -14
  149. package/output/cl_salv_events_table.clas.mjs.map +0 -10
  150. package/output/cl_salv_functions_list.clas.mjs +0 -19
  151. package/output/cl_salv_functions_list.clas.mjs.map +0 -10
  152. package/output/cl_salv_table.clas.mjs +0 -122
  153. package/output/cl_salv_table.clas.mjs.map +0 -10
  154. package/output/cl_shm_area.clas.mjs +0 -267
  155. package/output/cl_shm_area.clas.mjs.map +0 -10
  156. package/output/cl_shm_service.clas.mjs +0 -56
  157. package/output/cl_shm_service.clas.mjs.map +0 -10
  158. package/output/cl_sxml_string_reader.clas.locals.mjs +0 -323
  159. package/output/cl_sxml_string_reader.clas.locals.mjs.map +0 -10
  160. package/output/cl_sxml_string_reader.clas.mjs +0 -25
  161. package/output/cl_sxml_string_reader.clas.mjs.map +0 -10
  162. package/output/cl_sxml_string_writer.clas.mjs +0 -146
  163. package/output/cl_sxml_string_writer.clas.mjs.map +0 -10
  164. package/output/cl_system_uuid.clas.mjs +0 -35
  165. package/output/cl_system_uuid.clas.mjs.map +0 -10
  166. package/output/cx_abap_message_digest.clas.mjs +0 -16
  167. package/output/cx_abap_message_digest.clas.mjs.map +0 -10
  168. package/output/cx_abap_random.clas.mjs +0 -16
  169. package/output/cx_abap_random.clas.mjs.map +0 -10
  170. package/output/cx_apc_error.clas.mjs +0 -16
  171. package/output/cx_apc_error.clas.mjs.map +0 -10
  172. package/output/cx_bcs.clas.mjs +0 -16
  173. package/output/cx_bcs.clas.mjs.map +0 -10
  174. package/output/cx_dynamic_check.clas.mjs +0 -15
  175. package/output/cx_dynamic_check.clas.mjs.map +0 -10
  176. package/output/cx_gdt_conversion.clas.mjs +0 -16
  177. package/output/cx_gdt_conversion.clas.mjs.map +0 -10
  178. package/output/cx_no_check.clas.mjs +0 -17
  179. package/output/cx_no_check.clas.mjs.map +0 -10
  180. package/output/cx_oo_clif_not_exists.clas.mjs +0 -16
  181. package/output/cx_oo_clif_not_exists.clas.mjs.map +0 -10
  182. package/output/cx_parameter_invalid.clas.mjs +0 -16
  183. package/output/cx_parameter_invalid.clas.mjs.map +0 -10
  184. package/output/cx_parameter_invalid_range.clas.mjs +0 -16
  185. package/output/cx_parameter_invalid_range.clas.mjs.map +0 -10
  186. package/output/cx_parameter_invalid_type.clas.mjs +0 -16
  187. package/output/cx_parameter_invalid_type.clas.mjs.map +0 -10
  188. package/output/cx_root.clas.mjs +0 -44
  189. package/output/cx_root.clas.mjs.map +0 -10
  190. package/output/cx_salv_access_error.clas.mjs +0 -16
  191. package/output/cx_salv_access_error.clas.mjs.map +0 -10
  192. package/output/cx_salv_data_error.clas.mjs +0 -16
  193. package/output/cx_salv_data_error.clas.mjs.map +0 -10
  194. package/output/cx_salv_error.clas.mjs +0 -16
  195. package/output/cx_salv_error.clas.mjs.map +0 -10
  196. package/output/cx_salv_msg.clas.mjs +0 -16
  197. package/output/cx_salv_msg.clas.mjs.map +0 -10
  198. package/output/cx_salv_not_found.clas.mjs +0 -16
  199. package/output/cx_salv_not_found.clas.mjs.map +0 -10
  200. package/output/cx_salv_static_check.clas.mjs +0 -16
  201. package/output/cx_salv_static_check.clas.mjs.map +0 -10
  202. package/output/cx_shm_already_detached.clas.mjs +0 -16
  203. package/output/cx_shm_already_detached.clas.mjs.map +0 -10
  204. package/output/cx_shm_attach_error.clas.mjs +0 -16
  205. package/output/cx_shm_attach_error.clas.mjs.map +0 -10
  206. package/output/cx_shm_build_failed.clas.mjs +0 -16
  207. package/output/cx_shm_build_failed.clas.mjs.map +0 -10
  208. package/output/cx_shm_change_lock_active.clas.mjs +0 -16
  209. package/output/cx_shm_change_lock_active.clas.mjs.map +0 -10
  210. package/output/cx_shm_completion_error.clas.mjs +0 -16
  211. package/output/cx_shm_completion_error.clas.mjs.map +0 -10
  212. package/output/cx_shm_detach_error.clas.mjs +0 -16
  213. package/output/cx_shm_detach_error.clas.mjs.map +0 -10
  214. package/output/cx_shm_error.clas.mjs +0 -16
  215. package/output/cx_shm_error.clas.mjs.map +0 -10
  216. package/output/cx_shm_event_execution_failed.clas.mjs +0 -16
  217. package/output/cx_shm_event_execution_failed.clas.mjs.map +0 -10
  218. package/output/cx_shm_exclusive_lock_active.clas.mjs +0 -16
  219. package/output/cx_shm_exclusive_lock_active.clas.mjs.map +0 -10
  220. package/output/cx_shm_general_error.clas.mjs +0 -16
  221. package/output/cx_shm_general_error.clas.mjs.map +0 -10
  222. package/output/cx_shm_inconsistent.clas.mjs +0 -16
  223. package/output/cx_shm_inconsistent.clas.mjs.map +0 -10
  224. package/output/cx_shm_initial_reference.clas.mjs +0 -16
  225. package/output/cx_shm_initial_reference.clas.mjs.map +0 -10
  226. package/output/cx_shm_no_active_version.clas.mjs +0 -16
  227. package/output/cx_shm_no_active_version.clas.mjs.map +0 -10
  228. package/output/cx_shm_parameter_error.clas.mjs +0 -16
  229. package/output/cx_shm_parameter_error.clas.mjs.map +0 -10
  230. package/output/cx_shm_pending_lock_removed.clas.mjs +0 -16
  231. package/output/cx_shm_pending_lock_removed.clas.mjs.map +0 -10
  232. package/output/cx_shm_read_lock_active.clas.mjs +0 -16
  233. package/output/cx_shm_read_lock_active.clas.mjs.map +0 -10
  234. package/output/cx_shm_secondary_commit.clas.mjs +0 -16
  235. package/output/cx_shm_secondary_commit.clas.mjs.map +0 -10
  236. package/output/cx_shm_version_limit_exceeded.clas.mjs +0 -16
  237. package/output/cx_shm_version_limit_exceeded.clas.mjs.map +0 -10
  238. package/output/cx_shm_wrong_handle.clas.mjs +0 -16
  239. package/output/cx_shm_wrong_handle.clas.mjs.map +0 -10
  240. package/output/cx_shma_dynamic.clas.mjs +0 -16
  241. package/output/cx_shma_dynamic.clas.mjs.map +0 -10
  242. package/output/cx_shma_inconsistent.clas.mjs +0 -16
  243. package/output/cx_shma_inconsistent.clas.mjs.map +0 -10
  244. package/output/cx_shma_not_configured.clas.mjs +0 -16
  245. package/output/cx_shma_not_configured.clas.mjs.map +0 -10
  246. package/output/cx_static_check.clas.mjs +0 -27
  247. package/output/cx_static_check.clas.mjs.map +0 -10
  248. package/output/cx_sxml_error.clas.mjs +0 -16
  249. package/output/cx_sxml_error.clas.mjs.map +0 -10
  250. package/output/cx_sxml_illegal_argument_error.clas.mjs +0 -16
  251. package/output/cx_sxml_illegal_argument_error.clas.mjs.map +0 -10
  252. package/output/cx_sxml_name_error.clas.mjs +0 -16
  253. package/output/cx_sxml_name_error.clas.mjs.map +0 -10
  254. package/output/cx_sxml_parse_error.clas.mjs +0 -20
  255. package/output/cx_sxml_parse_error.clas.mjs.map +0 -10
  256. package/output/cx_sxml_state_error.clas.mjs +0 -16
  257. package/output/cx_sxml_state_error.clas.mjs.map +0 -10
  258. package/output/cx_sy_arithmetic_error.clas.mjs +0 -16
  259. package/output/cx_sy_arithmetic_error.clas.mjs.map +0 -10
  260. package/output/cx_sy_buffer_overflow.clas.mjs +0 -16
  261. package/output/cx_sy_buffer_overflow.clas.mjs.map +0 -10
  262. package/output/cx_sy_codepage_converter_init.clas.mjs +0 -16
  263. package/output/cx_sy_codepage_converter_init.clas.mjs.map +0 -10
  264. package/output/cx_sy_compression_error.clas.mjs +0 -16
  265. package/output/cx_sy_compression_error.clas.mjs.map +0 -10
  266. package/output/cx_sy_conversion_codepage.clas.mjs +0 -17
  267. package/output/cx_sy_conversion_codepage.clas.mjs.map +0 -10
  268. package/output/cx_sy_conversion_data_loss.clas.mjs +0 -16
  269. package/output/cx_sy_conversion_data_loss.clas.mjs.map +0 -10
  270. package/output/cx_sy_conversion_error.clas.mjs +0 -16
  271. package/output/cx_sy_conversion_error.clas.mjs.map +0 -10
  272. package/output/cx_sy_conversion_no_number.clas.mjs +0 -16
  273. package/output/cx_sy_conversion_no_number.clas.mjs.map +0 -10
  274. package/output/cx_sy_conversion_overflow.clas.mjs +0 -16
  275. package/output/cx_sy_conversion_overflow.clas.mjs.map +0 -10
  276. package/output/cx_sy_create_data_error.clas.mjs +0 -16
  277. package/output/cx_sy_create_data_error.clas.mjs.map +0 -10
  278. package/output/cx_sy_create_object_error.clas.mjs +0 -29
  279. package/output/cx_sy_create_object_error.clas.mjs.map +0 -10
  280. package/output/cx_sy_data_access_error.clas.mjs +0 -16
  281. package/output/cx_sy_data_access_error.clas.mjs.map +0 -10
  282. package/output/cx_sy_duplicate_key.clas.mjs +0 -16
  283. package/output/cx_sy_duplicate_key.clas.mjs.map +0 -10
  284. package/output/cx_sy_dyn_call_error.clas.mjs +0 -16
  285. package/output/cx_sy_dyn_call_error.clas.mjs.map +0 -10
  286. package/output/cx_sy_dyn_call_illegal_class.clas.mjs +0 -16
  287. package/output/cx_sy_dyn_call_illegal_class.clas.mjs.map +0 -10
  288. package/output/cx_sy_dyn_call_illegal_func.clas.mjs +0 -16
  289. package/output/cx_sy_dyn_call_illegal_func.clas.mjs.map +0 -10
  290. package/output/cx_sy_dyn_call_illegal_method.clas.mjs +0 -27
  291. package/output/cx_sy_dyn_call_illegal_method.clas.mjs.map +0 -10
  292. package/output/cx_sy_dyn_call_param_not_found.clas.mjs +0 -16
  293. package/output/cx_sy_dyn_call_param_not_found.clas.mjs.map +0 -10
  294. package/output/cx_sy_dyn_call_parameter_error.clas.mjs +0 -17
  295. package/output/cx_sy_dyn_call_parameter_error.clas.mjs.map +0 -10
  296. package/output/cx_sy_dynamic_osql_error.clas.mjs +0 -18
  297. package/output/cx_sy_dynamic_osql_error.clas.mjs.map +0 -10
  298. package/output/cx_sy_dynamic_osql_semantics.clas.mjs +0 -18
  299. package/output/cx_sy_dynamic_osql_semantics.clas.mjs.map +0 -10
  300. package/output/cx_sy_itab_duplicate_key.clas.mjs +0 -16
  301. package/output/cx_sy_itab_duplicate_key.clas.mjs.map +0 -10
  302. package/output/cx_sy_itab_error.clas.mjs +0 -16
  303. package/output/cx_sy_itab_error.clas.mjs.map +0 -10
  304. package/output/cx_sy_itab_line_not_found.clas.mjs +0 -16
  305. package/output/cx_sy_itab_line_not_found.clas.mjs.map +0 -10
  306. package/output/cx_sy_message_illegal_text.clas.mjs +0 -16
  307. package/output/cx_sy_message_illegal_text.clas.mjs.map +0 -10
  308. package/output/cx_sy_move_cast_error.clas.mjs +0 -16
  309. package/output/cx_sy_move_cast_error.clas.mjs.map +0 -10
  310. package/output/cx_sy_open_sql_error.clas.mjs +0 -18
  311. package/output/cx_sy_open_sql_error.clas.mjs.map +0 -10
  312. package/output/cx_sy_range_out_of_bounds.clas.mjs +0 -16
  313. package/output/cx_sy_range_out_of_bounds.clas.mjs.map +0 -10
  314. package/output/cx_sy_ref_is_initial.clas.mjs +0 -16
  315. package/output/cx_sy_ref_is_initial.clas.mjs.map +0 -10
  316. package/output/cx_sy_sql_error.clas.mjs +0 -20
  317. package/output/cx_sy_sql_error.clas.mjs.map +0 -10
  318. package/output/cx_sy_strg_par_val.clas.mjs +0 -16
  319. package/output/cx_sy_strg_par_val.clas.mjs.map +0 -10
  320. package/output/cx_sy_struct_attributes.clas.mjs +0 -16
  321. package/output/cx_sy_struct_attributes.clas.mjs.map +0 -10
  322. package/output/cx_sy_struct_comp_name.clas.mjs +0 -16
  323. package/output/cx_sy_struct_comp_name.clas.mjs.map +0 -10
  324. package/output/cx_sy_struct_comp_type.clas.mjs +0 -16
  325. package/output/cx_sy_struct_comp_type.clas.mjs.map +0 -10
  326. package/output/cx_sy_struct_creation.clas.mjs +0 -16
  327. package/output/cx_sy_struct_creation.clas.mjs.map +0 -10
  328. package/output/cx_sy_type_creation.clas.mjs +0 -16
  329. package/output/cx_sy_type_creation.clas.mjs.map +0 -10
  330. package/output/cx_sy_zerodivide.clas.mjs +0 -16
  331. package/output/cx_sy_zerodivide.clas.mjs.map +0 -10
  332. package/output/cx_transformation_error.clas.mjs +0 -16
  333. package/output/cx_transformation_error.clas.mjs.map +0 -10
  334. package/output/cx_uuid_error.clas.mjs +0 -16
  335. package/output/cx_uuid_error.clas.mjs.map +0 -10
  336. package/output/cx_xslt_exception.clas.mjs +0 -16
  337. package/output/cx_xslt_exception.clas.mjs.map +0 -10
  338. package/output/cx_xslt_format_error.clas.mjs +0 -16
  339. package/output/cx_xslt_format_error.clas.mjs.map +0 -10
  340. package/output/cx_xslt_runtime_error.clas.mjs +0 -16
  341. package/output/cx_xslt_runtime_error.clas.mjs.map +0 -10
  342. package/output/cx_xslt_system_error.clas.mjs +0 -16
  343. package/output/cx_xslt_system_error.clas.mjs.map +0 -10
  344. package/output/dats.dtel.mjs +0 -6
  345. package/output/ddfields.ttyp.mjs +0 -4
  346. package/output/ddoption.dtel.mjs +0 -6
  347. package/output/ddsign.dtel.mjs +0 -6
  348. package/output/devclass.dtel.mjs +0 -6
  349. package/output/dfies.tabl.mjs +0 -5
  350. package/output/doku_obj.dtel.mjs +0 -6
  351. package/output/dynprofld.dtel.mjs +0 -6
  352. package/output/file_table.tabl.mjs +0 -5
  353. package/output/filetable.ttyp.mjs +0 -4
  354. package/output/flag.dtel.mjs +0 -6
  355. package/output/funcname.dtel.mjs +0 -6
  356. package/output/guid.dtel.mjs +0 -6
  357. package/output/if_abap_channel_types.intf.mjs +0 -9
  358. package/output/if_abap_channel_types.intf.mjs.map +0 -8
  359. package/output/if_abap_conv_in.intf.mjs +0 -8
  360. package/output/if_abap_conv_in.intf.mjs.map +0 -8
  361. package/output/if_abap_conv_out.intf.mjs +0 -8
  362. package/output/if_abap_conv_out.intf.mjs.map +0 -8
  363. package/output/if_abap_unit_constant.intf.mjs +0 -15
  364. package/output/if_abap_unit_constant.intf.mjs.map +0 -8
  365. package/output/if_apc_tcp_frame_types.intf.mjs +0 -14
  366. package/output/if_apc_tcp_frame_types.intf.mjs.map +0 -8
  367. package/output/if_apc_wsp_binding_manager.intf.mjs +0 -8
  368. package/output/if_apc_wsp_binding_manager.intf.mjs.map +0 -8
  369. package/output/if_apc_wsp_client.intf.mjs +0 -8
  370. package/output/if_apc_wsp_client.intf.mjs.map +0 -8
  371. package/output/if_apc_wsp_event_handler.intf.mjs +0 -8
  372. package/output/if_apc_wsp_event_handler.intf.mjs.map +0 -8
  373. package/output/if_apc_wsp_extension.intf.mjs +0 -8
  374. package/output/if_apc_wsp_extension.intf.mjs.map +0 -8
  375. package/output/if_apc_wsp_initial_request.intf.mjs +0 -8
  376. package/output/if_apc_wsp_initial_request.intf.mjs.map +0 -8
  377. package/output/if_apc_wsp_message.intf.mjs +0 -8
  378. package/output/if_apc_wsp_message.intf.mjs.map +0 -8
  379. package/output/if_apc_wsp_message_manager.intf.mjs +0 -8
  380. package/output/if_apc_wsp_message_manager.intf.mjs.map +0 -8
  381. package/output/if_apc_wsp_server_context.intf.mjs +0 -8
  382. package/output/if_apc_wsp_server_context.intf.mjs.map +0 -8
  383. package/output/if_aunit_constants.intf.mjs +0 -27
  384. package/output/if_aunit_constants.intf.mjs.map +0 -8
  385. package/output/if_document_bcs.intf.mjs +0 -8
  386. package/output/if_document_bcs.intf.mjs.map +0 -8
  387. package/output/if_http_client.intf.mjs +0 -12
  388. package/output/if_http_client.intf.mjs.map +0 -8
  389. package/output/if_http_entity.intf.mjs +0 -14
  390. package/output/if_http_entity.intf.mjs.map +0 -8
  391. package/output/if_http_extension.intf.mjs +0 -12
  392. package/output/if_http_extension.intf.mjs.map +0 -8
  393. package/output/if_http_request.intf.mjs +0 -16
  394. package/output/if_http_request.intf.mjs.map +0 -8
  395. package/output/if_http_response.intf.mjs +0 -8
  396. package/output/if_http_response.intf.mjs.map +0 -8
  397. package/output/if_http_server.intf.mjs +0 -20
  398. package/output/if_http_server.intf.mjs.map +0 -8
  399. package/output/if_http_utility.intf.mjs +0 -8
  400. package/output/if_http_utility.intf.mjs.map +0 -8
  401. package/output/if_ixml.intf.mjs +0 -8
  402. package/output/if_ixml.intf.mjs.map +0 -8
  403. package/output/if_ixml_attribute.intf.mjs +0 -8
  404. package/output/if_ixml_attribute.intf.mjs.map +0 -8
  405. package/output/if_ixml_document.intf.mjs +0 -8
  406. package/output/if_ixml_document.intf.mjs.map +0 -8
  407. package/output/if_ixml_element.intf.mjs +0 -8
  408. package/output/if_ixml_element.intf.mjs.map +0 -8
  409. package/output/if_ixml_encoding.intf.mjs +0 -10
  410. package/output/if_ixml_encoding.intf.mjs.map +0 -8
  411. package/output/if_ixml_istream.intf.mjs +0 -8
  412. package/output/if_ixml_istream.intf.mjs.map +0 -8
  413. package/output/if_ixml_named_node_map.intf.mjs +0 -8
  414. package/output/if_ixml_named_node_map.intf.mjs.map +0 -8
  415. package/output/if_ixml_node.intf.mjs +0 -12
  416. package/output/if_ixml_node.intf.mjs.map +0 -8
  417. package/output/if_ixml_node_iterator.intf.mjs +0 -8
  418. package/output/if_ixml_node_iterator.intf.mjs.map +0 -8
  419. package/output/if_ixml_node_list.intf.mjs +0 -8
  420. package/output/if_ixml_node_list.intf.mjs.map +0 -8
  421. package/output/if_ixml_ostream.intf.mjs +0 -8
  422. package/output/if_ixml_ostream.intf.mjs.map +0 -8
  423. package/output/if_ixml_parse_error.intf.mjs +0 -8
  424. package/output/if_ixml_parse_error.intf.mjs.map +0 -8
  425. package/output/if_ixml_parser.intf.mjs +0 -10
  426. package/output/if_ixml_parser.intf.mjs.map +0 -8
  427. package/output/if_ixml_renderer.intf.mjs +0 -8
  428. package/output/if_ixml_renderer.intf.mjs.map +0 -8
  429. package/output/if_ixml_stream_factory.intf.mjs +0 -8
  430. package/output/if_ixml_stream_factory.intf.mjs.map +0 -8
  431. package/output/if_ixml_unknown.intf.mjs +0 -8
  432. package/output/if_ixml_unknown.intf.mjs.map +0 -8
  433. package/output/if_message.intf.mjs +0 -8
  434. package/output/if_message.intf.mjs.map +0 -8
  435. package/output/if_oo_adt_classrun.intf.mjs +0 -8
  436. package/output/if_oo_adt_classrun.intf.mjs.map +0 -8
  437. package/output/if_oo_adt_classrun_out.intf.mjs +0 -8
  438. package/output/if_oo_adt_classrun_out.intf.mjs.map +0 -8
  439. package/output/if_oo_clif_source.intf.mjs +0 -8
  440. package/output/if_oo_clif_source.intf.mjs.map +0 -8
  441. package/output/if_recipient_bcs.intf.mjs +0 -8
  442. package/output/if_recipient_bcs.intf.mjs.map +0 -8
  443. package/output/if_salv_c_bool_sap.intf.mjs +0 -12
  444. package/output/if_salv_c_bool_sap.intf.mjs.map +0 -8
  445. package/output/if_salv_c_selection_mode.intf.mjs +0 -18
  446. package/output/if_salv_c_selection_mode.intf.mjs.map +0 -8
  447. package/output/if_sender_bcs.intf.mjs +0 -8
  448. package/output/if_sender_bcs.intf.mjs.map +0 -8
  449. package/output/if_serializable_object.intf.mjs +0 -8
  450. package/output/if_serializable_object.intf.mjs.map +0 -8
  451. package/output/if_shm_build_instance.intf.mjs +0 -8
  452. package/output/if_shm_build_instance.intf.mjs.map +0 -8
  453. package/output/if_shm_trace.intf.mjs +0 -8
  454. package/output/if_shm_trace.intf.mjs.map +0 -8
  455. package/output/if_sxml.intf.mjs +0 -17
  456. package/output/if_sxml.intf.mjs.map +0 -8
  457. package/output/if_sxml_attribute.intf.mjs +0 -9
  458. package/output/if_sxml_attribute.intf.mjs.map +0 -8
  459. package/output/if_sxml_close_element.intf.mjs +0 -8
  460. package/output/if_sxml_close_element.intf.mjs.map +0 -8
  461. package/output/if_sxml_node.intf.mjs +0 -19
  462. package/output/if_sxml_node.intf.mjs.map +0 -8
  463. package/output/if_sxml_open_element.intf.mjs +0 -8
  464. package/output/if_sxml_open_element.intf.mjs.map +0 -8
  465. package/output/if_sxml_reader.intf.mjs +0 -8
  466. package/output/if_sxml_reader.intf.mjs.map +0 -8
  467. package/output/if_sxml_value.intf.mjs +0 -11
  468. package/output/if_sxml_value.intf.mjs.map +0 -8
  469. package/output/if_sxml_value_node.intf.mjs +0 -8
  470. package/output/if_sxml_value_node.intf.mjs.map +0 -8
  471. package/output/if_sxml_writer.intf.mjs +0 -26
  472. package/output/if_sxml_writer.intf.mjs.map +0 -8
  473. package/output/if_sxmlp_factory.intf.mjs +0 -8
  474. package/output/if_sxmlp_factory.intf.mjs.map +0 -8
  475. package/output/if_sxmlp_list.intf.mjs +0 -8
  476. package/output/if_sxmlp_list.intf.mjs.map +0 -8
  477. package/output/if_sxmlp_part.intf.mjs +0 -8
  478. package/output/if_sxmlp_part.intf.mjs.map +0 -8
  479. package/output/if_sxmlp_simple.intf.mjs +0 -8
  480. package/output/if_sxmlp_simple.intf.mjs.map +0 -8
  481. package/output/if_system_uuid_rfc4122_static.intf.mjs +0 -8
  482. package/output/if_system_uuid_rfc4122_static.intf.mjs.map +0 -8
  483. package/output/if_system_uuid_static.intf.mjs +0 -8
  484. package/output/if_system_uuid_static.intf.mjs.map +0 -8
  485. package/output/if_t100_dyn_msg.intf.mjs +0 -8
  486. package/output/if_t100_dyn_msg.intf.mjs.map +0 -8
  487. package/output/if_t100_message.intf.mjs +0 -15
  488. package/output/if_t100_message.intf.mjs.map +0 -8
  489. package/output/ihttpnvp.tabl.mjs +0 -5
  490. package/output/index.mjs +0 -35
  491. package/output/init.mjs +0 -8965
  492. package/output/int1.dtel.mjs +0 -6
  493. package/output/int2.dtel.mjs +0 -6
  494. package/output/int4.dtel.mjs +0 -6
  495. package/output/kernel_authority_check.clas.mjs +0 -20
  496. package/output/kernel_authority_check.clas.mjs.map +0 -10
  497. package/output/kernel_call.clas.mjs +0 -28
  498. package/output/kernel_call.clas.mjs.map +0 -10
  499. package/output/kernel_call_transformation.clas.mjs +0 -182
  500. package/output/kernel_call_transformation.clas.mjs.map +0 -10
  501. package/output/kernel_create_data_handle.clas.mjs +0 -121
  502. package/output/kernel_create_data_handle.clas.mjs.map +0 -10
  503. package/output/kernel_cx_assert.clas.mjs +0 -33
  504. package/output/kernel_cx_assert.clas.mjs.map +0 -10
  505. package/output/kernel_fugr_test.clas.mjs +0 -14
  506. package/output/kernel_fugr_test.clas.mjs.map +0 -10
  507. package/output/kernel_ixml_json_to_data.clas.mjs +0 -145
  508. package/output/kernel_ixml_json_to_data.clas.mjs.map +0 -10
  509. package/output/kernel_ixml_xml_to_data.clas.mjs +0 -96
  510. package/output/kernel_ixml_xml_to_data.clas.mjs.map +0 -10
  511. package/output/kernel_json_to_ixml.clas.mjs +0 -78
  512. package/output/kernel_json_to_ixml.clas.mjs.map +0 -10
  513. package/output/kernel_lock.clas.mjs +0 -31
  514. package/output/kernel_lock.clas.mjs.map +0 -10
  515. package/output/kernel_numberrange.clas.mjs +0 -38
  516. package/output/kernel_numberrange.clas.mjs.map +0 -10
  517. package/output/kernel_push_channels.clas.mjs +0 -20
  518. package/output/kernel_push_channels.clas.mjs.map +0 -10
  519. package/output/kernel_scan_abap_source.clas.mjs +0 -212
  520. package/output/kernel_scan_abap_source.clas.mjs.map +0 -10
  521. package/output/kernel_unit_runner.clas.mjs +0 -199
  522. package/output/kernel_unit_runner.clas.mjs.map +0 -10
  523. package/output/laiso.dtel.mjs +0 -6
  524. package/output/land1.dtel.mjs +0 -6
  525. package/output/langu.dtel.mjs +0 -6
  526. package/output/lvc_nokeyc.dtel.mjs +0 -6
  527. package/output/mandt.dtel.mjs +0 -6
  528. package/output/match_result.tabl.mjs +0 -5
  529. package/output/match_result_tab.ttyp.mjs +0 -4
  530. package/output/msehi.dtel.mjs +0 -6
  531. package/output/number_get_next.fugr.number_get_next.mjs +0 -23
  532. package/output/number_get_next.fugr.number_get_next.mjs.map +0 -8
  533. package/output/number_get_next.fugr.saplnumber_get_next.mjs +0 -5
  534. package/output/number_get_next.fugr.saplnumber_get_next.mjs.map +0 -8
  535. package/output/numc4.dtel.mjs +0 -6
  536. package/output/openabap.fugr.conversion_exit_alpha_input.mjs +0 -17
  537. package/output/openabap.fugr.conversion_exit_alpha_input.mjs.map +0 -8
  538. package/output/openabap.fugr.conversion_exit_alpha_output.mjs +0 -18
  539. package/output/openabap.fugr.conversion_exit_alpha_output.mjs.map +0 -8
  540. package/output/openabap.fugr.conversion_exit_isola_input.mjs +0 -20
  541. package/output/openabap.fugr.conversion_exit_isola_input.mjs.map +0 -8
  542. package/output/openabap.fugr.conversion_exit_isola_output.mjs +0 -17
  543. package/output/openabap.fugr.conversion_exit_isola_output.mjs.map +0 -8
  544. package/output/openabap.fugr.convert_itf_to_stream_text.mjs +0 -21
  545. package/output/openabap.fugr.convert_itf_to_stream_text.mjs.map +0 -8
  546. package/output/openabap.fugr.docu_get.mjs +0 -29
  547. package/output/openabap.fugr.docu_get.mjs.map +0 -8
  548. package/output/openabap.fugr.generate_sec_random.mjs +0 -19
  549. package/output/openabap.fugr.generate_sec_random.mjs.map +0 -8
  550. package/output/openabap.fugr.get_system_timezone.mjs +0 -12
  551. package/output/openabap.fugr.get_system_timezone.mjs.map +0 -8
  552. package/output/openabap.fugr.saplzopenabap.mjs +0 -5
  553. package/output/openabap.fugr.saplzopenabap.mjs.map +0 -8
  554. package/output/openabap.fugr.system_callstack.mjs +0 -16
  555. package/output/openabap.fugr.system_callstack.mjs.map +0 -8
  556. package/output/openabap.fugr.system_installed_languages.mjs +0 -13
  557. package/output/openabap.fugr.system_installed_languages.mjs.map +0 -8
  558. package/output/openabap.fugr.text_split.mjs +0 -33
  559. package/output/openabap.fugr.text_split.mjs.map +0 -8
  560. package/output/reposrc.tabl.mjs +0 -5
  561. package/output/rfcdest.dtel.mjs +0 -6
  562. package/output/scrtext_l.dtel.mjs +0 -6
  563. package/output/scrtext_m.dtel.mjs +0 -6
  564. package/output/scrtext_s.dtel.mjs +0 -6
  565. package/output/scx_attrname.dtel.mjs +0 -6
  566. package/output/scx_t100key.tabl.mjs +0 -5
  567. package/output/seoclsname.dtel.mjs +0 -6
  568. package/output/shm_affect_server.dtel.mjs +0 -6
  569. package/output/shm_area_name.dtel.mjs +0 -6
  570. package/output/shm_attach_mode.dtel.mjs +0 -6
  571. package/output/shm_auto_build_class_name.dtel.mjs +0 -6
  572. package/output/shm_client.dtel.mjs +0 -6
  573. package/output/shm_constr_invocation_mode.dtel.mjs +0 -6
  574. package/output/shm_inst_infos.dtel.mjs +0 -6
  575. package/output/shm_inst_name.dtel.mjs +0 -6
  576. package/output/shm_life_context.dtel.mjs +0 -6
  577. package/output/shm_properties.tabl.mjs +0 -5
  578. package/output/shm_rc.dtel.mjs +0 -6
  579. package/output/shma_attributes.tabl.mjs +0 -5
  580. package/output/shma_client.dtel.mjs +0 -6
  581. package/output/shmm_trc_variant_name.dtel.mjs +0 -6
  582. package/output/so_raw255.dtel.mjs +0 -6
  583. package/output/so_text255.dtel.mjs +0 -6
  584. package/output/soli.tabl.mjs +0 -5
  585. package/output/soli_tab.ttyp.mjs +0 -4
  586. package/output/solix.tabl.mjs +0 -5
  587. package/output/solix_tab.ttyp.mjs +0 -4
  588. package/output/sotr_conc.dtel.mjs +0 -6
  589. package/output/spras.dtel.mjs +0 -6
  590. package/output/ssfapplssl.dtel.mjs +0 -6
  591. package/output/sstmnt.tabl.mjs +0 -5
  592. package/output/sstmnt_tab.ttyp.mjs +0 -4
  593. package/output/sstruc.tabl.mjs +0 -5
  594. package/output/sstruc_tab.ttyp.mjs +0 -4
  595. package/output/stokes.tabl.mjs +0 -5
  596. package/output/stokes_tab.ttyp.mjs +0 -4
  597. package/output/stokesx.tabl.mjs +0 -5
  598. package/output/string_table.ttyp.mjs +0 -4
  599. package/output/submatch_result.tabl.mjs +0 -5
  600. package/output/submatch_result_tab.ttyp.mjs +0 -4
  601. package/output/sydate.dtel.mjs +0 -6
  602. package/output/symsg.tabl.mjs +0 -5
  603. package/output/symsgid.dtel.mjs +0 -6
  604. package/output/symsgno.dtel.mjs +0 -6
  605. package/output/symsgty.dtel.mjs +0 -6
  606. package/output/symsgv.dtel.mjs +0 -6
  607. package/output/syst_host.dtel.mjs +0 -6
  608. package/output/sysubrc.dtel.mjs +0 -6
  609. package/output/sysuuid_c36.dtel.mjs +0 -6
  610. package/output/sysuuid_x16.dtel.mjs +0 -6
  611. package/output/syuname.dtel.mjs +0 -6
  612. package/output/t000.tabl.mjs +0 -5
  613. package/output/t100.tabl.mjs +0 -5
  614. package/output/tabfdpos.dtel.mjs +0 -6
  615. package/output/tabname.dtel.mjs +0 -6
  616. package/output/tadir.tabl.mjs +0 -5
  617. package/output/tdevc.tabl.mjs +0 -5
  618. package/output/tdline.dtel.mjs +0 -6
  619. package/output/text20.dtel.mjs +0 -6
  620. package/output/text200.dtel.mjs +0 -6
  621. package/output/text255.dtel.mjs +0 -6
  622. package/output/text30.dtel.mjs +0 -6
  623. package/output/text80.dtel.mjs +0 -6
  624. package/output/textpool.tabl.mjs +0 -5
  625. package/output/tfdir.tabl.mjs +0 -5
  626. package/output/tihttpnvp.ttyp.mjs +0 -4
  627. package/output/timestamp.dtel.mjs +0 -6
  628. package/output/timestampl.dtel.mjs +0 -6
  629. package/output/timezone.dtel.mjs +0 -6
  630. package/output/tline.tabl.mjs +0 -5
  631. package/output/tline_tab.ttyp.mjs +0 -4
  632. package/output/trfunction.dtel.mjs +0 -6
  633. package/output/trkorr.dtel.mjs +0 -6
  634. package/output/tzntstmpl.dtel.mjs +0 -6
  635. package/output/uname.dtel.mjs +0 -6
  636. package/output/w3mime.tabl.mjs +0 -5
  637. package/output/wwwdatatab.tabl.mjs +0 -5
  638. package/output/wwwparams.tabl.mjs +0 -5
  639. package/output/xfeld.dtel.mjs +0 -6
  640. package/output/xsdboolean.dtel.mjs +0 -6
  641. package/output/xsdtime_t.dtel.mjs +0 -6
  642. package/output/zw3mi.fugr.saplzw3mi.mjs +0 -5
  643. package/output/zw3mi.fugr.saplzw3mi.mjs.map +0 -8
  644. package/output/zw3mi.fugr.wwwdata_export.mjs +0 -14
  645. package/output/zw3mi.fugr.wwwdata_export.mjs.map +0 -8
  646. package/output/zw3mi.fugr.wwwdata_import.mjs +0 -14
  647. package/output/zw3mi.fugr.wwwdata_import.mjs.map +0 -8
  648. package/output/zw3mi.fugr.wwwparams_insert.mjs +0 -12
  649. package/output/zw3mi.fugr.wwwparams_insert.mjs.map +0 -8
  650. package/output/zw3mi.fugr.wwwparams_read.mjs +0 -27
  651. 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
- }