move files from old PR

This commit is contained in:
Lars Hvam 2021-11-05 08:13:56 +01:00
parent 052cd39a4f
commit b71017cb41
3 changed files with 123 additions and 0 deletions

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
node_modules/
package-lock.json
output

104
abap_transpile.json Normal file
View File

@ -0,0 +1,104 @@
{
"input_folder": "src",
"input_filter": [
"zcl_excel_autofilter",
"zcl_excel_autofilters",
"zcl_excel_columns",
"zcl_excel_comment",
"zcl_excel_comments",
"zcl_excel_common",
"zcl_excel_data_validations",
"zcl_excel_drawings",
"zcl_excel_graph_bars",
"zcl_excel_graph_line",
"zcl_excel_graph_pie",
"zcl_excel_graph",
"zcl_excel_hyperlink",
"zcl_excel_legacy_palette",
"zcl_excel_range",
"zcl_excel_ranges",
"zcl_excel_row",
"zcl_excel_rows",
"zcl_excel_security",
"zcl_excel_style_protection",
"zcl_excel_styles_cond",
"zcl_excel_styles",
"zcl_excel_table",
"zcl_excel_theme_color_scheme",
"zcl_excel_theme_eclrschemelst",
"zcl_excel_theme_elements",
"zcl_excel_theme_extlst",
"zcl_excel_theme_fmt_scheme",
"zcl_excel_theme_font_scheme",
"zcl_excel_theme_objectdefaults",
"zcl_excel_worksheet_pagebreaks",
"zcl_excel_worksheets",
"zcx_excel",
"zexcel_aes_password",
"zexcel_alignment",
"zexcel_border",
"zexcel_break",
"zexcel_cell_column",
"zexcel_cell_coords",
"zexcel_cell_protection",
"zexcel_cell_row",
"zexcel_cell_value",
"zexcel_conditional_type",
"zexcel_data_val_type",
"zexcel_diagonal",
"zexcel_fill_type",
"zexcel_pane",
"zexcel_pwd_hash",
"zexcel_sheet_hidden",
"zexcel_style_color_argb",
"zexcel_style_font_family",
"zexcel_table_style",
"zexcel_table_totals_function",
"zif_excel_book_properties",
"zif_excel_book_protection",
"zif_excel_book_vba_project",
"zif_excel_converter",
"zif_excel_reader",
"zif_excel_sheet_printsettings",
"zif_excel_sheet_vba_project",
"zif_excel_writer"
],
"output_folder": "output",
"lib": "https://github.com/open-abap/open-abap",
"write_unit_tests": true,
"write_source_map": true,
"options": {
"ignoreSyntaxCheck": false,
"addFilenames": true,
"addCommonJS": true,
"unknownTypes": "runtimeError",
"skip": [
{"object": "ZCL_EXCEL_COMMON", "class": "lcl_excel_common_test", "method": "convert_range2column_a_row", "note": "infinite loop"},
{"object": "ZCL_EXCEL_COMMON", "class": "lcl_excel_common_test", "method": "encrypt_password", "note": ""},
{"object": "ZCL_EXCEL_COMMON", "class": "lcl_excel_common_test", "method": "date_to_excel_string6", "note": ""},
{"object": "ZCL_EXCEL_COMMON", "class": "lcl_excel_common_test", "method": "time_to_excel_string1", "note": ""},
{"object": "ZCL_EXCEL_COMMON", "class": "lcl_excel_common_test", "method": "time_to_excel_string2", "note": ""},
{"object": "ZCL_EXCEL_COMMON", "class": "lcl_excel_common_test", "method": "time_to_excel_string4", "note": ""},
{"object": "ZCL_EXCEL_COMMON", "class": "lcl_excel_common_test", "method": "calculate_cell_distance", "note": "https://github.com/sapmentors/abap2xlsx/issues/859"},
{"object": "ZCL_EXCEL_COMMON", "class": "lcl_excel_common_test", "method": "is_cell_in_range", "note": "https://github.com/sapmentors/abap2xlsx/issues/859"},
{"object": "ZCL_EXCEL_COMMON", "class": "lcl_excel_common_test", "method": "convert_column2int_basic", "note": "??"},
{"object": "ZCL_EXCEL_COMMON", "class": "lcl_excel_common_test", "method": "convert_column2int_maxcol", "note": "??"},
{"object": "ZCL_EXCEL_COMMON", "class": "lcl_excel_common_test", "method": "convert_column2int_oob_empty", "note": "??"},
{"object": "ZCL_EXCEL_COMMON", "class": "lcl_excel_common_test", "method": "calc_cell_dist_samecell", "note": "??"},
{"object": "ZCL_EXCEL_COMMON", "class": "lcl_excel_common_test", "method": "calc_cell_dist_down1pl", "note": "??"},
{"object": "ZCL_EXCEL_COMMON", "class": "lcl_excel_common_test", "method": "calc_cell_dist_downsome", "note": "??"},
{"object": "ZCL_EXCEL_COMMON", "class": "lcl_excel_common_test", "method": "calc_cell_dist_up1pl", "note": "??"},
{"object": "ZCL_EXCEL_COMMON", "class": "lcl_excel_common_test", "method": "calc_cell_dist_upsome", "note": "??"},
{"object": "ZCL_EXCEL_COMMON", "class": "lcl_excel_common_test", "method": "calc_cell_dist_right1pl", "note": "??"},
{"object": "ZCL_EXCEL_COMMON", "class": "lcl_excel_common_test", "method": "calc_cell_dist_rightsome", "note": "??"},
{"object": "ZCL_EXCEL_COMMON", "class": "lcl_excel_common_test", "method": "calc_cell_dist_left1pl", "note": "??"},
{"object": "ZCL_EXCEL_COMMON", "class": "lcl_excel_common_test", "method": "calc_cell_dist_leftsome", "note": "??"},
{"object": "ZCL_EXCEL_COMMON", "class": "lcl_excel_common_test", "method": "calc_cell_dist_fullpack", "note": "??"},
{"object": "ZCL_EXCEL_COMMON", "class": "lcl_excel_common_test", "method": "is_cell_in_range_ulc_in", "note": "??"},
{"object": "ZCL_EXCEL_COMMON", "class": "lcl_excel_common_test", "method": "is_cell_in_range_lrc_in", "note": "??"},
{"object": "ZCL_EXCEL_COMMON", "class": "lcl_excel_common_test", "method": "shift_formula", "note": "https://github.com/sapmentors/abap2xlsx/issues/859"},
{"object": "ZCL_EXCEL_COMMON", "class": "lcl_excel_common_test", "method": "describe_structure", "note": "Void type: ABAP_COMPONENT_TAB"},
{"object": "ZCL_EXCEL_COMMON", "class": "lcl_excel_common_test", "method": "split_file", "note": "Void type: TEXT255"}
]
}
}

16
package.json Normal file
View File

@ -0,0 +1,16 @@
{
"license": "MIT",
"private": true,
"scripts": {
"unit": "rm -rf output && abap_transpile abap_transpile.json && echo RUNNING && node output/index.mjs"
},
"repository": {
"type": "git",
"url": "git+https://github.com/sapmentors/abap2xlsx.git"
},
"devDependencies": {
"@abaplint/cli": "^2.80.6",
"@abaplint/transpiler-cli": "^1.6.63",
"@abaplint/runtime": "^1.6.63"
}
}