All files / output zcl_abapgit_gui_page_repo_view.clas.mjs

3.91% Statements 62/1582
66.66% Branches 2/3
2.17% Functions 1/46
3.91% Lines 62/1582

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 15821x 1x 1x                                                         1x 1x                                       1x 1x                                       1x 1x                                       1x 1x         1x 1x                                       1x 1x                                       1x 1x 1x 1x                                       1x 1x                                       1x 1x                                       1x 1x 1x 1x 1x                                       1x 1x 1x 1x 1x 1x 1x 1x                                       1x 1x         1x 1x 1x 1x 1x                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x
const {zcl_abapgit_gui_component} = await import("./zcl_abapgit_gui_component.clas.mjs");
const {cx_root} = await import("./cx_root.clas.mjs");
// zcl_abapgit_gui_page_repo_view.clas.abap
class zcl_abapgit_gui_page_repo_view extends zcl_abapgit_gui_component {
  static INTERNAL_TYPE = 'CLAS';
  static INTERNAL_NAME = 'ZCL_ABAPGIT_GUI_PAGE_REPO_VIEW';
  static IMPLEMENTED_INTERFACES = ["ZIF_ABAPGIT_GUI_EVENT_HANDLER","ZIF_ABAPGIT_GUI_HOTKEYS","ZIF_ABAPGIT_GUI_MENU_PROVIDER","ZIF_ABAPGIT_GUI_RENDERABLE"];
  static ATTRIBUTES = {"MI_REPO": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_REPO", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_REPO"});}, "visibility": "I", "is_constant": " ", "is_class": " "},
  "MO_REPO_AGGREGATED_STATE": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "ZCL_ABAPGIT_REPO_ITEM_STATE", RTTIName: "\\CLASS=ZCL_ABAPGIT_REPO_ITEM_STATE"});}, "visibility": "I", "is_constant": " ", "is_class": " "},
  "MV_CONNECTION_ERROR": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "visibility": "I", "is_constant": " ", "is_class": " "},
  "MV_CUR_DIR": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "visibility": "I", "is_constant": " ", "is_class": " "},
  "MV_HIDE_FILES": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "visibility": "I", "is_constant": " ", "is_class": " "},
  "MV_MAX_LINES": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "visibility": "I", "is_constant": " ", "is_class": " "},
  "MV_MAX_SETTING": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "visibility": "I", "is_constant": " ", "is_class": " "},
  "MV_SHOW_FOLDERS": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "visibility": "I", "is_constant": " ", "is_class": " "},
  "MV_CHANGES_ONLY": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "visibility": "I", "is_constant": " ", "is_class": " "},
  "MV_ORDER_BY": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "visibility": "I", "is_constant": " ", "is_class": " "},
  "MV_ORDER_DESCENDING": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "visibility": "I", "is_constant": " ", "is_class": " "},
  "MV_DIFF_FIRST": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "visibility": "I", "is_constant": " ", "is_class": " "},
  "MV_KEY": {"type": () => {return new abap.types.Character(12, {"qualifiedName":"zif_abapgit_persistence=>ty_value"});}, "visibility": "I", "is_constant": " ", "is_class": " "},
  "MV_ARE_CHANGES_RECORDED_IN_TR": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "visibility": "I", "is_constant": " ", "is_class": " "},
  "C_ACTIONS": {"type": () => {return new abap.types.Structure({
  "change_dir": new abap.types.String({qualifiedName: "STRING"}),
  "toggle_hide_files": new abap.types.String({qualifiedName: "STRING"}),
  "toggle_folders": new abap.types.String({qualifiedName: "STRING"}),
  "toggle_changes": new abap.types.String({qualifiedName: "STRING"}),
  "toggle_diff_first": new abap.types.String({qualifiedName: "STRING"}),
  "display_more": new abap.types.String({qualifiedName: "STRING"}),
  "go_data": new abap.types.String({qualifiedName: "STRING"}),
  "go_unit": new abap.types.String({qualifiedName: "STRING"})}, undefined, undefined, {}, {});}, "visibility": "U", "is_constant": "X", "is_class": "X"}};
  static METHODS = {"RENDER_HEAD_LINE": {"visibility": "I", "parameters": {"RI_HTML": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_HTML", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_HTML"});}, "is_optional": " "}}},
  "BUILD_VIEW_DROPDOWN": {"visibility": "I", "parameters": {"RO_TOOLBAR": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "ZCL_ABAPGIT_HTML_TOOLBAR", RTTIName: "\\CLASS=ZCL_ABAPGIT_HTML_TOOLBAR"});}, "is_optional": " "}}},
  "RENDER_ITEM": {"visibility": "I", "parameters": {"RI_HTML": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_HTML", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_HTML"});}, "is_optional": " "}, "IS_ITEM": {"type": () => {return new abap.types.Structure({
  "obj_type": new abap.types.Character(4, {}),
  "obj_name": new abap.types.Character(40, {}),
  "inactive": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
  "sortkey": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-SORTKEY"}),
  "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-PATH"}),
  "is_dir": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
  "changes": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-CHANGES"}),
  "lstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
  "rstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
  "files": abap.types.TableFactory.construct(new abap.types.Structure({
  "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-PATH"}),
  "filename": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-FILENAME"}),
  "is_changed": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
  "rstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
  "lstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"})}, "zif_abapgit_definitions=>ty_repo_file", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_definitions=>ty_repo_file_tt"),
  "changed_by": new abap.types.Character(12, {"qualifiedName":"SYUNAME","ddicName":"SYUNAME","description":"SYUNAME"}),
  "transport": new abap.types.Character(20, {"qualifiedName":"TRKORR","ddicName":"TRKORR","description":"TRKORR"}),
  "packmove": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
  "srcsystem": new abap.types.Character(5, {}),
  "origlang": new abap.types.Character(1, {})}, "zif_abapgit_definitions=>ty_repo_item", undefined, {}, {});}, "is_optional": " "}, "IV_RENDER_TRANSPORTS": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "is_optional": " "}}},
  "RENDER_ITEM_FILES": {"visibility": "I", "parameters": {"RI_HTML": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_HTML", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_HTML"});}, "is_optional": " "}, "IS_ITEM": {"type": () => {return new abap.types.Structure({
  "obj_type": new abap.types.Character(4, {}),
  "obj_name": new abap.types.Character(40, {}),
  "inactive": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
  "sortkey": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-SORTKEY"}),
  "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-PATH"}),
  "is_dir": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
  "changes": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-CHANGES"}),
  "lstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
  "rstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
  "files": abap.types.TableFactory.construct(new abap.types.Structure({
  "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-PATH"}),
  "filename": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-FILENAME"}),
  "is_changed": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
  "rstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
  "lstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"})}, "zif_abapgit_definitions=>ty_repo_file", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_definitions=>ty_repo_file_tt"),
  "changed_by": new abap.types.Character(12, {"qualifiedName":"SYUNAME","ddicName":"SYUNAME","description":"SYUNAME"}),
  "transport": new abap.types.Character(20, {"qualifiedName":"TRKORR","ddicName":"TRKORR","description":"TRKORR"}),
  "packmove": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
  "srcsystem": new abap.types.Character(5, {}),
  "origlang": new abap.types.Character(1, {})}, "zif_abapgit_definitions=>ty_repo_item", undefined, {}, {});}, "is_optional": " "}}},
  "RENDER_ITEM_COMMAND": {"visibility": "I", "parameters": {"RI_HTML": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_HTML", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_HTML"});}, "is_optional": " "}, "IS_ITEM": {"type": () => {return new abap.types.Structure({
  "obj_type": new abap.types.Character(4, {}),
  "obj_name": new abap.types.Character(40, {}),
  "inactive": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
  "sortkey": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-SORTKEY"}),
  "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-PATH"}),
  "is_dir": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
  "changes": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-CHANGES"}),
  "lstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
  "rstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
  "files": abap.types.TableFactory.construct(new abap.types.Structure({
  "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-PATH"}),
  "filename": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-FILENAME"}),
  "is_changed": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
  "rstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
  "lstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"})}, "zif_abapgit_definitions=>ty_repo_file", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_definitions=>ty_repo_file_tt"),
  "changed_by": new abap.types.Character(12, {"qualifiedName":"SYUNAME","ddicName":"SYUNAME","description":"SYUNAME"}),
  "transport": new abap.types.Character(20, {"qualifiedName":"TRKORR","ddicName":"TRKORR","description":"TRKORR"}),
  "packmove": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
  "srcsystem": new abap.types.Character(5, {}),
  "origlang": new abap.types.Character(1, {})}, "zif_abapgit_definitions=>ty_repo_item", undefined, {}, {});}, "is_optional": " "}}},
  "RENDER_FILE_COMMAND": {"visibility": "I", "parameters": {"RI_HTML": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_HTML", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_HTML"});}, "is_optional": " "}, "IS_FILE": {"type": () => {return new abap.types.Structure({
  "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-PATH"}),
  "filename": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-FILENAME"}),
  "is_changed": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
  "rstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
  "lstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"})}, "zif_abapgit_definitions=>ty_repo_file", undefined, {}, {});}, "is_optional": " "}}},
  "GET_ITEM_CLASS": {"visibility": "I", "parameters": {"RV_HTML": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " "}, "IS_ITEM": {"type": () => {return new abap.types.Structure({
  "obj_type": new abap.types.Character(4, {}),
  "obj_name": new abap.types.Character(40, {}),
  "inactive": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
  "sortkey": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-SORTKEY"}),
  "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-PATH"}),
  "is_dir": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
  "changes": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-CHANGES"}),
  "lstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
  "rstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
  "files": abap.types.TableFactory.construct(new abap.types.Structure({
  "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-PATH"}),
  "filename": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-FILENAME"}),
  "is_changed": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
  "rstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
  "lstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"})}, "zif_abapgit_definitions=>ty_repo_file", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_definitions=>ty_repo_file_tt"),
  "changed_by": new abap.types.Character(12, {"qualifiedName":"SYUNAME","ddicName":"SYUNAME","description":"SYUNAME"}),
  "transport": new abap.types.Character(20, {"qualifiedName":"TRKORR","ddicName":"TRKORR","description":"TRKORR"}),
  "packmove": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
  "srcsystem": new abap.types.Character(5, {}),
  "origlang": new abap.types.Character(1, {})}, "zif_abapgit_definitions=>ty_repo_item", undefined, {}, {});}, "is_optional": " "}, "IV_IS_OBJECT_ROW": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "is_optional": " "}}},
  "RENDER_ITEM_TRANSPORT": {"visibility": "I", "parameters": {"RI_HTML": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_HTML", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_HTML"});}, "is_optional": " "}, "IS_ITEM": {"type": () => {return new abap.types.Structure({
  "obj_type": new abap.types.Character(4, {}),
  "obj_name": new abap.types.Character(40, {}),
  "inactive": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
  "sortkey": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-SORTKEY"}),
  "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-PATH"}),
  "is_dir": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
  "changes": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-CHANGES"}),
  "lstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
  "rstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
  "files": abap.types.TableFactory.construct(new abap.types.Structure({
  "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-PATH"}),
  "filename": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-FILENAME"}),
  "is_changed": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
  "rstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
  "lstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"})}, "zif_abapgit_definitions=>ty_repo_file", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_definitions=>ty_repo_file_tt"),
  "changed_by": new abap.types.Character(12, {"qualifiedName":"SYUNAME","ddicName":"SYUNAME","description":"SYUNAME"}),
  "transport": new abap.types.Character(20, {"qualifiedName":"TRKORR","ddicName":"TRKORR","description":"TRKORR"}),
  "packmove": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
  "srcsystem": new abap.types.Character(5, {}),
  "origlang": new abap.types.Character(1, {})}, "zif_abapgit_definitions=>ty_repo_item", undefined, {}, {});}, "is_optional": " "}}},
  "RENDER_PARENT_DIR": {"visibility": "I", "parameters": {"RI_HTML": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_HTML", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_HTML"});}, "is_optional": " "}}},
  "BUILD_DIR_JUMP_LINK": {"visibility": "I", "parameters": {"RV_HTML": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " "}, "IV_PATH": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " "}}},
  "BUILD_INACTIVE_OBJECT_CODE": {"visibility": "I", "parameters": {"RV_INACTIVE_HTML_CODE": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " "}, "IS_ITEM": {"type": () => {return new abap.types.Structure({
  "obj_type": new abap.types.Character(4, {}),
  "obj_name": new abap.types.Character(40, {}),
  "inactive": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
  "sortkey": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-SORTKEY"}),
  "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-PATH"}),
  "is_dir": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
  "changes": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-CHANGES"}),
  "lstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
  "rstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
  "files": abap.types.TableFactory.construct(new abap.types.Structure({
  "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-PATH"}),
  "filename": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-FILENAME"}),
  "is_changed": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
  "rstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
  "lstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"})}, "zif_abapgit_definitions=>ty_repo_file", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_definitions=>ty_repo_file_tt"),
  "changed_by": new abap.types.Character(12, {"qualifiedName":"SYUNAME","ddicName":"SYUNAME","description":"SYUNAME"}),
  "transport": new abap.types.Character(20, {"qualifiedName":"TRKORR","ddicName":"TRKORR","description":"TRKORR"}),
  "packmove": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
  "srcsystem": new abap.types.Character(5, {}),
  "origlang": new abap.types.Character(1, {})}, "zif_abapgit_definitions=>ty_repo_item", undefined, {}, {});}, "is_optional": " "}}},
  "BUILD_SRCSYSTEM_CODE": {"visibility": "I", "parameters": {"RV_SRCSYSTEM_HTML_CODE": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " "}, "IS_ITEM": {"type": () => {return new abap.types.Structure({
  "obj_type": new abap.types.Character(4, {}),
  "obj_name": new abap.types.Character(40, {}),
  "inactive": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
  "sortkey": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-SORTKEY"}),
  "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-PATH"}),
  "is_dir": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
  "changes": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-CHANGES"}),
  "lstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
  "rstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
  "files": abap.types.TableFactory.construct(new abap.types.Structure({
  "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-PATH"}),
  "filename": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-FILENAME"}),
  "is_changed": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
  "rstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
  "lstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"})}, "zif_abapgit_definitions=>ty_repo_file", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_definitions=>ty_repo_file_tt"),
  "changed_by": new abap.types.Character(12, {"qualifiedName":"SYUNAME","ddicName":"SYUNAME","description":"SYUNAME"}),
  "transport": new abap.types.Character(20, {"qualifiedName":"TRKORR","ddicName":"TRKORR","description":"TRKORR"}),
  "packmove": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
  "srcsystem": new abap.types.Character(5, {}),
  "origlang": new abap.types.Character(1, {})}, "zif_abapgit_definitions=>ty_repo_item", undefined, {}, {});}, "is_optional": " "}}},
  "BUILD_ORIGLANG_CODE": {"visibility": "I", "parameters": {"RV_HTML_CODE": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " "}, "IS_ITEM": {"type": () => {return new abap.types.Structure({
  "obj_type": new abap.types.Character(4, {}),
  "obj_name": new abap.types.Character(40, {}),
  "inactive": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
  "sortkey": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-SORTKEY"}),
  "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-PATH"}),
  "is_dir": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
  "changes": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-CHANGES"}),
  "lstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
  "rstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
  "files": abap.types.TableFactory.construct(new abap.types.Structure({
  "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-PATH"}),
  "filename": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-FILENAME"}),
  "is_changed": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
  "rstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
  "lstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"})}, "zif_abapgit_definitions=>ty_repo_file", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_definitions=>ty_repo_file_tt"),
  "changed_by": new abap.types.Character(12, {"qualifiedName":"SYUNAME","ddicName":"SYUNAME","description":"SYUNAME"}),
  "transport": new abap.types.Character(20, {"qualifiedName":"TRKORR","ddicName":"TRKORR","description":"TRKORR"}),
  "packmove": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
  "srcsystem": new abap.types.Character(5, {}),
  "origlang": new abap.types.Character(1, {})}, "zif_abapgit_definitions=>ty_repo_item", undefined, {}, {});}, "is_optional": " "}}},
  "OPEN_IN_MAIN_LANGUAGE": {"visibility": "I", "parameters": {}},
  "RENDER_TABLE_HEADER": {"visibility": "I", "parameters": {"RI_HTML": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_HTML", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_HTML"});}, "is_optional": " "}}},
  "RENDER_TABLE_FOOTER": {"visibility": "I", "parameters": {"RI_HTML": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_HTML", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_HTML"});}, "is_optional": " "}}},
  "APPLY_ORDER_BY": {"visibility": "I", "parameters": {"CT_REPO_ITEMS": {"type": () => {return abap.types.TableFactory.construct(new abap.types.Structure({
  "obj_type": new abap.types.Character(4, {}),
  "obj_name": new abap.types.Character(40, {}),
  "inactive": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
  "sortkey": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-SORTKEY"}),
  "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-PATH"}),
  "is_dir": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
  "changes": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-CHANGES"}),
  "lstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
  "rstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
  "files": abap.types.TableFactory.construct(new abap.types.Structure({
  "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-PATH"}),
  "filename": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-FILENAME"}),
  "is_changed": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
  "rstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
  "lstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"})}, "zif_abapgit_definitions=>ty_repo_file", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_definitions=>ty_repo_file_tt"),
  "changed_by": new abap.types.Character(12, {"qualifiedName":"SYUNAME","ddicName":"SYUNAME","description":"SYUNAME"}),
  "transport": new abap.types.Character(20, {"qualifiedName":"TRKORR","ddicName":"TRKORR","description":"TRKORR"}),
  "packmove": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
  "srcsystem": new abap.types.Character(5, {}),
  "origlang": new abap.types.Character(1, {})}, "zif_abapgit_definitions=>ty_repo_item", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_definitions=>ty_repo_item_tt");}, "is_optional": " "}}},
  "BUILD_BRANCH_DROPDOWN": {"visibility": "I", "parameters": {"RO_BRANCH_DROPDOWN": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "ZCL_ABAPGIT_HTML_TOOLBAR", RTTIName: "\\CLASS=ZCL_ABAPGIT_HTML_TOOLBAR"});}, "is_optional": " "}}},
  "BUILD_TAG_DROPDOWN": {"visibility": "I", "parameters": {"RO_TAG_DROPDOWN": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "ZCL_ABAPGIT_HTML_TOOLBAR", RTTIName: "\\CLASS=ZCL_ABAPGIT_HTML_TOOLBAR"});}, "is_optional": " "}}},
  "BUILD_ADVANCED_DROPDOWN": {"visibility": "I", "parameters": {"RO_ADVANCED_DROPDOWN": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "ZCL_ABAPGIT_HTML_TOOLBAR", RTTIName: "\\CLASS=ZCL_ABAPGIT_HTML_TOOLBAR"});}, "is_optional": " "}}},
  "BUILD_MAIN_TOOLBAR": {"visibility": "I", "parameters": {"RO_TOOLBAR": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "ZCL_ABAPGIT_HTML_TOOLBAR", RTTIName: "\\CLASS=ZCL_ABAPGIT_HTML_TOOLBAR"});}, "is_optional": " "}}},
  "RENDER_SCRIPTS": {"visibility": "I", "parameters": {"RI_HTML": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_HTML", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_HTML"});}, "is_optional": " "}}},
  "IS_REPO_LANG_LOGON_LANG": {"visibility": "I", "parameters": {"RV_REPO_LANG_IS_LOGON_LANG": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "is_optional": " "}}},
  "RENDER_ITEM_CHANGED_BY": {"visibility": "I", "parameters": {"RI_HTML": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_HTML", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_HTML"});}, "is_optional": " "}, "IS_ITEM": {"type": () => {return new abap.types.Structure({
  "obj_type": new abap.types.Character(4, {}),
  "obj_name": new abap.types.Character(40, {}),
  "inactive": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
  "sortkey": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-SORTKEY"}),
  "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-PATH"}),
  "is_dir": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
  "changes": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-CHANGES"}),
  "lstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
  "rstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
  "files": abap.types.TableFactory.construct(new abap.types.Structure({
  "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-PATH"}),
  "filename": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-FILENAME"}),
  "is_changed": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
  "rstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
  "lstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"})}, "zif_abapgit_definitions=>ty_repo_file", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_definitions=>ty_repo_file_tt"),
  "changed_by": new abap.types.Character(12, {"qualifiedName":"SYUNAME","ddicName":"SYUNAME","description":"SYUNAME"}),
  "transport": new abap.types.Character(20, {"qualifiedName":"TRKORR","ddicName":"TRKORR","description":"TRKORR"}),
  "packmove": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
  "srcsystem": new abap.types.Character(5, {}),
  "origlang": new abap.types.Character(1, {})}, "zif_abapgit_definitions=>ty_repo_item", undefined, {}, {});}, "is_optional": " "}}},
  "ORDER_FILES": {"visibility": "I", "parameters": {"CT_FILES": {"type": () => {return abap.types.TableFactory.construct(new abap.types.Structure({
  "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-PATH"}),
  "filename": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-FILENAME"}),
  "is_changed": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
  "rstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
  "lstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"})}, "zif_abapgit_definitions=>ty_repo_file", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_definitions=>ty_repo_file_tt");}, "is_optional": " "}}},
  "GET_CROSSOUT": {"visibility": "I", "parameters": {"RV_CROSSOUT": {"type": () => {return new abap.types.Character(1, {});}, "is_optional": " "}, "IV_AUTHORIZATION": {"type": () => {return new abap.types.String({qualifiedName: "ZIF_ABAPGIT_AUTH=>TY_AUTHORIZATION"});}, "is_optional": " "}, "IV_PROTECTED": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "is_optional": " "}, "IV_STRONG": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "is_optional": " "}}},
  "CHECK_BRANCH": {"visibility": "I", "parameters": {}},
  "CHECK_CONNECTION": {"visibility": "I", "parameters": {}},
  "CREATE": {"visibility": "U", "parameters": {"RI_PAGE": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_GUI_RENDERABLE", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_GUI_RENDERABLE"});}, "is_optional": " "}, "IV_KEY": {"type": () => {return new abap.types.Character(12, {"qualifiedName":"zif_abapgit_persistence=>ty_value"});}, "is_optional": " "}}},
  "CONSTRUCTOR": {"visibility": "U", "parameters": {"IV_KEY": {"type": () => {return new abap.types.Character(12, {"qualifiedName":"zif_abapgit_persistence=>ty_value"});}, "is_optional": " "}}}};
  #mi_repo;
  #mo_repo_aggregated_state;
  #mv_connection_error;
  #mv_cur_dir;
  #mv_hide_files;
  #mv_max_lines;
  #mv_max_setting;
  #mv_show_folders;
  #mv_changes_only;
  #mv_order_by;
  #mv_order_descending;
  #mv_diff_first;
  #mv_key;
  #mv_are_changes_recorded_in_tr;
  constructor() {
    const sup = super();
    this.me = new abap.types.ABAPObject();
    this.me.set(this);
    this.INTERNAL_ID = abap.internalIdCounter++;
    this.FRIENDS_ACCESS_INSTANCE = {
      "SUPER": sup.FRIENDS_ACCESS_INSTANCE,
      "render_head_line": this.#render_head_line.bind(this),
      "build_view_dropdown": this.#build_view_dropdown.bind(this),
      "render_item": this.#render_item.bind(this),
      "render_item_files": this.#render_item_files.bind(this),
      "render_item_command": this.#render_item_command.bind(this),
      "render_file_command": this.#render_file_command.bind(this),
      "get_item_class": this.#get_item_class.bind(this),
      "render_item_transport": this.#render_item_transport.bind(this),
      "render_parent_dir": this.#render_parent_dir.bind(this),
      "build_dir_jump_link": this.#build_dir_jump_link.bind(this),
      "build_inactive_object_code": this.#build_inactive_object_code.bind(this),
      "build_srcsystem_code": this.#build_srcsystem_code.bind(this),
      "build_origlang_code": this.#build_origlang_code.bind(this),
      "open_in_main_language": this.#open_in_main_language.bind(this),
      "render_table_header": this.#render_table_header.bind(this),
      "render_table_footer": this.#render_table_footer.bind(this),
      "apply_order_by": this.#apply_order_by.bind(this),
      "build_branch_dropdown": this.#build_branch_dropdown.bind(this),
      "build_tag_dropdown": this.#build_tag_dropdown.bind(this),
      "build_advanced_dropdown": this.#build_advanced_dropdown.bind(this),
      "build_main_toolbar": this.#build_main_toolbar.bind(this),
      "render_scripts": this.#render_scripts.bind(this),
      "is_repo_lang_logon_lang": this.#is_repo_lang_logon_lang.bind(this),
      "render_item_changed_by": this.#render_item_changed_by.bind(this),
      "order_files": this.#order_files.bind(this),
      "get_crossout": this.#get_crossout.bind(this),
      "check_branch": this.#check_branch.bind(this),
      "check_connection": this.#check_connection.bind(this),
    };
    this.#mi_repo = new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_REPO", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_REPO"});
    this.FRIENDS_ACCESS_INSTANCE["mi_repo"] = this.#mi_repo;
    this.#mo_repo_aggregated_state = new abap.types.ABAPObject({qualifiedName: "ZCL_ABAPGIT_REPO_ITEM_STATE", RTTIName: "\\CLASS=ZCL_ABAPGIT_REPO_ITEM_STATE"});
    this.FRIENDS_ACCESS_INSTANCE["mo_repo_aggregated_state"] = this.#mo_repo_aggregated_state;
    this.#mv_connection_error = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
    this.FRIENDS_ACCESS_INSTANCE["mv_connection_error"] = this.#mv_connection_error;
    this.#mv_cur_dir = new abap.types.String({qualifiedName: "STRING"});
    this.FRIENDS_ACCESS_INSTANCE["mv_cur_dir"] = this.#mv_cur_dir;
    this.#mv_hide_files = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
    this.FRIENDS_ACCESS_INSTANCE["mv_hide_files"] = this.#mv_hide_files;
    this.#mv_max_lines = new abap.types.Integer({qualifiedName: "I"});
    this.FRIENDS_ACCESS_INSTANCE["mv_max_lines"] = this.#mv_max_lines;
    this.#mv_max_setting = new abap.types.Integer({qualifiedName: "I"});
    this.FRIENDS_ACCESS_INSTANCE["mv_max_setting"] = this.#mv_max_setting;
    this.#mv_show_folders = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
    this.FRIENDS_ACCESS_INSTANCE["mv_show_folders"] = this.#mv_show_folders;
    this.#mv_changes_only = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
    this.FRIENDS_ACCESS_INSTANCE["mv_changes_only"] = this.#mv_changes_only;
    this.#mv_order_by = new abap.types.String({qualifiedName: "STRING"});
    this.FRIENDS_ACCESS_INSTANCE["mv_order_by"] = this.#mv_order_by;
    this.#mv_order_descending = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
    this.FRIENDS_ACCESS_INSTANCE["mv_order_descending"] = this.#mv_order_descending;
    this.#mv_diff_first = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
    this.FRIENDS_ACCESS_INSTANCE["mv_diff_first"] = this.#mv_diff_first;
    this.#mv_key = new abap.types.Character(12, {"qualifiedName":"zif_abapgit_persistence=>ty_value"});
    this.FRIENDS_ACCESS_INSTANCE["mv_key"] = this.#mv_key;
    this.#mv_are_changes_recorded_in_tr = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
    this.FRIENDS_ACCESS_INSTANCE["mv_are_changes_recorded_in_tr"] = this.#mv_are_changes_recorded_in_tr;
    this.c_actions = zcl_abapgit_gui_page_repo_view.c_actions;
  }
  async #apply_order_by(INPUT) {
    let ct_repo_items = abap.types.TableFactory.construct(new abap.types.Structure({
    "obj_type": new abap.types.Character(4, {}),
    "obj_name": new abap.types.Character(40, {}),
    "inactive": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "sortkey": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-SORTKEY"}),
    "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-PATH"}),
    "is_dir": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "changes": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-CHANGES"}),
    "lstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
    "rstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
    "files": abap.types.TableFactory.construct(new abap.types.Structure({
    "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-PATH"}),
    "filename": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-FILENAME"}),
    "is_changed": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "rstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
    "lstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"})}, "zif_abapgit_definitions=>ty_repo_file", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_definitions=>ty_repo_file_tt"),
    "changed_by": new abap.types.Character(12, {"qualifiedName":"SYUNAME","ddicName":"SYUNAME","description":"SYUNAME"}),
    "transport": new abap.types.Character(20, {"qualifiedName":"TRKORR","ddicName":"TRKORR","description":"TRKORR"}),
    "packmove": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "srcsystem": new abap.types.Character(5, {}),
    "origlang": new abap.types.Character(1, {})}, "zif_abapgit_definitions=>ty_repo_item", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_definitions=>ty_repo_item_tt");
    if (INPUT && INPUT.ct_repo_items) {ct_repo_items = INPUT.ct_repo_items;}
    let lt_sort = abap.types.TableFactory.construct(new abap.types.Structure({
    "name": new abap.types.String({qualifiedName: "STRING"}),
    "descending": new abap.types.Character(1, {}),
    "astext": new abap.types.Character(1, {})}, "ABAP_SORTORDER", "ABAP_SORTORDER", {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"isUnique":false,"type":"STANDARD","keyFields":[],"name":"primary_key"},"secondary":[]}, "ABAP_SORTORDER_TAB");
    let ls_sort = new abap.types.Structure({
    "name": new abap.types.String({qualifiedName: "STRING"}),
    "descending": new abap.types.Character(1, {}),
    "astext": new abap.types.Character(1, {})}, "ABAP_SORTORDER", "ABAP_SORTORDER", {}, {});
    let lt_non_code_and_metadata_items = abap.types.TableFactory.construct(new abap.types.Structure({
    "obj_type": new abap.types.Character(4, {}),
    "obj_name": new abap.types.Character(40, {}),
    "inactive": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "sortkey": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-SORTKEY"}),
    "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-PATH"}),
    "is_dir": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "changes": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-CHANGES"}),
    "lstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
    "rstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
    "files": abap.types.TableFactory.construct(new abap.types.Structure({
    "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-PATH"}),
    "filename": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-FILENAME"}),
    "is_changed": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "rstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
    "lstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"})}, "zif_abapgit_definitions=>ty_repo_file", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_definitions=>ty_repo_file_tt"),
    "changed_by": new abap.types.Character(12, {"qualifiedName":"SYUNAME","ddicName":"SYUNAME","description":"SYUNAME"}),
    "transport": new abap.types.Character(20, {"qualifiedName":"TRKORR","ddicName":"TRKORR","description":"TRKORR"}),
    "packmove": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "srcsystem": new abap.types.Character(5, {}),
    "origlang": new abap.types.Character(1, {})}, "zif_abapgit_definitions=>ty_repo_item", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_definitions=>ty_repo_item_tt");
    let lt_code_items = abap.types.TableFactory.construct(new abap.types.Structure({
    "obj_type": new abap.types.Character(4, {}),
    "obj_name": new abap.types.Character(40, {}),
    "inactive": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "sortkey": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-SORTKEY"}),
    "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-PATH"}),
    "is_dir": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "changes": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-CHANGES"}),
    "lstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
    "rstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
    "files": abap.types.TableFactory.construct(new abap.types.Structure({
    "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-PATH"}),
    "filename": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-FILENAME"}),
    "is_changed": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "rstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
    "lstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"})}, "zif_abapgit_definitions=>ty_repo_file", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_definitions=>ty_repo_file_tt"),
    "changed_by": new abap.types.Character(12, {"qualifiedName":"SYUNAME","ddicName":"SYUNAME","description":"SYUNAME"}),
    "transport": new abap.types.Character(20, {"qualifiedName":"TRKORR","ddicName":"TRKORR","description":"TRKORR"}),
    "packmove": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "srcsystem": new abap.types.Character(5, {}),
    "origlang": new abap.types.Character(1, {})}, "zif_abapgit_definitions=>ty_repo_item", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_definitions=>ty_repo_item_tt");
    let lt_diff_items = abap.types.TableFactory.construct(new abap.types.Structure({
    "obj_type": new abap.types.Character(4, {}),
    "obj_name": new abap.types.Character(40, {}),
    "inactive": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "sortkey": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-SORTKEY"}),
    "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-PATH"}),
    "is_dir": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "changes": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-CHANGES"}),
    "lstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
    "rstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
    "files": abap.types.TableFactory.construct(new abap.types.Structure({
    "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-PATH"}),
    "filename": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-FILENAME"}),
    "is_changed": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "rstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
    "lstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"})}, "zif_abapgit_definitions=>ty_repo_file", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_definitions=>ty_repo_file_tt"),
    "changed_by": new abap.types.Character(12, {"qualifiedName":"SYUNAME","ddicName":"SYUNAME","description":"SYUNAME"}),
    "transport": new abap.types.Character(20, {"qualifiedName":"TRKORR","ddicName":"TRKORR","description":"TRKORR"}),
    "packmove": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "srcsystem": new abap.types.Character(5, {}),
    "origlang": new abap.types.Character(1, {})}, "zif_abapgit_definitions=>ty_repo_item", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_definitions=>ty_repo_item_tt");
    let li_persist_user = new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_PERSIST_USER", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_PERSIST_USER"});
    let fs_ls_repo_item_ = new abap.types.FieldSymbol(new abap.types.Structure({
    "obj_type": new abap.types.Character(4, {}),
    "obj_name": new abap.types.Character(40, {}),
    "inactive": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "sortkey": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-SORTKEY"}),
    "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-PATH"}),
    "is_dir": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "changes": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-CHANGES"}),
    "lstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
    "rstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
    "files": abap.types.TableFactory.construct(new abap.types.Structure({
    "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-PATH"}),
    "filename": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-FILENAME"}),
    "is_changed": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "rstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
    "lstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"})}, "zif_abapgit_definitions=>ty_repo_file", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_definitions=>ty_repo_file_tt"),
    "changed_by": new abap.types.Character(12, {"qualifiedName":"SYUNAME","ddicName":"SYUNAME","description":"SYUNAME"}),
    "transport": new abap.types.Character(20, {"qualifiedName":"TRKORR","ddicName":"TRKORR","description":"TRKORR"}),
    "packmove": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "srcsystem": new abap.types.Character(5, {}),
    "origlang": new abap.types.Character(1, {})}, "zif_abapgit_definitions=>ty_repo_item", undefined, {}, {}));
    if (abap.compare.initial(this.#mv_order_by)) {
      return;
    }
    for await (const unique977 of abap.statements.loop(ct_repo_items)) {
      fs_ls_repo_item_.assign(unique977);
      if (abap.compare.initial(fs_ls_repo_item_.get().obj_type) && abap.compare.eq(fs_ls_repo_item_.get().is_dir, abap.builtin.abap_false)) {
        abap.statements.insertInternal({data: fs_ls_repo_item_, table: lt_non_code_and_metadata_items});
      } else {
        abap.statements.insertInternal({data: fs_ls_repo_item_, table: lt_code_items});
      }
    }
    if (abap.compare.eq(this.#mv_diff_first, abap.builtin.abap_true)) {
      for await (const unique978 of abap.statements.loop(lt_code_items,{where: async (I) => {return abap.compare.gt(I.changes, abap.IntegerFactory.get(0));}})) {
        fs_ls_repo_item_.assign(unique978);
        abap.statements.insertInternal({data: fs_ls_repo_item_, table: lt_diff_items});
      }
      await abap.statements.deleteInternal(lt_code_items,{where: async (I) => {return abap.compare.gt(I.changes, abap.IntegerFactory.get(0));}});
    }
    ls_sort.get().descending.set(this.#mv_order_descending);
    ls_sort.get().astext.set(abap.builtin.abap_true);
    ls_sort.get().name.set(this.#mv_order_by);
    abap.statements.insertInternal({data: ls_sort, table: lt_sort});
    if (abap.compare.eq(this.#mv_order_by, abap.CharacterFactory.get(6, 'LSTATE'))) {
      ls_sort.get().name.set(abap.CharacterFactory.get(6, 'RSTATE'));
      abap.statements.insertInternal({data: ls_sort, table: lt_sort});
    }
    if (abap.compare.ne(this.#mv_order_by, abap.CharacterFactory.get(8, 'OBJ_NAME'))) {
      ls_sort.get().name.set(abap.CharacterFactory.get(8, 'OBJ_NAME'));
      abap.statements.insertInternal({data: ls_sort, table: lt_sort});
    }
    try {
      abap.statements.sort(lt_code_items,{});
      abap.statements.sort(lt_diff_items,{});
    } catch (e) {
      if ((abap.Classes['CX_SY_DYN_TABLE_ILL_COMP_VAL'] && e instanceof abap.Classes['CX_SY_DYN_TABLE_ILL_COMP_VAL'])) {
        this.#mv_order_by.clear();
        this.#mv_order_descending.clear();
        li_persist_user.set((await abap.Classes['ZCL_ABAPGIT_PERSIST_FACTORY'].get_user()));
        await li_persist_user.get().zif_abapgit_persist_user$set_order_by({iv_order_by: this.#mv_order_by});
        await li_persist_user.get().zif_abapgit_persist_user$set_order_descending({iv_order_descending: this.#mv_order_descending});
        return;
      } else {
        throw e;
      }
    }
    ct_repo_items.clear();
    abap.statements.insertInternal({lines: true, data: lt_non_code_and_metadata_items, table: ct_repo_items});
    abap.statements.insertInternal({lines: true, data: lt_diff_items, table: ct_repo_items});
    abap.statements.insertInternal({lines: true, data: lt_code_items, table: ct_repo_items});
    for await (const unique979 of abap.statements.loop(ct_repo_items)) {
      fs_ls_repo_item_.assign(unique979);
      await this.#order_files({ct_files: fs_ls_repo_item_.get().files});
    }
  }
  async #build_advanced_dropdown() {
    let ro_advanced_dropdown = new abap.types.ABAPObject({qualifiedName: "ZCL_ABAPGIT_HTML_TOOLBAR", RTTIName: "\\CLASS=ZCL_ABAPGIT_HTML_TOOLBAR"});
    ro_advanced_dropdown.set(await (new abap.Classes['ZCL_ABAPGIT_HTML_TOOLBAR']()).constructor_());
    await ro_advanced_dropdown.get().add({iv_txt: abap.CharacterFactory.get(16, 'Activate Objects'), iv_act: new abap.types.String().set(`${abap.templateFormatting(abap.Classes['ZIF_ABAPGIT_DEFINITIONS'].zif_abapgit_definitions$c_action.get().repo_activate_objects)}?key=${abap.templateFormatting(this.#mv_key)}`)});
    if (abap.compare.eq((await this.#mi_repo.get().zif_abapgit_repo$is_offline()), abap.builtin.abap_false)) {
      await ro_advanced_dropdown.get().add({iv_txt: abap.CharacterFactory.get(19, 'Transport to Branch'), iv_act: new abap.types.String().set(`${abap.templateFormatting(abap.Classes['ZIF_ABAPGIT_DEFINITIONS'].zif_abapgit_definitions$c_action.get().repo_transport_to_branch)}?key=${abap.templateFormatting(this.#mv_key)}`), iv_opt: (await this.#get_crossout({iv_authorization: abap.Classes['ZIF_ABAPGIT_AUTH'].zif_abapgit_auth$c_authorization.get().transport_to_branch}))});
    }
    if (abap.compare.eq(this.#mv_are_changes_recorded_in_tr, abap.builtin.abap_true)) {
      await ro_advanced_dropdown.get().add({iv_txt: abap.CharacterFactory.get(28, 'Add All Objects to Transport'), iv_act: new abap.types.String().set(`${abap.templateFormatting(abap.Classes['ZIF_ABAPGIT_DEFINITIONS'].zif_abapgit_definitions$c_action.get().repo_add_all_obj_to_trans_req)}?key=${abap.templateFormatting(this.#mv_key)}`)});
    }
    if (abap.compare.eq((await this.#mi_repo.get().zif_abapgit_repo$is_offline()), abap.builtin.abap_true)) {
      await ro_advanced_dropdown.get().add({iv_txt: abap.CharacterFactory.get(19, 'Export by Transport'), iv_act: new abap.types.String().set(`${abap.templateFormatting(abap.Classes['ZIF_ABAPGIT_DEFINITIONS'].zif_abapgit_definitions$c_action.get().zip_export_transport)}?key=${abap.templateFormatting(this.#mv_key)}`)});
    } else {
      await ro_advanced_dropdown.get().add({iv_txt: abap.CharacterFactory.get(18, 'Stage by Transport'), iv_act: new abap.types.String().set(`${abap.templateFormatting(abap.Classes['ZIF_ABAPGIT_DEFINITIONS'].zif_abapgit_definitions$c_action.get().go_stage_transport)}?key=${abap.templateFormatting(this.#mv_key)}`)});
    }
    await ro_advanced_dropdown.get().add({iv_txt: abap.CharacterFactory.get(25, 'Change Repository Package'), iv_act: new abap.types.String().set(`${abap.templateFormatting(abap.Classes['ZIF_ABAPGIT_DEFINITIONS'].zif_abapgit_definitions$c_action.get().repo_change_package)}?key=${abap.templateFormatting(this.#mv_key)}`)});
    await ro_advanced_dropdown.get().add({iv_txt: abap.CharacterFactory.get(17, 'Quality Assurance'), iv_typ: abap.Classes['ZIF_ABAPGIT_HTML'].zif_abapgit_html$c_action_type.get().separator});
    await ro_advanced_dropdown.get().add({iv_txt: abap.CharacterFactory.get(12, 'Syntax Check'), iv_act: new abap.types.String().set(`${abap.templateFormatting(abap.Classes['ZIF_ABAPGIT_DEFINITIONS'].zif_abapgit_definitions$c_action.get().repo_syntax_check)}?key=${abap.templateFormatting(this.#mv_key)}`)});
    await ro_advanced_dropdown.get().add({iv_txt: abap.CharacterFactory.get(9, 'Unit Test'), iv_act: new abap.types.String().set(`${abap.templateFormatting(zcl_abapgit_gui_page_repo_view.c_actions.get().go_unit)}`)});
    await ro_advanced_dropdown.get().add({iv_txt: abap.CharacterFactory.get(18, 'Run Code Inspector'), iv_act: new abap.types.String().set(`${abap.templateFormatting(abap.Classes['ZIF_ABAPGIT_DEFINITIONS'].zif_abapgit_definitions$c_action.get().repo_code_inspector)}?key=${abap.templateFormatting(this.#mv_key)}`)});
    await ro_advanced_dropdown.get().add({iv_txt: abap.CharacterFactory.get(10, 'Where Used'), iv_act: new abap.types.String().set(`${abap.templateFormatting(abap.Classes['ZIF_ABAPGIT_DEFINITIONS'].zif_abapgit_definitions$c_action.get().where_used)}?key=${abap.templateFormatting(this.#mv_key)}`)});
    await ro_advanced_dropdown.get().add({iv_txt: abap.CharacterFactory.get(13, 'Very Advanced'), iv_typ: abap.Classes['ZIF_ABAPGIT_HTML'].zif_abapgit_html$c_action_type.get().separator});
    await ro_advanced_dropdown.get().add({iv_txt: abap.CharacterFactory.get(22, 'Update Local Checksums'), iv_act: new abap.types.String().set(`${abap.templateFormatting(abap.Classes['ZIF_ABAPGIT_DEFINITIONS'].zif_abapgit_definitions$c_action.get().repo_refresh_checksums)}?key=${abap.templateFormatting(this.#mv_key)}`), iv_opt: (await this.#get_crossout({iv_authorization: abap.Classes['ZIF_ABAPGIT_AUTH'].zif_abapgit_auth$c_authorization.get().update_local_checksum}))});
    await ro_advanced_dropdown.get().add({iv_txt: abap.CharacterFactory.get(11, 'Data Config'), iv_act: new abap.types.String().set(`${abap.templateFormatting(zcl_abapgit_gui_page_repo_view.c_actions.get().go_data)}?key=${abap.templateFormatting(this.#mv_key)}`)});
    if (abap.compare.eq((await this.#is_repo_lang_logon_lang()), abap.builtin.abap_false) && abap.compare.initial((await abap.Classes['ZCL_ABAPGIT_SERVICES_ABAPGIT'].get_abapgit_tcode())) === false) {
      await ro_advanced_dropdown.get().add({iv_txt: abap.CharacterFactory.get(21, 'Open in Main Language'), iv_act: new abap.types.String().set(`${abap.templateFormatting(abap.Classes['ZIF_ABAPGIT_DEFINITIONS'].zif_abapgit_definitions$c_action.get().repo_open_in_master_lang)}?key=${abap.templateFormatting(this.#mv_key)}`)});
    }
    await ro_advanced_dropdown.get().add({iv_txt: abap.CharacterFactory.get(6, 'Danger'), iv_typ: abap.Classes['ZIF_ABAPGIT_HTML'].zif_abapgit_html$c_action_type.get().separator});
    await ro_advanced_dropdown.get().add({iv_txt: abap.CharacterFactory.get(17, 'Remove Repository'), iv_title: abap.operators.concat(new abap.types.String().set(`Remove abapGit's records of the repository (the system's `),new abap.types.String().set(`development objects will remain unaffected)`)), iv_act: new abap.types.String().set(`${abap.templateFormatting(abap.Classes['ZIF_ABAPGIT_DEFINITIONS'].zif_abapgit_definitions$c_action.get().repo_remove)}?key=${abap.templateFormatting(this.#mv_key)}`)});
    await ro_advanced_dropdown.get().add({iv_txt: abap.CharacterFactory.get(14, 'Remove Objects'), iv_title: abap.operators.concat(new abap.types.String().set(`Delete all development objects belonging to this package `),new abap.types.String().set(`(and subpackages) from the system, but keep repository in abapGit`)), iv_act: new abap.types.String().set(`${abap.templateFormatting(abap.Classes['ZIF_ABAPGIT_DEFINITIONS'].zif_abapgit_definitions$c_action.get().repo_delete_objects)}?key=${abap.templateFormatting(this.#mv_key)}`)});
    await ro_advanced_dropdown.get().add({iv_txt: abap.CharacterFactory.get(9, 'Uninstall'), iv_title: abap.operators.concat(new abap.types.String().set(`Delete all development objects belonging to this package `),new abap.types.String().set(`(and subpackages) from the system, and remove the repository from abapGit`)), iv_act: new abap.types.String().set(`${abap.templateFormatting(abap.Classes['ZIF_ABAPGIT_DEFINITIONS'].zif_abapgit_definitions$c_action.get().repo_purge)}?key=${abap.templateFormatting(this.#mv_key)}`), iv_opt: (await this.#get_crossout({iv_authorization: abap.Classes['ZIF_ABAPGIT_AUTH'].zif_abapgit_auth$c_authorization.get().uninstall, iv_protected: abap.builtin.abap_true}))});
    return ro_advanced_dropdown;
  }
  async #build_branch_dropdown() {
    let ro_branch_dropdown = new abap.types.ABAPObject({qualifiedName: "ZCL_ABAPGIT_HTML_TOOLBAR", RTTIName: "\\CLASS=ZCL_ABAPGIT_HTML_TOOLBAR"});
    ro_branch_dropdown.set(await (new abap.Classes['ZCL_ABAPGIT_HTML_TOOLBAR']()).constructor_());
    if (abap.compare.eq((await this.#mi_repo.get().zif_abapgit_repo$is_offline()), abap.builtin.abap_true)) {
      return ro_branch_dropdown;
    }
    await ro_branch_dropdown.get().add({iv_txt: abap.CharacterFactory.get(6, 'Switch'), iv_act: new abap.types.String().set(`${abap.templateFormatting(abap.Classes['ZIF_ABAPGIT_DEFINITIONS'].zif_abapgit_definitions$c_action.get().git_branch_switch)}?key=${abap.templateFormatting(this.#mv_key)}`)});
    await ro_branch_dropdown.get().add({iv_txt: abap.CharacterFactory.get(6, 'Create'), iv_act: new abap.types.String().set(`${abap.templateFormatting(abap.Classes['ZIF_ABAPGIT_DEFINITIONS'].zif_abapgit_definitions$c_action.get().git_branch_create)}?key=${abap.templateFormatting(this.#mv_key)}`)});
    await ro_branch_dropdown.get().add({iv_txt: abap.CharacterFactory.get(6, 'Delete'), iv_act: new abap.types.String().set(`${abap.templateFormatting(abap.Classes['ZIF_ABAPGIT_DEFINITIONS'].zif_abapgit_definitions$c_action.get().git_branch_delete)}?key=${abap.templateFormatting(this.#mv_key)}`)});
    await ro_branch_dropdown.get().add({iv_txt: abap.CharacterFactory.get(5, 'Merge'), iv_act: new abap.types.String().set(`${abap.templateFormatting(abap.Classes['ZIF_ABAPGIT_DEFINITIONS'].zif_abapgit_definitions$c_action.get().git_branch_merge)}?key=${abap.templateFormatting(this.#mv_key)}`)});
    return ro_branch_dropdown;
  }
  async #build_dir_jump_link(INPUT) {
    let rv_html = new abap.types.String({qualifiedName: "STRING"});
    let iv_path = INPUT?.iv_path;
    if (iv_path?.getQualifiedName === undefined || iv_path.getQualifiedName() !== "STRING") { iv_path = undefined; }
    if (iv_path === undefined) { iv_path = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.iv_path); }
    let lv_path = new abap.types.String({qualifiedName: "STRING"});
    let lv_encode = new abap.types.String({qualifiedName: "STRING"});
    let li_html = new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_HTML", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_HTML"});
    li_html.set(await (new abap.Classes['ZCL_ABAPGIT_HTML']()).constructor_());
    lv_path.set(iv_path);
    abap.statements.replace({target: lv_path, all: false, with: abap.CharacterFactory.get(1, ''), of: this.#mv_cur_dir});
    lv_encode.set((await abap.Classes['ZCL_ABAPGIT_HTML_ACTION_UTILS'].dir_encode({iv_path: lv_path})));
    if (abap.compare.ne(lv_path, abap.CharacterFactory.get(1, '/'))) {
      if (abap.compare.eq(lv_path.getOffset({length: 1}), abap.CharacterFactory.get(1, '/'))) {
        lv_path.set(lv_path.getOffset({offset: 1}));
      }
      if (abap.compare.eq(abap.builtin.substring({val: abap.builtin.reverse({val: lv_path}), len: abap.IntegerFactory.get(1)}), abap.CharacterFactory.get(1, '/'))) {
        lv_path.set(abap.builtin.substring({val: lv_path, len: abap.operators.minus(abap.builtin.strlen({val: lv_path}),abap.IntegerFactory.get(1))}));
      }
    }
    rv_html.set((await li_html.get().zif_abapgit_html$a({iv_txt: lv_path, iv_act: new abap.types.String().set(`${abap.templateFormatting(zcl_abapgit_gui_page_repo_view.c_actions.get().change_dir)}?${abap.templateFormatting(lv_encode)}`)})));
    return rv_html;
  }
  async #build_inactive_object_code(INPUT) {
    let rv_inactive_html_code = new abap.types.String({qualifiedName: "STRING"});
    let is_item = INPUT?.is_item;
    if (is_item?.getQualifiedName === undefined || is_item.getQualifiedName() !== "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM") { is_item = undefined; }
    if (is_item === undefined) { is_item = new abap.types.Structure({
    "obj_type": new abap.types.Character(4, {}),
    "obj_name": new abap.types.Character(40, {}),
    "inactive": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "sortkey": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-SORTKEY"}),
    "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-PATH"}),
    "is_dir": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "changes": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-CHANGES"}),
    "lstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
    "rstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
    "files": abap.types.TableFactory.construct(new abap.types.Structure({
    "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-PATH"}),
    "filename": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-FILENAME"}),
    "is_changed": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "rstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
    "lstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"})}, "zif_abapgit_definitions=>ty_repo_file", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_definitions=>ty_repo_file_tt"),
    "changed_by": new abap.types.Character(12, {"qualifiedName":"SYUNAME","ddicName":"SYUNAME","description":"SYUNAME"}),
    "transport": new abap.types.Character(20, {"qualifiedName":"TRKORR","ddicName":"TRKORR","description":"TRKORR"}),
    "packmove": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "srcsystem": new abap.types.Character(5, {}),
    "origlang": new abap.types.Character(1, {})}, "zif_abapgit_definitions=>ty_repo_item", undefined, {}, {}).set(INPUT.is_item); }
    if (abap.compare.eq(is_item.get().inactive, abap.builtin.abap_true)) {
      rv_inactive_html_code.set((await abap.Classes['ZCL_ABAPGIT_HTML'].icon({iv_name: abap.CharacterFactory.get(11, 'bolt/orange'), iv_hint: abap.CharacterFactory.get(33, 'Object or object part is inactive'), iv_class: abap.CharacterFactory.get(8, 'inactive')})));
    }
    return rv_inactive_html_code;
  }
  async #build_main_toolbar() {
    let ro_toolbar = new abap.types.ABAPObject({qualifiedName: "ZCL_ABAPGIT_HTML_TOOLBAR", RTTIName: "\\CLASS=ZCL_ABAPGIT_HTML_TOOLBAR"});
    let li_log = new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_LOG", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_LOG"});
    ro_toolbar.set((await abap.Classes['ZCL_ABAPGIT_HTML_TOOLBAR'].create({iv_id: abap.CharacterFactory.get(19, 'actionbar-repo-view')})));
    if (abap.compare.eq((await this.#mi_repo.get().zif_abapgit_repo$is_offline()), abap.builtin.abap_false)) {
      await ro_toolbar.get().add({iv_txt: abap.CharacterFactory.get(4, 'Pull'), iv_act: new abap.types.String().set(`${abap.templateFormatting(abap.Classes['ZIF_ABAPGIT_DEFINITIONS'].zif_abapgit_definitions$c_action.get().git_pull)}?key=${abap.templateFormatting(this.#mv_key)}`), iv_opt: (await this.#get_crossout({iv_protected: abap.builtin.abap_true, iv_strong: abap.builtin.abap_true}))});
      await ro_toolbar.get().add({iv_txt: abap.CharacterFactory.get(5, 'Stage'), iv_act: new abap.types.String().set(`${abap.templateFormatting(abap.Classes['ZIF_ABAPGIT_DEFINITIONS'].zif_abapgit_definitions$c_action.get().go_stage)}?key=${abap.templateFormatting(this.#mv_key)}`), iv_opt: abap.Classes['ZIF_ABAPGIT_HTML'].zif_abapgit_html$c_html_opt.get().strong});
      if (abap.compare.eq((await this.#mo_repo_aggregated_state.get().is_unchanged()), abap.builtin.abap_false)) {
        await ro_toolbar.get().add({iv_txt: abap.CharacterFactory.get(5, 'Patch'), iv_act: new abap.types.String().set(`${abap.templateFormatting(abap.Classes['ZIF_ABAPGIT_DEFINITIONS'].zif_abapgit_definitions$c_action.get().go_patch)}?key=${abap.templateFormatting(this.#mv_key)}`), iv_opt: abap.Classes['ZIF_ABAPGIT_HTML'].zif_abapgit_html$c_html_opt.get().strong});
        await ro_toolbar.get().add({iv_txt: abap.CharacterFactory.get(4, 'Diff'), iv_act: new abap.types.String().set(`${abap.templateFormatting(abap.Classes['ZIF_ABAPGIT_DEFINITIONS'].zif_abapgit_definitions$c_action.get().go_repo_diff)}?key=${abap.templateFormatting(this.#mv_key)}`), iv_opt: abap.Classes['ZIF_ABAPGIT_HTML'].zif_abapgit_html$c_html_opt.get().strong});
      }
      li_log.set((await this.#mi_repo.get().zif_abapgit_repo$get_log()));
      if (abap.compare.initial(li_log) === false && abap.compare.gt((await li_log.get().zif_abapgit_log$count()), abap.IntegerFactory.get(0))) {
        await ro_toolbar.get().add({iv_txt: abap.CharacterFactory.get(3, 'Log'), iv_act: new abap.types.String().set(`${abap.templateFormatting(abap.Classes['ZIF_ABAPGIT_DEFINITIONS'].zif_abapgit_definitions$c_action.get().repo_log)}?key=${abap.templateFormatting(this.#mv_key)}`)});
      }
      await ro_toolbar.get().add({iv_txt: abap.CharacterFactory.get(6, 'Branch'), io_sub: (await this.#build_branch_dropdown())});
      await ro_toolbar.get().add({iv_txt: abap.CharacterFactory.get(3, 'Tag'), io_sub: (await this.#build_tag_dropdown())});
    } else {
      if (abap.compare.eq((await this.#mi_repo.get().zif_abapgit_repo$has_remote_source()), abap.builtin.abap_true) && abap.compare.eq((await this.#mo_repo_aggregated_state.get().is_unchanged()), abap.builtin.abap_false)) {
        await ro_toolbar.get().add({iv_txt: abap.CharacterFactory.get(19, 'Pull <sup>zip</sup>'), iv_act: new abap.types.String().set(`${abap.templateFormatting(abap.Classes['ZIF_ABAPGIT_DEFINITIONS'].zif_abapgit_definitions$c_action.get().git_pull)}?key=${abap.templateFormatting(this.#mv_key)}`), iv_opt: abap.Classes['ZIF_ABAPGIT_HTML'].zif_abapgit_html$c_html_opt.get().strong});
        await ro_toolbar.get().add({iv_txt: abap.CharacterFactory.get(4, 'Diff'), iv_act: new abap.types.String().set(`${abap.templateFormatting(abap.Classes['ZIF_ABAPGIT_DEFINITIONS'].zif_abapgit_definitions$c_action.get().go_repo_diff)}?key=${abap.templateFormatting(this.#mv_key)}`), iv_opt: abap.Classes['ZIF_ABAPGIT_HTML'].zif_abapgit_html$c_html_opt.get().strong});
      }
      await ro_toolbar.get().add({iv_txt: abap.CharacterFactory.get(21, 'Import <sup>zip</sup>'), iv_act: new abap.types.String().set(`${abap.templateFormatting(abap.Classes['ZIF_ABAPGIT_DEFINITIONS'].zif_abapgit_definitions$c_action.get().zip_import)}?key=${abap.templateFormatting(this.#mv_key)}`), iv_opt: abap.Classes['ZIF_ABAPGIT_HTML'].zif_abapgit_html$c_html_opt.get().strong});
      if (abap.compare.eq(((await this.#mi_repo.get().zif_abapgit_repo$get_local_settings())).get().write_protected, abap.builtin.abap_true)) {
        await ro_toolbar.get().add({iv_txt: abap.CharacterFactory.get(22, 'Compare <sup>rfc</sup>'), iv_act: new abap.types.String().set(`${abap.templateFormatting(abap.Classes['ZIF_ABAPGIT_DEFINITIONS'].zif_abapgit_definitions$c_action.get().rfc_compare)}?key=${abap.templateFormatting(this.#mv_key)}`), iv_opt: abap.Classes['ZIF_ABAPGIT_HTML'].zif_abapgit_html$c_html_opt.get().strong});
      }
      await ro_toolbar.get().add({iv_txt: abap.CharacterFactory.get(21, 'Export <sup>zip</sup>'), iv_act: new abap.types.String().set(`${abap.templateFormatting(abap.Classes['ZIF_ABAPGIT_DEFINITIONS'].zif_abapgit_definitions$c_action.get().zip_export)}?key=${abap.templateFormatting(this.#mv_key)}`), iv_opt: abap.Classes['ZIF_ABAPGIT_HTML'].zif_abapgit_html$c_html_opt.get().strong});
      li_log.set((await this.#mi_repo.get().zif_abapgit_repo$get_log()));
      if (abap.compare.initial(li_log) === false && abap.compare.gt((await li_log.get().zif_abapgit_log$count()), abap.IntegerFactory.get(0))) {
        await ro_toolbar.get().add({iv_txt: abap.CharacterFactory.get(3, 'Log'), iv_act: new abap.types.String().set(`${abap.templateFormatting(abap.Classes['ZIF_ABAPGIT_DEFINITIONS'].zif_abapgit_definitions$c_action.get().repo_log)}?key=${abap.templateFormatting(this.#mv_key)}`)});
      }
    }
    await ro_toolbar.get().add({iv_txt: abap.CharacterFactory.get(8, 'Advanced'), io_sub: (await this.#build_advanced_dropdown())});
    await ro_toolbar.get().add({iv_txt: abap.CharacterFactory.get(4, 'View'), io_sub: (await this.#build_view_dropdown())});
    await ro_toolbar.get().add({iv_txt: abap.CharacterFactory.get(7, 'Refresh'), iv_act: new abap.types.String().set(`${abap.templateFormatting(abap.Classes['ZIF_ABAPGIT_DEFINITIONS'].zif_abapgit_definitions$c_action.get().repo_refresh)}?key=${abap.templateFormatting(this.#mv_key)}`), iv_opt: abap.Classes['ZIF_ABAPGIT_HTML'].zif_abapgit_html$c_html_opt.get().strong});
    await ro_toolbar.get().add({iv_txt: abap.CharacterFactory.get(13, 'Repo Settings'), iv_act: new abap.types.String().set(`${abap.templateFormatting(abap.Classes['ZIF_ABAPGIT_DEFINITIONS'].zif_abapgit_definitions$c_action.get().repo_settings)}?key=${abap.templateFormatting(this.#mv_key)}`), iv_opt: abap.Classes['ZIF_ABAPGIT_HTML'].zif_abapgit_html$c_html_opt.get().strong, iv_title: new abap.types.String().set(`Repository Settings`)});
    return ro_toolbar;
  }
  async #build_origlang_code(INPUT) {
    let rv_html_code = new abap.types.String({qualifiedName: "STRING"});
    let is_item = INPUT?.is_item;
    if (is_item?.getQualifiedName === undefined || is_item.getQualifiedName() !== "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM") { is_item = undefined; }
    if (is_item === undefined) { is_item = new abap.types.Structure({
    "obj_type": new abap.types.Character(4, {}),
    "obj_name": new abap.types.Character(40, {}),
    "inactive": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "sortkey": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-SORTKEY"}),
    "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-PATH"}),
    "is_dir": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "changes": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-CHANGES"}),
    "lstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
    "rstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
    "files": abap.types.TableFactory.construct(new abap.types.Structure({
    "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-PATH"}),
    "filename": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-FILENAME"}),
    "is_changed": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "rstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
    "lstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"})}, "zif_abapgit_definitions=>ty_repo_file", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_definitions=>ty_repo_file_tt"),
    "changed_by": new abap.types.Character(12, {"qualifiedName":"SYUNAME","ddicName":"SYUNAME","description":"SYUNAME"}),
    "transport": new abap.types.Character(20, {"qualifiedName":"TRKORR","ddicName":"TRKORR","description":"TRKORR"}),
    "packmove": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "srcsystem": new abap.types.Character(5, {}),
    "origlang": new abap.types.Character(1, {})}, "zif_abapgit_definitions=>ty_repo_item", undefined, {}, {}).set(INPUT.is_item); }
    if (abap.compare.initial(is_item.get().origlang) === false && abap.compare.ne(is_item.get().origlang, (await (await this.#mi_repo.get().zif_abapgit_repo$get_dot_abapgit()).get().get_main_language()))) {
      rv_html_code.set((await abap.Classes['ZCL_ABAPGIT_HTML'].icon({iv_name: abap.CharacterFactory.get(19, 'language-solid/grey'), iv_hint: new abap.types.String().set(`Original language: ${abap.templateFormatting(is_item.get().origlang)}`), iv_class: abap.CharacterFactory.get(14, 'cursor-pointer')})));
    }
    return rv_html_code;
  }
  async #build_srcsystem_code(INPUT) {
    let rv_srcsystem_html_code = new abap.types.String({qualifiedName: "STRING"});
    let is_item = INPUT?.is_item;
    if (is_item?.getQualifiedName === undefined || is_item.getQualifiedName() !== "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM") { is_item = undefined; }
    if (is_item === undefined) { is_item = new abap.types.Structure({
    "obj_type": new abap.types.Character(4, {}),
    "obj_name": new abap.types.Character(40, {}),
    "inactive": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "sortkey": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-SORTKEY"}),
    "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-PATH"}),
    "is_dir": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "changes": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-CHANGES"}),
    "lstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
    "rstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
    "files": abap.types.TableFactory.construct(new abap.types.Structure({
    "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-PATH"}),
    "filename": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-FILENAME"}),
    "is_changed": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "rstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
    "lstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"})}, "zif_abapgit_definitions=>ty_repo_file", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_definitions=>ty_repo_file_tt"),
    "changed_by": new abap.types.Character(12, {"qualifiedName":"SYUNAME","ddicName":"SYUNAME","description":"SYUNAME"}),
    "transport": new abap.types.Character(20, {"qualifiedName":"TRKORR","ddicName":"TRKORR","description":"TRKORR"}),
    "packmove": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "srcsystem": new abap.types.Character(5, {}),
    "origlang": new abap.types.Character(1, {})}, "zif_abapgit_definitions=>ty_repo_item", undefined, {}, {}).set(INPUT.is_item); }
    if (abap.compare.initial(is_item.get().srcsystem) === false && abap.compare.ne(is_item.get().srcsystem, abap.builtin.sy.get().sysid)) {
      rv_srcsystem_html_code.set((await abap.Classes['ZCL_ABAPGIT_HTML'].icon({iv_name: abap.CharacterFactory.get(17, 'server-solid/grey'), iv_hint: new abap.types.String().set(`Original system: ${abap.templateFormatting(is_item.get().srcsystem)}`), iv_class: abap.CharacterFactory.get(14, 'cursor-pointer')})));
    }
    return rv_srcsystem_html_code;
  }
  async #build_tag_dropdown() {
    let ro_tag_dropdown = new abap.types.ABAPObject({qualifiedName: "ZCL_ABAPGIT_HTML_TOOLBAR", RTTIName: "\\CLASS=ZCL_ABAPGIT_HTML_TOOLBAR"});
    ro_tag_dropdown.set(await (new abap.Classes['ZCL_ABAPGIT_HTML_TOOLBAR']()).constructor_());
    if (abap.compare.eq((await this.#mi_repo.get().zif_abapgit_repo$is_offline()), abap.builtin.abap_true)) {
      return ro_tag_dropdown;
    }
    await ro_tag_dropdown.get().add({iv_txt: abap.CharacterFactory.get(6, 'Switch'), iv_act: new abap.types.String().set(`${abap.templateFormatting(abap.Classes['ZIF_ABAPGIT_DEFINITIONS'].zif_abapgit_definitions$c_action.get().git_tag_switch)}?key=${abap.templateFormatting(this.#mv_key)}`)});
    await ro_tag_dropdown.get().add({iv_txt: abap.CharacterFactory.get(6, 'Create'), iv_act: new abap.types.String().set(`${abap.templateFormatting(abap.Classes['ZIF_ABAPGIT_DEFINITIONS'].zif_abapgit_definitions$c_action.get().git_tag_create)}?key=${abap.templateFormatting(this.#mv_key)}`)});
    await ro_tag_dropdown.get().add({iv_txt: abap.CharacterFactory.get(6, 'Delete'), iv_act: new abap.types.String().set(`${abap.templateFormatting(abap.Classes['ZIF_ABAPGIT_DEFINITIONS'].zif_abapgit_definitions$c_action.get().git_tag_delete)}?key=${abap.templateFormatting(this.#mv_key)}`)});
    return ro_tag_dropdown;
  }
  async #build_view_dropdown() {
    let ro_toolbar = new abap.types.ABAPObject({qualifiedName: "ZCL_ABAPGIT_HTML_TOOLBAR", RTTIName: "\\CLASS=ZCL_ABAPGIT_HTML_TOOLBAR"});
    ro_toolbar.set(await (new abap.Classes['ZCL_ABAPGIT_HTML_TOOLBAR']()).constructor_());
    await ro_toolbar.get().add({iv_txt: abap.CharacterFactory.get(13, 'Changes First'), iv_chk: this.#mv_diff_first, iv_act: zcl_abapgit_gui_page_repo_view.c_actions.get().toggle_diff_first});
    await ro_toolbar.get().add({iv_txt: abap.CharacterFactory.get(12, 'Changes Only'), iv_chk: this.#mv_changes_only, iv_act: zcl_abapgit_gui_page_repo_view.c_actions.get().toggle_changes});
    await ro_toolbar.get().add({iv_txt: abap.CharacterFactory.get(10, 'File Paths'), iv_chk: abap.builtin.boolc(!abap.compare.eq(this.#mv_hide_files, abap.builtin.abap_true)), iv_act: zcl_abapgit_gui_page_repo_view.c_actions.get().toggle_hide_files});
    await ro_toolbar.get().add({iv_txt: abap.CharacterFactory.get(7, 'Folders'), iv_chk: this.#mv_show_folders, iv_act: zcl_abapgit_gui_page_repo_view.c_actions.get().toggle_folders});
    return ro_toolbar;
  }
  async #check_branch() {
    let li_repo_online = new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_REPO_ONLINE", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_REPO_ONLINE"});
    if (abap.compare.eq((await this.#mi_repo.get().zif_abapgit_repo$is_offline()), abap.builtin.abap_false)) {
      await abap.statements.cast(li_repo_online, this.#mi_repo);
      await li_repo_online.get().zif_abapgit_repo_online$check_for_valid_branch();
    }
  }
  async #check_connection() {
    let li_repo_online = new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_REPO_ONLINE", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_REPO_ONLINE"});
    this.#mv_connection_error.set(abap.builtin.abap_true);
    if (abap.compare.eq((await this.#mi_repo.get().zif_abapgit_repo$is_offline()), abap.builtin.abap_false)) {
      await abap.statements.cast(li_repo_online, this.#mi_repo);
      await abap.Classes['ZCL_ABAPGIT_HTTP'].check_connection({iv_url: (await li_repo_online.get().zif_abapgit_repo_online$get_url())});
    }
    this.#mv_connection_error.set(abap.builtin.abap_false);
  }
  async constructor_(INPUT) {
    let iv_key = INPUT?.iv_key;
    if (iv_key?.getQualifiedName === undefined || iv_key.getQualifiedName() !== "ZIF_ABAPGIT_PERSISTENCE=>TY_VALUE") { iv_key = undefined; }
    if (iv_key === undefined) { iv_key = new abap.types.Character(12, {"qualifiedName":"zif_abapgit_persistence=>ty_value"}).set(INPUT.iv_key); }
    let lo_settings = new abap.types.ABAPObject({qualifiedName: "ZCL_ABAPGIT_SETTINGS", RTTIName: "\\CLASS=ZCL_ABAPGIT_SETTINGS"});
    let lx_error = new abap.types.ABAPObject({qualifiedName: "ZCX_ABAPGIT_EXCEPTION", RTTIName: "\\CLASS=ZCX_ABAPGIT_EXCEPTION"});
    let lo_persistence_user = new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_PERSIST_USER", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_PERSIST_USER"});
    await super.constructor_();
    try {
      lo_persistence_user.set((await abap.Classes['ZCL_ABAPGIT_PERSIST_FACTORY'].get_user()));
      this.#mv_key.set(iv_key);
      this.#mi_repo.set((await (await abap.Classes['ZCL_ABAPGIT_REPO_SRV'].get_instance()).get().zif_abapgit_repo_srv$get({iv_key: iv_key})));
      this.#mv_cur_dir.set(abap.CharacterFactory.get(1, '/'));
      this.#mv_hide_files.set((await lo_persistence_user.get().zif_abapgit_persist_user$get_hide_files()));
      this.#mv_changes_only.set((await lo_persistence_user.get().zif_abapgit_persist_user$get_changes_only()));
      this.#mv_order_by.set((await lo_persistence_user.get().zif_abapgit_persist_user$get_order_by()));
      this.#mv_order_descending.set((await lo_persistence_user.get().zif_abapgit_persist_user$get_order_descending()));
      this.#mv_diff_first.set((await lo_persistence_user.get().zif_abapgit_persist_user$get_diff_first()));
      this.#mv_show_folders.set((await lo_persistence_user.get().zif_abapgit_persist_user$get_show_folders()));
      lo_settings.set((await (await abap.Classes['ZCL_ABAPGIT_PERSIST_FACTORY'].get_settings()).get().zif_abapgit_persist_settings$read()));
      this.#mv_max_lines.set((await lo_settings.get().get_max_lines()));
      this.#mv_max_setting.set(this.#mv_max_lines);
    } catch (e) {
      if ((abap.Classes['ZCX_ABAPGIT_EXCEPTION'] && e instanceof abap.Classes['ZCX_ABAPGIT_EXCEPTION'])) {
        lx_error.set(e);
        await (await abap.Classes['ZCL_ABAPGIT_PERSIST_FACTORY'].get_user()).get().zif_abapgit_persist_user$set_repo_show({iv_key: new abap.types.String().set(``)});
        throw lx_error.get();
      } else {
        throw e;
      }
    }
    return this;
  }
  async create(INPUT) {
    return zcl_abapgit_gui_page_repo_view.create(INPUT);
  }
  static async create(INPUT) {
    let ri_page = new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_GUI_RENDERABLE", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_GUI_RENDERABLE"});
    let iv_key = INPUT?.iv_key;
    if (iv_key?.getQualifiedName === undefined || iv_key.getQualifiedName() !== "ZIF_ABAPGIT_PERSISTENCE=>TY_VALUE") { iv_key = undefined; }
    if (iv_key === undefined) { iv_key = new abap.types.Character(12, {"qualifiedName":"zif_abapgit_persistence=>ty_value"}).set(INPUT.iv_key); }
    let lo_component = new abap.types.ABAPObject({qualifiedName: "ZCL_ABAPGIT_GUI_PAGE_REPO_VIEW", RTTIName: "\\CLASS=ZCL_ABAPGIT_GUI_PAGE_REPO_VIEW"});
    lo_component.set(await (new abap.Classes['ZCL_ABAPGIT_GUI_PAGE_REPO_VIEW']()).constructor_({iv_key: iv_key}));
    ri_page.set((await abap.Classes['ZCL_ABAPGIT_GUI_PAGE_HOC'].create({iv_page_title: abap.CharacterFactory.get(10, 'Repository'), ii_page_menu_provider: lo_component, ii_child_component: lo_component})));
    return ri_page;
  }
  async #get_crossout(INPUT) {
    let rv_crossout = new abap.types.Character(1, {});
    let iv_authorization = new abap.types.String({qualifiedName: "ZIF_ABAPGIT_AUTH=>TY_AUTHORIZATION"});
    if (INPUT && INPUT.iv_authorization) {iv_authorization.set(INPUT.iv_authorization);}
    let iv_protected = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
    if (INPUT && INPUT.iv_protected) {iv_protected.set(INPUT.iv_protected);}
    if (INPUT === undefined || INPUT.iv_protected === undefined) {iv_protected = abap.builtin.abap_false;}
    let iv_strong = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
    if (INPUT && INPUT.iv_strong) {iv_strong.set(INPUT.iv_strong);}
    if (INPUT === undefined || INPUT.iv_strong === undefined) {iv_strong = abap.builtin.abap_false;}
    if (abap.compare.eq(iv_strong, abap.builtin.abap_true)) {
      rv_crossout.set(abap.Classes['ZIF_ABAPGIT_HTML'].zif_abapgit_html$c_html_opt.get().strong);
    }
    if (abap.compare.eq(iv_protected, abap.builtin.abap_true) && abap.compare.eq(((await this.#mi_repo.get().zif_abapgit_repo$get_local_settings())).get().write_protected, abap.builtin.abap_true)) {
      rv_crossout.set(abap.Classes['ZIF_ABAPGIT_HTML'].zif_abapgit_html$c_html_opt.get().crossout);
    }
    if (abap.compare.initial(iv_authorization) === false && abap.compare.eq((await abap.Classes['ZCL_ABAPGIT_AUTH'].is_allowed({iv_authorization: iv_authorization})), abap.builtin.abap_false)) {
      rv_crossout.set(abap.Classes['ZIF_ABAPGIT_HTML'].zif_abapgit_html$c_html_opt.get().crossout);
    }
    return rv_crossout;
  }
  async #get_item_class(INPUT) {
    let rv_html = new abap.types.String({qualifiedName: "STRING"});
    let is_item = INPUT?.is_item;
    if (is_item?.getQualifiedName === undefined || is_item.getQualifiedName() !== "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM") { is_item = undefined; }
    if (is_item === undefined) { is_item = new abap.types.Structure({
    "obj_type": new abap.types.Character(4, {}),
    "obj_name": new abap.types.Character(40, {}),
    "inactive": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "sortkey": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-SORTKEY"}),
    "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-PATH"}),
    "is_dir": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "changes": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-CHANGES"}),
    "lstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
    "rstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
    "files": abap.types.TableFactory.construct(new abap.types.Structure({
    "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-PATH"}),
    "filename": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-FILENAME"}),
    "is_changed": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "rstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
    "lstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"})}, "zif_abapgit_definitions=>ty_repo_file", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_definitions=>ty_repo_file_tt"),
    "changed_by": new abap.types.Character(12, {"qualifiedName":"SYUNAME","ddicName":"SYUNAME","description":"SYUNAME"}),
    "transport": new abap.types.Character(20, {"qualifiedName":"TRKORR","ddicName":"TRKORR","description":"TRKORR"}),
    "packmove": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "srcsystem": new abap.types.Character(5, {}),
    "origlang": new abap.types.Character(1, {})}, "zif_abapgit_definitions=>ty_repo_item", undefined, {}, {}).set(INPUT.is_item); }
    let iv_is_object_row = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
    if (INPUT && INPUT.iv_is_object_row) {iv_is_object_row.set(INPUT.iv_is_object_row);}
    if (INPUT === undefined || INPUT.iv_is_object_row === undefined) {iv_is_object_row = abap.builtin.abap_false;}
    let lt_class = abap.types.TableFactory.construct(new abap.types.String({qualifiedName: "STRING"}), {"withHeader":false,"keyType":"USER","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "");
    if (abap.compare.eq(iv_is_object_row, abap.builtin.abap_true)) {
      abap.statements.append({source: abap.CharacterFactory.get(10, 'object_row'), target: lt_class});
    } else {
      abap.statements.append({source: abap.CharacterFactory.get(8, 'file_row'), target: lt_class});
    }
    if (abap.compare.eq(is_item.get().is_dir, abap.builtin.abap_true)) {
      abap.statements.append({source: abap.CharacterFactory.get(6, 'folder'), target: lt_class});
    } else if (abap.compare.gt(is_item.get().changes, abap.IntegerFactory.get(0))) {
      abap.statements.append({source: abap.CharacterFactory.get(8, 'modified'), target: lt_class});
    } else if (abap.compare.initial(is_item.get().obj_name)) {
      abap.statements.append({source: abap.CharacterFactory.get(11, 'unsupported'), target: lt_class});
    }
    if (abap.compare.gt(abap.builtin.lines({val: lt_class}), abap.IntegerFactory.get(0))) {
      rv_html.set(new abap.types.String().set(` class="${abap.templateFormatting(abap.builtin.concat_lines_of({table: lt_class, sep: new abap.types.String().set(` `)}))}"`));
    }
    return rv_html;
  }
  async #is_repo_lang_logon_lang() {
    let rv_repo_lang_is_logon_lang = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
    rv_repo_lang_is_logon_lang.set(abap.builtin.boolc(abap.compare.eq((await (await this.#mi_repo.get().zif_abapgit_repo$get_dot_abapgit()).get().get_main_language()), abap.builtin.sy.get().langu)));
    return rv_repo_lang_is_logon_lang;
  }
  async #open_in_main_language() {
    let lv_main_language = new abap.types.Character(1, {"qualifiedName":"SPRAS","ddicName":"SPRAS","description":"SPRAS"});
    let ls_item = new abap.types.Structure({
    "obj_type": new abap.types.Character(4, {}),
    "obj_name": new abap.types.Character(40, {}),
    "devclass": new abap.types.Character(30, {"qualifiedName":"DEVCLASS","ddicName":"DEVCLASS","description":"DEVCLASS"}),
    "srcsystem": new abap.types.Character(5, {}),
    "origlang": new abap.types.Character(1, {}),
    "inactive": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "abap_language_version": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_aff_types_v1=>ty_abap_language_version"})}, "zif_abapgit_definitions=>ty_item", undefined, {}, {});
    let lv_tcode = (() => { throw new Error("Void type: TCODE") })();
    lv_main_language.set((await (await this.#mi_repo.get().zif_abapgit_repo$get_dot_abapgit()).get().get_main_language()));
    lv_tcode.set((await abap.Classes['ZCL_ABAPGIT_SERVICES_ABAPGIT'].get_abapgit_tcode()));
    abap.statements.assert(abap.compare.initial(lv_tcode) === false);
    if (abap.compare.eq(lv_main_language, abap.builtin.sy.get().langu)) {
      await abap.Classes['ZCX_ABAPGIT_EXCEPTION'].raise({iv_text: new abap.types.String().set(`Repo already opened in main language`)});
    }
    ls_item.get().obj_name.set(lv_tcode);
    ls_item.get().obj_type.set(new abap.types.String().set(`TRAN`));
    if (abap.compare.eq((await abap.Classes['ZCL_ABAPGIT_OBJECTS'].exists({is_item: ls_item})), abap.builtin.abap_false)) {
      await abap.Classes['ZCX_ABAPGIT_EXCEPTION'].raise({iv_text: new abap.types.String().set(`Please install the abapGit repository`)});
    }
    await (await abap.Classes['ZCL_ABAPGIT_OBJECTS_FACTORY'].get_gui_jumper()).get().jump_abapgit({iv_language: lv_main_language, iv_key: (await this.#mi_repo.get().zif_abapgit_repo$get_key())});
  }
  async #order_files(INPUT) {
    let ct_files = abap.types.TableFactory.construct(new abap.types.Structure({
    "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-PATH"}),
    "filename": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-FILENAME"}),
    "is_changed": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "rstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
    "lstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"})}, "zif_abapgit_definitions=>ty_repo_file", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_definitions=>ty_repo_file_tt");
    if (INPUT && INPUT.ct_files) {ct_files = INPUT.ct_files;}
    let lt_sort = abap.types.TableFactory.construct(new abap.types.Structure({
    "name": new abap.types.String({qualifiedName: "STRING"}),
    "descending": new abap.types.Character(1, {}),
    "astext": new abap.types.Character(1, {})}, "ABAP_SORTORDER", "ABAP_SORTORDER", {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"isUnique":false,"type":"STANDARD","keyFields":[],"name":"primary_key"},"secondary":[]}, "ABAP_SORTORDER_TAB");
    let ls_sort = new abap.types.Structure({
    "name": new abap.types.String({qualifiedName: "STRING"}),
    "descending": new abap.types.Character(1, {}),
    "astext": new abap.types.Character(1, {})}, "ABAP_SORTORDER", "ABAP_SORTORDER", {}, {});
    if (abap.compare.eq(abap.builtin.lines({val: ct_files}), abap.IntegerFactory.get(0))) {
      return;
    }
    ls_sort.get().descending.set(this.#mv_order_descending);
    ls_sort.get().astext.set(abap.builtin.abap_true);
    ls_sort.get().name.set(abap.CharacterFactory.get(4, 'PATH'));
    abap.statements.insertInternal({data: ls_sort, table: lt_sort});
    ls_sort.get().descending.set(this.#mv_order_descending);
    ls_sort.get().astext.set(abap.builtin.abap_true);
    ls_sort.get().name.set(abap.CharacterFactory.get(8, 'FILENAME'));
    abap.statements.insertInternal({data: ls_sort, table: lt_sort});
    abap.statements.sort(ct_files,{});
  }
  async #render_file_command(INPUT) {
    let ri_html = new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_HTML", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_HTML"});
    let is_file = INPUT?.is_file;
    if (is_file?.getQualifiedName === undefined || is_file.getQualifiedName() !== "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE") { is_file = undefined; }
    if (is_file === undefined) { is_file = new abap.types.Structure({
    "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-PATH"}),
    "filename": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-FILENAME"}),
    "is_changed": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "rstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
    "lstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"})}, "zif_abapgit_definitions=>ty_repo_file", undefined, {}, {}).set(INPUT.is_file); }
    let lv_difflink = new abap.types.String({qualifiedName: "STRING"});
    ri_html.set(await (new abap.Classes['ZCL_ABAPGIT_HTML']()).constructor_());
    await ri_html.get().zif_abapgit_html$add({ig_chunk: abap.CharacterFactory.get(5, '<div>')});
    if (abap.compare.eq(is_file.get().is_changed, abap.builtin.abap_true)) {
      lv_difflink.set((await abap.Classes['ZCL_ABAPGIT_HTML_ACTION_UTILS'].file_encode({iv_key: (await this.#mi_repo.get().zif_abapgit_repo$get_key()), ig_file: is_file})));
      await ri_html.get().zif_abapgit_html$add_a({iv_txt: abap.CharacterFactory.get(4, 'diff'), iv_act: new abap.types.String().set(`${abap.templateFormatting(abap.Classes['ZIF_ABAPGIT_DEFINITIONS'].zif_abapgit_definitions$c_action.get().go_file_diff)}?${abap.templateFormatting(lv_difflink)}`)});
      await ri_html.get().zif_abapgit_html$add({ig_chunk: (await abap.Classes['ZCL_ABAPGIT_GUI_CHUNK_LIB'].render_item_state({iv_lstate: is_file.get().lstate, iv_rstate: is_file.get().rstate}))});
    } else {
      await ri_html.get().zif_abapgit_html$add({ig_chunk: abap.CharacterFactory.get(6, '&nbsp;')});
    }
    await ri_html.get().zif_abapgit_html$add({ig_chunk: abap.CharacterFactory.get(6, '</div>')});
    return ri_html;
  }
  async #render_head_line() {
    let ri_html = new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_HTML", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_HTML"});
    let lo_toolbar = new abap.types.ABAPObject({qualifiedName: "ZCL_ABAPGIT_HTML_TOOLBAR", RTTIName: "\\CLASS=ZCL_ABAPGIT_HTML_TOOLBAR"});
    let ls_settings = new abap.types.Structure({
    "max_lines": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_PERSIST_USER=>TY_S_USER_SETTINGS-MAX_LINES"}),
    "adt_jump_enabled": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "show_default_repo": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "link_hints_enabled": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "link_hint_key": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_persist_user=>ty_s_user_settings-link_hint_key"}),
    "parallel_proc_disabled": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "icon_scaling": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_persist_user=>ty_s_user_settings-icon_scaling"}),
    "ui_theme": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_USER=>TY_S_USER_SETTINGS-UI_THEME"}),
    "hide_sapgui_hint": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "activate_wo_popup": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "label_colors": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_USER=>TY_S_USER_SETTINGS-LABEL_COLORS"}),
    "default_git_uname": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_USER=>TY_S_USER_SETTINGS-DEFAULT_GIT_UNAME"}),
    "default_git_email": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_PERSIST_USER=>TY_S_USER_SETTINGS-DEFAULT_GIT_EMAIL"})}, "zif_abapgit_persist_user=>ty_s_user_settings", undefined, {}, {});
    let lo_label_colors = new abap.types.ABAPObject({qualifiedName: "ZCL_ABAPGIT_STRING_MAP", RTTIName: "\\CLASS=ZCL_ABAPGIT_STRING_MAP"});
    let lt_labels = abap.types.TableFactory.construct(new abap.types.String({qualifiedName: "STRING"}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"isUnique":false,"type":"STANDARD","keyFields":[],"name":"primary_key"},"secondary":[]}, "STRING_TABLE");
    ri_html.set(await (new abap.Classes['ZCL_ABAPGIT_HTML']()).constructor_());
    lo_toolbar.set((await this.#build_main_toolbar()));
    await ri_html.get().zif_abapgit_html$add({ig_chunk: abap.CharacterFactory.get(22, '<div class="paddings">')});
    await ri_html.get().zif_abapgit_html$add({ig_chunk: abap.CharacterFactory.get(24, '<table class="w100"><tr>')});
    if (abap.compare.eq(this.#mv_show_folders, abap.builtin.abap_true)) {
      await ri_html.get().zif_abapgit_html$add({ig_chunk: abap.CharacterFactory.get(24, '<td class="current_dir">')});
      await ri_html.get().zif_abapgit_html$add({ig_chunk: (await abap.Classes['ZCL_ABAPGIT_GUI_CHUNK_LIB'].render_path({iv_path: this.#mv_cur_dir}))});
      await ri_html.get().zif_abapgit_html$add({ig_chunk: abap.CharacterFactory.get(5, '</td>')});
    }
    lt_labels.set((await abap.Classes['ZCL_ABAPGIT_REPO_LABELS'].split({iv_labels: this.#mi_repo.get().zif_abapgit_repo$ms_data.get().local_settings.get().labels})));
    if (abap.compare.gt(abap.builtin.lines({val: lt_labels}), abap.IntegerFactory.get(0))) {
      ls_settings.set((await (await (await abap.Classes['ZCL_ABAPGIT_PERSIST_FACTORY'].get_settings()).get().zif_abapgit_persist_settings$read()).get().get_user_settings()));
      lo_label_colors.set((await abap.Classes['ZCL_ABAPGIT_REPO_LABELS'].split_colors_into_map({iv_config: ls_settings.get().label_colors})));
      await ri_html.get().zif_abapgit_html$td({iv_content: (await abap.Classes['ZCL_ABAPGIT_GUI_CHUNK_LIB'].render_label_list({it_labels: lt_labels, io_label_colors: lo_label_colors})), iv_class: abap.CharacterFactory.get(6, 'labels')});
    }
    await ri_html.get().zif_abapgit_html$add({ig_chunk: abap.CharacterFactory.get(18, '<td class="right">')});
    await ri_html.get().zif_abapgit_html$add({ig_chunk: (await lo_toolbar.get().render({iv_right: abap.builtin.abap_true}))});
    await ri_html.get().zif_abapgit_html$add({ig_chunk: abap.CharacterFactory.get(5, '</td>')});
    await ri_html.get().zif_abapgit_html$add({ig_chunk: abap.CharacterFactory.get(13, '</tr></table>')});
    await ri_html.get().zif_abapgit_html$add({ig_chunk: abap.CharacterFactory.get(6, '</div>')});
    return ri_html;
  }
  async #render_item(INPUT) {
    let ri_html = new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_HTML", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_HTML"});
    let is_item = INPUT?.is_item;
    if (is_item?.getQualifiedName === undefined || is_item.getQualifiedName() !== "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM") { is_item = undefined; }
    if (is_item === undefined) { is_item = new abap.types.Structure({
    "obj_type": new abap.types.Character(4, {}),
    "obj_name": new abap.types.Character(40, {}),
    "inactive": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "sortkey": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-SORTKEY"}),
    "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-PATH"}),
    "is_dir": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "changes": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-CHANGES"}),
    "lstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
    "rstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
    "files": abap.types.TableFactory.construct(new abap.types.Structure({
    "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-PATH"}),
    "filename": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-FILENAME"}),
    "is_changed": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "rstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
    "lstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"})}, "zif_abapgit_definitions=>ty_repo_file", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_definitions=>ty_repo_file_tt"),
    "changed_by": new abap.types.Character(12, {"qualifiedName":"SYUNAME","ddicName":"SYUNAME","description":"SYUNAME"}),
    "transport": new abap.types.Character(20, {"qualifiedName":"TRKORR","ddicName":"TRKORR","description":"TRKORR"}),
    "packmove": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "srcsystem": new abap.types.Character(5, {}),
    "origlang": new abap.types.Character(1, {})}, "zif_abapgit_definitions=>ty_repo_item", undefined, {}, {}).set(INPUT.is_item); }
    let iv_render_transports = INPUT?.iv_render_transports;
    if (iv_render_transports?.getQualifiedName === undefined || iv_render_transports.getQualifiedName() !== "ABAP_BOOL") { iv_render_transports = undefined; }
    if (iv_render_transports === undefined) { iv_render_transports = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}).set(INPUT.iv_render_transports); }
    let lv_link = new abap.types.String({qualifiedName: "STRING"});
    ri_html.set(await (new abap.Classes['ZCL_ABAPGIT_HTML']()).constructor_());
    await ri_html.get().zif_abapgit_html$add({ig_chunk: new abap.types.String().set(`<tr${abap.templateFormatting((await this.#get_item_class({is_item: is_item, iv_is_object_row: abap.builtin.abap_true})))}>`)});
    if (abap.compare.initial(is_item.get().obj_name) && abap.compare.eq(is_item.get().is_dir, abap.builtin.abap_false)) {
      await ri_html.get().zif_abapgit_html$add({ig_chunk: abap.operators.concat(new abap.types.String().set(`<td colspan="2"></td>`),abap.operators.concat(abap.CharacterFactory.get(19, '<td class="object">'),abap.operators.concat(abap.CharacterFactory.get(43, '<i class="grey">non-code and meta files</i>'),abap.CharacterFactory.get(5, '</td>'))))});
    } else {
      await ri_html.get().zif_abapgit_html$add({ig_chunk: new abap.types.String().set(`<td class="icon">${abap.templateFormatting((await abap.Classes['ZCL_ABAPGIT_GUI_CHUNK_LIB'].get_item_icon({is_item: is_item})))}</td>`)});
      if (abap.compare.eq(is_item.get().is_dir, abap.builtin.abap_true)) {
        lv_link.set((await this.#build_dir_jump_link({iv_path: is_item.get().path})));
        await ri_html.get().zif_abapgit_html$add({ig_chunk: new abap.types.String().set(`<td class="dir" colspan="2">${abap.templateFormatting(lv_link)}</td>`)});
      } else {
        lv_link.set((await abap.Classes['ZCL_ABAPGIT_GUI_CHUNK_LIB'].get_item_link({is_item: is_item})));
        await ri_html.get().zif_abapgit_html$add({ig_chunk: new abap.types.String().set(`<td class="type">${abap.templateFormatting(is_item.get().obj_type)}</td>`)});
        await ri_html.get().zif_abapgit_html$add({ig_chunk: new abap.types.String().set(`<td class="object">${abap.templateFormatting(lv_link)} ${abap.templateFormatting((await this.#build_inactive_object_code({is_item: is_item})))} ${abap.templateFormatting((await this.#build_srcsystem_code({is_item: is_item})))} ${abap.templateFormatting((await this.#build_origlang_code({is_item: is_item})))}</td>`)});
      }
    }
    await ri_html.get().zif_abapgit_html$add({ig_chunk: abap.CharacterFactory.get(17, '<td class="user">')});
    await ri_html.get().zif_abapgit_html$add({ig_chunk: (await this.#render_item_changed_by({is_item: is_item}))});
    await ri_html.get().zif_abapgit_html$add({ig_chunk: abap.CharacterFactory.get(5, '</td>')});
    if (abap.compare.eq(iv_render_transports, abap.builtin.abap_true)) {
      await ri_html.get().zif_abapgit_html$add({ig_chunk: (await this.#render_item_transport({is_item: is_item}))});
    }
    await ri_html.get().zif_abapgit_html$add({ig_chunk: abap.CharacterFactory.get(16, '<td class="cmd">')});
    if (abap.compare.eq((await this.#mi_repo.get().zif_abapgit_repo$has_remote_source()), abap.builtin.abap_true)) {
      await ri_html.get().zif_abapgit_html$add({ig_chunk: (await this.#render_item_command({is_item: is_item}))});
    }
    await ri_html.get().zif_abapgit_html$add({ig_chunk: abap.CharacterFactory.get(5, '</td>')});
    await ri_html.get().zif_abapgit_html$add({ig_chunk: abap.CharacterFactory.get(5, '</tr>')});
    await ri_html.get().zif_abapgit_html$add({ig_chunk: (await this.#render_item_files({is_item: is_item}))});
    return ri_html;
  }
  async #render_item_changed_by(INPUT) {
    let ri_html = new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_HTML", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_HTML"});
    let is_item = INPUT?.is_item;
    if (is_item?.getQualifiedName === undefined || is_item.getQualifiedName() !== "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM") { is_item = undefined; }
    if (is_item === undefined) { is_item = new abap.types.Structure({
    "obj_type": new abap.types.Character(4, {}),
    "obj_name": new abap.types.Character(40, {}),
    "inactive": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "sortkey": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-SORTKEY"}),
    "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-PATH"}),
    "is_dir": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "changes": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-CHANGES"}),
    "lstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
    "rstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
    "files": abap.types.TableFactory.construct(new abap.types.Structure({
    "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-PATH"}),
    "filename": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-FILENAME"}),
    "is_changed": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "rstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
    "lstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"})}, "zif_abapgit_definitions=>ty_repo_file", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_definitions=>ty_repo_file_tt"),
    "changed_by": new abap.types.Character(12, {"qualifiedName":"SYUNAME","ddicName":"SYUNAME","description":"SYUNAME"}),
    "transport": new abap.types.Character(20, {"qualifiedName":"TRKORR","ddicName":"TRKORR","description":"TRKORR"}),
    "packmove": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "srcsystem": new abap.types.Character(5, {}),
    "origlang": new abap.types.Character(1, {})}, "zif_abapgit_definitions=>ty_repo_item", undefined, {}, {}).set(INPUT.is_item); }
    ri_html.set(await (new abap.Classes['ZCL_ABAPGIT_HTML']()).constructor_());
    if (abap.compare.eq(is_item.get().changes, abap.IntegerFactory.get(0)) || abap.compare.initial(is_item.get().changed_by)) {
      await ri_html.get().zif_abapgit_html$add({ig_chunk: abap.CharacterFactory.get(6, '&nbsp;')});
    } else {
      await ri_html.get().zif_abapgit_html$add({ig_chunk: (await abap.Classes['ZCL_ABAPGIT_GUI_CHUNK_LIB'].render_user_name({iv_username: is_item.get().changed_by}))});
    }
    return ri_html;
  }
  async #render_item_command(INPUT) {
    let ri_html = new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_HTML", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_HTML"});
    let is_item = INPUT?.is_item;
    if (is_item?.getQualifiedName === undefined || is_item.getQualifiedName() !== "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM") { is_item = undefined; }
    if (is_item === undefined) { is_item = new abap.types.Structure({
    "obj_type": new abap.types.Character(4, {}),
    "obj_name": new abap.types.Character(40, {}),
    "inactive": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "sortkey": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-SORTKEY"}),
    "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-PATH"}),
    "is_dir": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "changes": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-CHANGES"}),
    "lstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
    "rstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
    "files": abap.types.TableFactory.construct(new abap.types.Structure({
    "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-PATH"}),
    "filename": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-FILENAME"}),
    "is_changed": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "rstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
    "lstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"})}, "zif_abapgit_definitions=>ty_repo_file", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_definitions=>ty_repo_file_tt"),
    "changed_by": new abap.types.Character(12, {"qualifiedName":"SYUNAME","ddicName":"SYUNAME","description":"SYUNAME"}),
    "transport": new abap.types.Character(20, {"qualifiedName":"TRKORR","ddicName":"TRKORR","description":"TRKORR"}),
    "packmove": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "srcsystem": new abap.types.Character(5, {}),
    "origlang": new abap.types.Character(1, {})}, "zif_abapgit_definitions=>ty_repo_item", undefined, {}, {}).set(INPUT.is_item); }
    let lv_difflink = new abap.types.String({qualifiedName: "STRING"});
    ri_html.set(await (new abap.Classes['ZCL_ABAPGIT_HTML']()).constructor_());
    if (abap.compare.eq(is_item.get().is_dir, abap.builtin.abap_true)) {
      await ri_html.get().zif_abapgit_html$add({ig_chunk: abap.CharacterFactory.get(5, '<div>')});
      await ri_html.get().zif_abapgit_html$add({ig_chunk: new abap.types.String().set(`<span class="grey">${abap.templateFormatting(is_item.get().changes)} changes</span>`)});
      await ri_html.get().zif_abapgit_html$add({ig_chunk: (await abap.Classes['ZCL_ABAPGIT_GUI_CHUNK_LIB'].render_item_state({iv_lstate: is_item.get().lstate, iv_rstate: is_item.get().rstate}))});
      await ri_html.get().zif_abapgit_html$add({ig_chunk: abap.CharacterFactory.get(6, '</div>')});
    } else if (abap.compare.gt(is_item.get().changes, abap.IntegerFactory.get(0))) {
      if (abap.compare.eq(this.#mv_hide_files, abap.builtin.abap_true) && abap.compare.initial(is_item.get().obj_name) === false) {
        lv_difflink.set((await abap.Classes['ZCL_ABAPGIT_HTML_ACTION_UTILS'].obj_encode({iv_key: (await this.#mi_repo.get().zif_abapgit_repo$get_key()), ig_object: is_item})));
        await ri_html.get().zif_abapgit_html$add({ig_chunk: abap.CharacterFactory.get(5, '<div>')});
        await ri_html.get().zif_abapgit_html$add_a({iv_txt: new abap.types.String().set(`diff (${abap.templateFormatting(is_item.get().changes)})`), iv_act: new abap.types.String().set(`${abap.templateFormatting(abap.Classes['ZIF_ABAPGIT_DEFINITIONS'].zif_abapgit_definitions$c_action.get().go_file_diff)}?${abap.templateFormatting(lv_difflink)}`)});
        await ri_html.get().zif_abapgit_html$add({ig_chunk: (await abap.Classes['ZCL_ABAPGIT_GUI_CHUNK_LIB'].render_item_state({iv_lstate: is_item.get().lstate, iv_rstate: is_item.get().rstate}))});
        await ri_html.get().zif_abapgit_html$add({ig_chunk: abap.CharacterFactory.get(6, '</div>')});
      }
    }
    return ri_html;
  }
  async #render_item_files(INPUT) {
    let ri_html = new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_HTML", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_HTML"});
    let is_item = INPUT?.is_item;
    if (is_item?.getQualifiedName === undefined || is_item.getQualifiedName() !== "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM") { is_item = undefined; }
    if (is_item === undefined) { is_item = new abap.types.Structure({
    "obj_type": new abap.types.Character(4, {}),
    "obj_name": new abap.types.Character(40, {}),
    "inactive": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "sortkey": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-SORTKEY"}),
    "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-PATH"}),
    "is_dir": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "changes": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-CHANGES"}),
    "lstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
    "rstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
    "files": abap.types.TableFactory.construct(new abap.types.Structure({
    "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-PATH"}),
    "filename": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-FILENAME"}),
    "is_changed": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "rstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
    "lstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"})}, "zif_abapgit_definitions=>ty_repo_file", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_definitions=>ty_repo_file_tt"),
    "changed_by": new abap.types.Character(12, {"qualifiedName":"SYUNAME","ddicName":"SYUNAME","description":"SYUNAME"}),
    "transport": new abap.types.Character(20, {"qualifiedName":"TRKORR","ddicName":"TRKORR","description":"TRKORR"}),
    "packmove": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "srcsystem": new abap.types.Character(5, {}),
    "origlang": new abap.types.Character(1, {})}, "zif_abapgit_definitions=>ty_repo_item", undefined, {}, {}).set(INPUT.is_item); }
    let ls_file = new abap.types.Structure({
    "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-PATH"}),
    "filename": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-FILENAME"}),
    "is_changed": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "rstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
    "lstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"})}, "zif_abapgit_definitions=>ty_repo_file", undefined, {}, {});
    let li_exit = new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_EXIT", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_EXIT"});
    let lv_filename = new abap.types.String({qualifiedName: "STRING"});
    ri_html.set(await (new abap.Classes['ZCL_ABAPGIT_HTML']()).constructor_());
    if (abap.compare.eq(this.#mv_hide_files, abap.builtin.abap_true) && abap.compare.initial(is_item.get().obj_type) === false) {
      return ri_html;
    }
    li_exit.set((await abap.Classes['ZCL_ABAPGIT_EXIT'].get_instance()));
    for await (const unique980 of abap.statements.loop(is_item.get().files)) {
      ls_file.set(unique980);
      await ri_html.get().zif_abapgit_html$add({ig_chunk: new abap.types.String().set(`<tr${abap.templateFormatting((await this.#get_item_class({is_item: is_item})))}>`)});
      await ri_html.get().zif_abapgit_html$add({ig_chunk: new abap.types.String().set(`<td class="icon"></td>`)});
      await ri_html.get().zif_abapgit_html$add({ig_chunk: new abap.types.String().set(`<td class="type"></td>`)});
      await ri_html.get().zif_abapgit_html$add({ig_chunk: new abap.types.String().set(`<td class="filename darkgrey">`)});
      if (abap.compare.eq(this.#mv_show_folders, abap.builtin.abap_true)) {
        lv_filename.set(ls_file.get().filename);
      } else {
        lv_filename.set(abap.operators.concat(ls_file.get().path,ls_file.get().filename));
      }
      lv_filename.set((await li_exit.get().zif_abapgit_exit$adjust_display_filename({is_repo_meta: this.#mi_repo.get().zif_abapgit_repo$ms_data, iv_filename: lv_filename})));
      await ri_html.get().zif_abapgit_html$add({ig_chunk: new abap.types.String().set(`<div>${abap.templateFormatting(lv_filename)}</div>`)});
      await ri_html.get().zif_abapgit_html$add({ig_chunk: new abap.types.String().set(`</td>`)});
      await ri_html.get().zif_abapgit_html$add({ig_chunk: abap.CharacterFactory.get(17, '<td class="user">')});
      await ri_html.get().zif_abapgit_html$add({ig_chunk: abap.CharacterFactory.get(5, '</td>')});
      if (abap.compare.eq(this.#mv_are_changes_recorded_in_tr, abap.builtin.abap_true)) {
        await ri_html.get().zif_abapgit_html$add({ig_chunk: new abap.types.String().set(`<td></td>`)});
      }
      await ri_html.get().zif_abapgit_html$add({ig_chunk: abap.CharacterFactory.get(16, '<td class="cmd">')});
      if (abap.compare.eq((await this.#mi_repo.get().zif_abapgit_repo$has_remote_source()), abap.builtin.abap_true)) {
        await ri_html.get().zif_abapgit_html$add({ig_chunk: (await this.#render_file_command({is_file: ls_file}))});
      }
      await ri_html.get().zif_abapgit_html$add({ig_chunk: abap.CharacterFactory.get(5, '</td>')});
      await ri_html.get().zif_abapgit_html$add({ig_chunk: abap.CharacterFactory.get(5, '</tr>')});
    }
    return ri_html;
  }
  async #render_item_transport(INPUT) {
    let ri_html = new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_HTML", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_HTML"});
    let is_item = INPUT?.is_item;
    if (is_item?.getQualifiedName === undefined || is_item.getQualifiedName() !== "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM") { is_item = undefined; }
    if (is_item === undefined) { is_item = new abap.types.Structure({
    "obj_type": new abap.types.Character(4, {}),
    "obj_name": new abap.types.Character(40, {}),
    "inactive": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "sortkey": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-SORTKEY"}),
    "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-PATH"}),
    "is_dir": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "changes": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-CHANGES"}),
    "lstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
    "rstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
    "files": abap.types.TableFactory.construct(new abap.types.Structure({
    "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-PATH"}),
    "filename": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-FILENAME"}),
    "is_changed": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "rstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
    "lstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"})}, "zif_abapgit_definitions=>ty_repo_file", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_definitions=>ty_repo_file_tt"),
    "changed_by": new abap.types.Character(12, {"qualifiedName":"SYUNAME","ddicName":"SYUNAME","description":"SYUNAME"}),
    "transport": new abap.types.Character(20, {"qualifiedName":"TRKORR","ddicName":"TRKORR","description":"TRKORR"}),
    "packmove": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "srcsystem": new abap.types.Character(5, {}),
    "origlang": new abap.types.Character(1, {})}, "zif_abapgit_definitions=>ty_repo_item", undefined, {}, {}).set(INPUT.is_item); }
    ri_html.set(await (new abap.Classes['ZCL_ABAPGIT_HTML']()).constructor_());
    await ri_html.get().zif_abapgit_html$add({ig_chunk: abap.CharacterFactory.get(22, '<td class="transport">')});
    await ri_html.get().zif_abapgit_html$add({ig_chunk: (await abap.Classes['ZCL_ABAPGIT_GUI_CHUNK_LIB'].render_transport({iv_transport: is_item.get().transport, iv_obj_type: is_item.get().obj_type, iv_obj_name: is_item.get().obj_name}))});
    await ri_html.get().zif_abapgit_html$add({ig_chunk: abap.CharacterFactory.get(5, '</td>')});
    return ri_html;
  }
  async #render_parent_dir() {
    let ri_html = new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_HTML", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_HTML"});
    ri_html.set(await (new abap.Classes['ZCL_ABAPGIT_HTML']()).constructor_());
    await ri_html.get().zif_abapgit_html$add({ig_chunk: abap.CharacterFactory.get(19, '<tr class="folder">')});
    await ri_html.get().zif_abapgit_html$add({ig_chunk: new abap.types.String().set(`<td class="icon">${abap.templateFormatting((await ri_html.get().zif_abapgit_html$icon({iv_name: abap.CharacterFactory.get(6, 'folder')})))}</td>`)});
    await ri_html.get().zif_abapgit_html$add({ig_chunk: new abap.types.String().set(`<td class="dir" colspan="4">${abap.templateFormatting((await this.#build_dir_jump_link({iv_path: abap.CharacterFactory.get(2, '..')})))}</td>`)});
    if (abap.compare.eq((await this.#mi_repo.get().zif_abapgit_repo$has_remote_source()), abap.builtin.abap_true)) {
      await ri_html.get().zif_abapgit_html$add({ig_chunk: new abap.types.String().set(`<td colspan="1"></td>`)});
    }
    await ri_html.get().zif_abapgit_html$add({ig_chunk: abap.CharacterFactory.get(5, '</tr>')});
    return ri_html;
  }
  async #render_scripts() {
    let ri_html = new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_HTML", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_HTML"});
    ri_html.set(await (new abap.Classes['ZCL_ABAPGIT_HTML']()).constructor_());
    await ri_html.get().zif_abapgit_html$set_title({iv_title: (await (await abap.Classes['CL_ABAP_TYPEDESCR'].describe_by_object_ref({p_object_ref: this.me})).get().get_relative_name())});
    await ri_html.get().zif_abapgit_html$add({ig_chunk: (await abap.Classes['ZCL_ABAPGIT_GUI_CHUNK_LIB'].render_repo_palette({iv_action: abap.Classes['ZIF_ABAPGIT_DEFINITIONS'].zif_abapgit_definitions$c_action.get().go_repo}))});
    return ri_html;
  }
  async #render_table_footer() {
    let ri_html = new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_HTML", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_HTML"});
    let lv_action = new abap.types.String({qualifiedName: "STRING"});
    ri_html.set(await (new abap.Classes['ZCL_ABAPGIT_HTML']()).constructor_());
    if (abap.compare.eq(this.#mv_changes_only, abap.builtin.abap_true)) {
      lv_action.set((await ri_html.get().zif_abapgit_html$a({iv_txt: abap.CharacterFactory.get(8, 'Show All'), iv_act: zcl_abapgit_gui_page_repo_view.c_actions.get().toggle_changes})));
      await ri_html.get().zif_abapgit_html$add({ig_chunk: (await abap.Classes['ZCL_ABAPGIT_GUI_CHUNK_LIB'].render_table_footer({iv_message: new abap.types.String().set(`(Only changes are shown. ${abap.templateFormatting(lv_action)})`)}))});
    }
    return ri_html;
  }
  async #render_table_header() {
    let ri_html = new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_HTML", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_HTML"});
    let lt_col_spec = abap.types.TableFactory.construct(new abap.types.Structure({
    "tech_name": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_GUI_CHUNK_LIB=>TY_COL_SPEC-TECH_NAME"}),
    "display_name": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_GUI_CHUNK_LIB=>TY_COL_SPEC-DISPLAY_NAME"}),
    "css_class": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_GUI_CHUNK_LIB=>TY_COL_SPEC-CSS_CLASS"}),
    "add_tz": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "title": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_GUI_CHUNK_LIB=>TY_COL_SPEC-TITLE"}),
    "allow_order_by": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"})}, "zcl_abapgit_gui_chunk_lib=>ty_col_spec", undefined, {}, {}), {"withHeader":false,"keyType":"USER","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":["TECH_NAME"]},"secondary":[]}, "zcl_abapgit_gui_chunk_lib=>ty_col_spec_tt");
    let ls_col_spec = new abap.types.Structure({
    "tech_name": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_GUI_CHUNK_LIB=>TY_COL_SPEC-TECH_NAME"}),
    "display_name": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_GUI_CHUNK_LIB=>TY_COL_SPEC-DISPLAY_NAME"}),
    "css_class": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_GUI_CHUNK_LIB=>TY_COL_SPEC-CSS_CLASS"}),
    "add_tz": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "title": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_GUI_CHUNK_LIB=>TY_COL_SPEC-TITLE"}),
    "allow_order_by": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"})}, "zcl_abapgit_gui_chunk_lib=>ty_col_spec", undefined, {}, {});
    ri_html.set(await (new abap.Classes['ZCL_ABAPGIT_HTML']()).constructor_());
    lt_col_spec.appendInitial();
    ls_col_spec.get().tech_name.set(abap.CharacterFactory.get(8, 'OBJ_TYPE'));
    ls_col_spec.get().display_name.set(abap.CharacterFactory.get(4, 'Type'));
    ls_col_spec.get().allow_order_by.set(abap.builtin.abap_true);
    abap.statements.append({source: ls_col_spec, target: lt_col_spec});
    ls_col_spec.get().tech_name.set(abap.CharacterFactory.get(8, 'OBJ_NAME'));
    ls_col_spec.get().display_name.set(abap.CharacterFactory.get(4, 'Name'));
    ls_col_spec.get().allow_order_by.set(abap.builtin.abap_true);
    abap.statements.append({source: ls_col_spec, target: lt_col_spec});
    ls_col_spec.get().tech_name.set(abap.CharacterFactory.get(10, 'CHANGED_BY'));
    ls_col_spec.get().display_name.set(abap.CharacterFactory.get(10, 'Changed by'));
    ls_col_spec.get().allow_order_by.set(abap.builtin.abap_true);
    abap.statements.append({source: ls_col_spec, target: lt_col_spec});
    if (abap.compare.eq(this.#mv_are_changes_recorded_in_tr, abap.builtin.abap_true)) {
      ls_col_spec.get().tech_name.set(abap.CharacterFactory.get(9, 'TRANSPORT'));
      ls_col_spec.get().display_name.set(abap.CharacterFactory.get(9, 'Transport'));
      ls_col_spec.get().allow_order_by.set(abap.builtin.abap_true);
      abap.statements.append({source: ls_col_spec, target: lt_col_spec});
    }
    ls_col_spec.get().tech_name.set(abap.CharacterFactory.get(6, 'LSTATE'));
    ls_col_spec.get().display_name.set(abap.CharacterFactory.get(6, 'Status'));
    ls_col_spec.get().allow_order_by.set(abap.builtin.abap_true);
    ls_col_spec.get().css_class.set(abap.CharacterFactory.get(3, 'cmd'));
    abap.statements.append({source: ls_col_spec, target: lt_col_spec});
    await ri_html.get().zif_abapgit_html$add({ig_chunk: (await abap.Classes['ZCL_ABAPGIT_GUI_CHUNK_LIB'].render_table_header({it_col_spec: lt_col_spec, iv_order_by: this.#mv_order_by, iv_order_descending: this.#mv_order_descending}))});
    return ri_html;
  }
  async zif_abapgit_gui_event_handler$on_event(INPUT) {
    let rs_handled = new abap.types.Structure({
    "page": new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_GUI_RENDERABLE", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_GUI_RENDERABLE"}),
    "state": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_GUI_EVENT_HANDLER=>TY_HANDLING_RESULT-STATE"})}, "zif_abapgit_gui_event_handler=>ty_handling_result", undefined, {}, {});
    let ii_event = INPUT?.ii_event;
    if (ii_event?.getQualifiedName === undefined || ii_event.getQualifiedName() !== "ZIF_ABAPGIT_GUI_EVENT") { ii_event = undefined; }
    if (ii_event === undefined) { ii_event = new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_GUI_EVENT", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_GUI_EVENT"}).set(INPUT.ii_event); }
    let lv_path = new abap.types.String({qualifiedName: "STRING"});
    let lv_key = new abap.types.Character(12, {"qualifiedName":"zif_abapgit_persistence=>ty_value"});
    lv_key.set((await (await ii_event.get().zif_abapgit_gui_event$query()).get().get({iv_key: abap.CharacterFactory.get(3, 'KEY')})));
    let unique981 = ii_event.get().zif_abapgit_gui_event$mv_action;
    if (abap.compare.eq(unique981, abap.Classes['ZIF_ABAPGIT_DEFINITIONS'].zif_abapgit_definitions$c_action.get().go_repo)) {
      rs_handled.get().page.set((await this.create({iv_key: lv_key})));
      rs_handled.get().state.set(abap.Classes['ZCL_ABAPGIT_GUI'].c_event_state.get().new_page_replacing);
    } else if (abap.compare.eq(unique981, zcl_abapgit_gui_page_repo_view.c_actions.get().go_data)) {
      rs_handled.get().page.set((await abap.Classes['ZCL_ABAPGIT_GUI_PAGE_DATA'].create({iv_key: lv_key})));
      rs_handled.get().state.set(abap.Classes['ZCL_ABAPGIT_GUI'].c_event_state.get().new_page);
    } else if (abap.compare.eq(unique981, zcl_abapgit_gui_page_repo_view.c_actions.get().go_unit)) {
      rs_handled.get().page.set((await abap.Classes['ZCL_ABAPGIT_GUI_PAGE_RUNIT'].create({ii_repo: this.#mi_repo})));
      rs_handled.get().state.set(abap.Classes['ZCL_ABAPGIT_GUI'].c_event_state.get().new_page);
    } else if (abap.compare.eq(unique981, zcl_abapgit_gui_page_repo_view.c_actions.get().toggle_hide_files)) {
      this.#mv_hide_files.set((await (await abap.Classes['ZCL_ABAPGIT_PERSIST_FACTORY'].get_user()).get().zif_abapgit_persist_user$toggle_hide_files()));
      rs_handled.get().state.set(abap.Classes['ZCL_ABAPGIT_GUI'].c_event_state.get().re_render);
    } else if (abap.compare.eq(unique981, zcl_abapgit_gui_page_repo_view.c_actions.get().change_dir)) {
      lv_path.set((await (await ii_event.get().zif_abapgit_gui_event$query()).get().get({iv_key: abap.CharacterFactory.get(4, 'PATH')})));
      this.#mv_cur_dir.set((await abap.Classes['ZCL_ABAPGIT_PATH'].change_dir({iv_cur_dir: this.#mv_cur_dir, iv_cd: lv_path})));
      rs_handled.get().state.set(abap.Classes['ZCL_ABAPGIT_GUI'].c_event_state.get().re_render);
    } else if (abap.compare.eq(unique981, zcl_abapgit_gui_page_repo_view.c_actions.get().toggle_folders)) {
      this.#mv_show_folders.set((await (await abap.Classes['ZCL_ABAPGIT_PERSIST_FACTORY'].get_user()).get().zif_abapgit_persist_user$toggle_show_folders()));
      this.#mv_cur_dir.set(abap.CharacterFactory.get(1, '/'));
      rs_handled.get().state.set(abap.Classes['ZCL_ABAPGIT_GUI'].c_event_state.get().re_render);
    } else if (abap.compare.eq(unique981, zcl_abapgit_gui_page_repo_view.c_actions.get().toggle_changes)) {
      this.#mv_changes_only.set((await (await abap.Classes['ZCL_ABAPGIT_PERSIST_FACTORY'].get_user()).get().zif_abapgit_persist_user$toggle_changes_only()));
      rs_handled.get().state.set(abap.Classes['ZCL_ABAPGIT_GUI'].c_event_state.get().re_render);
    } else if (abap.compare.eq(unique981, zcl_abapgit_gui_page_repo_view.c_actions.get().toggle_diff_first)) {
      this.#mv_diff_first.set((await (await abap.Classes['ZCL_ABAPGIT_PERSIST_FACTORY'].get_user()).get().zif_abapgit_persist_user$set_diff_first({iv_diff_first: abap.builtin.boolc(abap.compare.eq(this.#mv_diff_first, abap.builtin.abap_false))})));
      rs_handled.get().state.set(abap.Classes['ZCL_ABAPGIT_GUI'].c_event_state.get().re_render);
    } else if (abap.compare.eq(unique981, zcl_abapgit_gui_page_repo_view.c_actions.get().display_more)) {
      this.#mv_max_lines.set(abap.operators.add(this.#mv_max_lines,this.#mv_max_setting));
      rs_handled.get().state.set(abap.Classes['ZCL_ABAPGIT_GUI'].c_event_state.get().re_render);
    } else if (abap.compare.eq(unique981, abap.Classes['ZIF_ABAPGIT_DEFINITIONS'].zif_abapgit_definitions$c_action.get().change_order_by)) {
      this.#mv_order_by.set((await (await abap.Classes['ZCL_ABAPGIT_PERSIST_FACTORY'].get_user()).get().zif_abapgit_persist_user$set_order_by({iv_order_by: (await (await ii_event.get().zif_abapgit_gui_event$query()).get().get({iv_key: abap.CharacterFactory.get(7, 'ORDERBY')}))})));
      this.#mv_order_descending.set((await (await abap.Classes['ZCL_ABAPGIT_PERSIST_FACTORY'].get_user()).get().zif_abapgit_persist_user$set_order_descending({iv_order_descending: abap.builtin.abap_false})));
      rs_handled.get().state.set(abap.Classes['ZCL_ABAPGIT_GUI'].c_event_state.get().re_render);
    } else if (abap.compare.eq(unique981, abap.Classes['ZIF_ABAPGIT_DEFINITIONS'].zif_abapgit_definitions$c_action.get().direction)) {
      this.#mv_order_descending.set((await (await abap.Classes['ZCL_ABAPGIT_PERSIST_FACTORY'].get_user()).get().zif_abapgit_persist_user$set_order_descending({iv_order_descending: abap.builtin.boolc(abap.compare.eq((await (await ii_event.get().zif_abapgit_gui_event$query()).get().get({iv_key: abap.CharacterFactory.get(9, 'DIRECTION')})), abap.CharacterFactory.get(10, 'DESCENDING')))})));
      rs_handled.get().state.set(abap.Classes['ZCL_ABAPGIT_GUI'].c_event_state.get().re_render);
    } else if (abap.compare.eq(unique981, abap.Classes['ZIF_ABAPGIT_DEFINITIONS'].zif_abapgit_definitions$c_action.get().repo_open_in_master_lang)) {
      await this.#open_in_main_language();
      rs_handled.get().state.set(abap.Classes['ZCL_ABAPGIT_GUI'].c_event_state.get().re_render);
    }
    return rs_handled;
  }
  async zif_abapgit_gui_hotkeys$get_hotkey_actions() {
    let rt_hotkey_actions = abap.types.TableFactory.construct(new abap.types.Structure({
    "ui_component": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_GUI_HOTKEYS=>TY_HOTKEY_WITH_DESCR-UI_COMPONENT"}),
    "action": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_GUI_HOTKEYS=>TY_HOTKEY_WITH_DESCR-ACTION"}),
    "hotkey": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_GUI_HOTKEYS=>TY_HOTKEY_WITH_DESCR-HOTKEY"}),
    "description": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_GUI_HOTKEYS=>TY_HOTKEY_WITH_DESCR-DESCRIPTION"})}, "zif_abapgit_gui_hotkeys=>ty_hotkey_with_descr", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[{"name":"action","type":"SORTED","isUnique":true,"keyFields":["UI_COMPONENT","ACTION"]}]}, "zif_abapgit_gui_hotkeys=>ty_hotkeys_with_descr");
    let ls_hotkey_action = new abap.types.Structure({
    "ui_component": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_GUI_HOTKEYS=>TY_HOTKEY_WITH_DESCR-UI_COMPONENT"}),
    "action": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_GUI_HOTKEYS=>TY_HOTKEY_WITH_DESCR-ACTION"}),
    "hotkey": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_GUI_HOTKEYS=>TY_HOTKEY_WITH_DESCR-HOTKEY"}),
    "description": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_GUI_HOTKEYS=>TY_HOTKEY_WITH_DESCR-DESCRIPTION"})}, "zif_abapgit_gui_hotkeys=>ty_hotkey_with_descr", undefined, {}, {});
    ls_hotkey_action.get().ui_component.set(abap.CharacterFactory.get(4, 'Repo'));
    ls_hotkey_action.get().description.set(new abap.types.String().set(`Stage`));
    ls_hotkey_action.get().action.set(abap.Classes['ZIF_ABAPGIT_DEFINITIONS'].zif_abapgit_definitions$c_action.get().go_stage);
    ls_hotkey_action.get().hotkey.set(new abap.types.String().set(`s`));
    abap.statements.insertInternal({data: ls_hotkey_action, table: rt_hotkey_actions});
    ls_hotkey_action.get().description.set(new abap.types.String().set(`Switch Branch`));
    ls_hotkey_action.get().action.set(abap.Classes['ZIF_ABAPGIT_DEFINITIONS'].zif_abapgit_definitions$c_action.get().git_branch_switch);
    ls_hotkey_action.get().hotkey.set(new abap.types.String().set(`b`));
    abap.statements.insertInternal({data: ls_hotkey_action, table: rt_hotkey_actions});
    ls_hotkey_action.get().description.set(new abap.types.String().set(`Repository List`));
    ls_hotkey_action.get().action.set(abap.Classes['ZIF_ABAPGIT_DEFINITIONS'].zif_abapgit_definitions$c_action.get().abapgit_home);
    ls_hotkey_action.get().hotkey.set(new abap.types.String().set(`o`));
    abap.statements.insertInternal({data: ls_hotkey_action, table: rt_hotkey_actions});
    ls_hotkey_action.get().description.set(new abap.types.String().set(`Refresh Repository`));
    ls_hotkey_action.get().action.set(abap.Classes['ZIF_ABAPGIT_DEFINITIONS'].zif_abapgit_definitions$c_action.get().repo_refresh);
    ls_hotkey_action.get().hotkey.set(new abap.types.String().set(`r`));
    abap.statements.insertInternal({data: ls_hotkey_action, table: rt_hotkey_actions});
    ls_hotkey_action.get().description.set(new abap.types.String().set(`Pull`));
    ls_hotkey_action.get().action.set(abap.Classes['ZIF_ABAPGIT_DEFINITIONS'].zif_abapgit_definitions$c_action.get().git_pull);
    ls_hotkey_action.get().hotkey.set(new abap.types.String().set(`p`));
    abap.statements.insertInternal({data: ls_hotkey_action, table: rt_hotkey_actions});
    ls_hotkey_action.get().description.set(new abap.types.String().set(`Patch`));
    ls_hotkey_action.get().action.set(abap.Classes['ZIF_ABAPGIT_DEFINITIONS'].zif_abapgit_definitions$c_action.get().go_patch);
    ls_hotkey_action.get().hotkey.set(new abap.types.String().set(`a`));
    abap.statements.insertInternal({data: ls_hotkey_action, table: rt_hotkey_actions});
    ls_hotkey_action.get().description.set(new abap.types.String().set(`Diff`));
    ls_hotkey_action.get().action.set(abap.Classes['ZIF_ABAPGIT_DEFINITIONS'].zif_abapgit_definitions$c_action.get().go_repo_diff);
    ls_hotkey_action.get().hotkey.set(new abap.types.String().set(`d`));
    abap.statements.insertInternal({data: ls_hotkey_action, table: rt_hotkey_actions});
    ls_hotkey_action.get().description.set(new abap.types.String().set(`Uninstall Repository`));
    ls_hotkey_action.get().action.set(abap.Classes['ZIF_ABAPGIT_DEFINITIONS'].zif_abapgit_definitions$c_action.get().repo_purge);
    ls_hotkey_action.get().hotkey.set(new abap.types.String().set(`u`));
    abap.statements.insertInternal({data: ls_hotkey_action, table: rt_hotkey_actions});
    ls_hotkey_action.get().description.set(new abap.types.String().set(`Run Syntax Check`));
    ls_hotkey_action.get().action.set(abap.Classes['ZIF_ABAPGIT_DEFINITIONS'].zif_abapgit_definitions$c_action.get().repo_syntax_check);
    ls_hotkey_action.get().hotkey.set(new abap.types.String().set(`c`));
    abap.statements.insertInternal({data: ls_hotkey_action, table: rt_hotkey_actions});
    ls_hotkey_action.get().description.set(new abap.types.String().set(`Run Unit Tests`));
    ls_hotkey_action.get().action.set(zcl_abapgit_gui_page_repo_view.c_actions.get().go_unit);
    ls_hotkey_action.get().hotkey.set(new abap.types.String().set(`t`));
    abap.statements.insertInternal({data: ls_hotkey_action, table: rt_hotkey_actions});
    ls_hotkey_action.get().description.set(new abap.types.String().set(`Run Code Inspector`));
    ls_hotkey_action.get().action.set(abap.Classes['ZIF_ABAPGIT_DEFINITIONS'].zif_abapgit_definitions$c_action.get().repo_code_inspector);
    ls_hotkey_action.get().hotkey.set(new abap.types.String().set(`i`));
    abap.statements.insertInternal({data: ls_hotkey_action, table: rt_hotkey_actions});
    ls_hotkey_action.get().description.set(new abap.types.String().set(`Show Log`));
    ls_hotkey_action.get().action.set(abap.Classes['ZIF_ABAPGIT_DEFINITIONS'].zif_abapgit_definitions$c_action.get().repo_log);
    ls_hotkey_action.get().hotkey.set(new abap.types.String().set(`l`));
    abap.statements.insertInternal({data: ls_hotkey_action, table: rt_hotkey_actions});
    return rt_hotkey_actions;
  }
  async zif_abapgit_gui_menu_provider$get_menu() {
    let ro_toolbar = new abap.types.ABAPObject({qualifiedName: "ZCL_ABAPGIT_HTML_TOOLBAR", RTTIName: "\\CLASS=ZCL_ABAPGIT_HTML_TOOLBAR"});
    ro_toolbar.set((await abap.Classes['ZCL_ABAPGIT_HTML_TOOLBAR'].create({iv_id: abap.CharacterFactory.get(17, 'toolbar-repo-view')})));
    await (await ro_toolbar.get().add({iv_txt: (await abap.Classes['ZCL_ABAPGIT_GUI_BUTTONS'].repo_list()), iv_act: abap.Classes['ZIF_ABAPGIT_DEFINITIONS'].zif_abapgit_definitions$c_action.get().abapgit_home})).get().add({iv_txt: (await abap.Classes['ZCL_ABAPGIT_GUI_BUTTONS'].help()), io_sub: (await abap.Classes['ZCL_ABAPGIT_GUI_MENUS'].help())});
    await abap.Classes['ZCL_ABAPGIT_GUI_MENUS'].experimental({io_menu: ro_toolbar});
    return ro_toolbar;
  }
  async zif_abapgit_gui_renderable$render() {
    let ri_html = new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_HTML", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_HTML"});
    let lt_repo_items = abap.types.TableFactory.construct(new abap.types.Structure({
    "obj_type": new abap.types.Character(4, {}),
    "obj_name": new abap.types.Character(40, {}),
    "inactive": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "sortkey": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-SORTKEY"}),
    "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-PATH"}),
    "is_dir": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "changes": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-CHANGES"}),
    "lstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
    "rstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
    "files": abap.types.TableFactory.construct(new abap.types.Structure({
    "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-PATH"}),
    "filename": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-FILENAME"}),
    "is_changed": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "rstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
    "lstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"})}, "zif_abapgit_definitions=>ty_repo_file", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_definitions=>ty_repo_file_tt"),
    "changed_by": new abap.types.Character(12, {"qualifiedName":"SYUNAME","ddicName":"SYUNAME","description":"SYUNAME"}),
    "transport": new abap.types.Character(20, {"qualifiedName":"TRKORR","ddicName":"TRKORR","description":"TRKORR"}),
    "packmove": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "srcsystem": new abap.types.Character(5, {}),
    "origlang": new abap.types.Character(1, {})}, "zif_abapgit_definitions=>ty_repo_item", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_definitions=>ty_repo_item_tt");
    let lo_browser = new abap.types.ABAPObject({qualifiedName: "ZCL_ABAPGIT_REPO_CONTENT_LIST", RTTIName: "\\CLASS=ZCL_ABAPGIT_REPO_CONTENT_LIST"});
    let lx_error = new abap.types.ABAPObject({qualifiedName: "ZCX_ABAPGIT_EXCEPTION", RTTIName: "\\CLASS=ZCX_ABAPGIT_EXCEPTION"});
    let lv_max = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
    let lv_max_str = new abap.types.String({qualifiedName: "STRING"});
    let lv_add_str = new abap.types.String({qualifiedName: "STRING"});
    let li_log = new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_LOG", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_LOG"});
    let lv_msg = new abap.types.String({qualifiedName: "STRING"});
    let lo_news = new abap.types.ABAPObject({qualifiedName: "ZCL_ABAPGIT_REPO_NEWS", RTTIName: "\\CLASS=ZCL_ABAPGIT_REPO_NEWS"});
    let fs_ls_item_ = new abap.types.FieldSymbol(new abap.types.Structure({
    "obj_type": new abap.types.Character(4, {}),
    "obj_name": new abap.types.Character(40, {}),
    "inactive": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "sortkey": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-SORTKEY"}),
    "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-PATH"}),
    "is_dir": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "changes": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_ITEM-CHANGES"}),
    "lstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
    "rstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
    "files": abap.types.TableFactory.construct(new abap.types.Structure({
    "path": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-PATH"}),
    "filename": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_DEFINITIONS=>TY_REPO_FILE-FILENAME"}),
    "is_changed": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "rstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"}),
    "lstate": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_git_definitions=>ty_item_state"})}, "zif_abapgit_definitions=>ty_repo_file", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_definitions=>ty_repo_file_tt"),
    "changed_by": new abap.types.Character(12, {"qualifiedName":"SYUNAME","ddicName":"SYUNAME","description":"SYUNAME"}),
    "transport": new abap.types.Character(20, {"qualifiedName":"TRKORR","ddicName":"TRKORR","description":"TRKORR"}),
    "packmove": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
    "srcsystem": new abap.types.Character(5, {}),
    "origlang": new abap.types.Character(1, {})}, "zif_abapgit_definitions=>ty_repo_item", undefined, {}, {}));
    await this.register_handlers();
    this.#mo_repo_aggregated_state.set(await (new abap.Classes['ZCL_ABAPGIT_REPO_ITEM_STATE']()).constructor_());
    ri_html.set(await (new abap.Classes['ZCL_ABAPGIT_HTML']()).constructor_());
    try {
      this.#mi_repo.set((await (await abap.Classes['ZCL_ABAPGIT_REPO_SRV'].get_instance()).get().zif_abapgit_repo_srv$get({iv_key: (await this.#mi_repo.get().zif_abapgit_repo$get_key())})));
      if (abap.compare.eq(this.#mv_connection_error, abap.builtin.abap_true)) {
        await ri_html.get().zif_abapgit_html$add({ig_chunk: new abap.types.String().set(`<div class="repo" id="repo${abap.templateFormatting(this.#mv_key)}">`)});
        await ri_html.get().zif_abapgit_html$add({ig_chunk: (await abap.Classes['ZCL_ABAPGIT_GUI_CHUNK_LIB'].render_repo_top({ii_repo: this.#mi_repo, iv_show_edit: abap.builtin.abap_true, iv_show_branch: abap.builtin.abap_false, iv_show_commit: abap.builtin.abap_false, iv_interactive_branch: abap.builtin.abap_false}))});
        await ri_html.get().zif_abapgit_html$add({ig_chunk: abap.CharacterFactory.get(6, '</div>')});
        await ri_html.get().zif_abapgit_html$add({ig_chunk: (await this.#render_head_line())});
        this.#mv_connection_error.clear();
        return ri_html;
      }
      await this.#check_connection();
      await this.#check_branch();
      this.#mv_are_changes_recorded_in_tr.set((await (await abap.Classes['ZCL_ABAPGIT_FACTORY'].get_sap_package({iv_package: (await this.#mi_repo.get().zif_abapgit_repo$get_package())})).get().zif_abapgit_sap_package$are_changes_recorded_in_tr_req()));
      lo_news.set((await abap.Classes['ZCL_ABAPGIT_REPO_NEWS'].create({ii_repo: this.#mi_repo})));
      await ri_html.get().zif_abapgit_html$add({ig_chunk: new abap.types.String().set(`<div class="repo" id="repo${abap.templateFormatting(this.#mv_key)}">`)});
      await ri_html.get().zif_abapgit_html$add({ig_chunk: (await abap.Classes['ZCL_ABAPGIT_GUI_CHUNK_LIB'].render_repo_top({ii_repo: this.#mi_repo, io_news: lo_news, iv_show_edit: abap.builtin.abap_true, iv_interactive_branch: abap.builtin.abap_true}))});
      await ri_html.get().zif_abapgit_html$add({ig_chunk: (await abap.Classes['ZCL_ABAPGIT_GUI_CHUNK_LIB'].render_news({io_news: lo_news}))});
      await (await abap.Classes['ZCL_ABAPGIT_EXIT'].get_instance()).get().zif_abapgit_exit$wall_message_repo({is_repo_meta: this.#mi_repo.get().zif_abapgit_repo$ms_data, ii_html: ri_html});
      lo_browser.set(await (new abap.Classes['ZCL_ABAPGIT_REPO_CONTENT_LIST']()).constructor_({ii_repo: this.#mi_repo}));
      lt_repo_items.set((await lo_browser.get().list({iv_path: this.#mv_cur_dir, iv_by_folders: this.#mv_show_folders, iv_changes_only: this.#mv_changes_only, iv_transports: this.#mv_are_changes_recorded_in_tr})));
      await this.#apply_order_by({ct_repo_items: lt_repo_items});
      for await (const unique982 of abap.statements.loop(lt_repo_items)) {
        fs_ls_item_.assign(unique982);
        await this.#mo_repo_aggregated_state.get().sum_with_repo_item({is_repo_item: fs_ls_item_});
      }
      await ri_html.get().zif_abapgit_html$add({ig_chunk: (await this.#render_head_line())});
      li_log.set((await lo_browser.get().get_log()));
      if (abap.compare.gt((await li_log.get().zif_abapgit_log$count()), abap.IntegerFactory.get(0))) {
        await ri_html.get().zif_abapgit_html$add({ig_chunk: abap.CharacterFactory.get(17, '<div class="log">')});
        await ri_html.get().zif_abapgit_html$add({ig_chunk: (await abap.Classes['ZCL_ABAPGIT_LOG_VIEWER'].to_html({ii_log: li_log}))});
        await ri_html.get().zif_abapgit_html$add({ig_chunk: abap.CharacterFactory.get(6, '</div>')});
      }
      await ri_html.get().zif_abapgit_html$add({ig_chunk: abap.CharacterFactory.get(28, '<div class="repo_container">')});
      lv_msg.clear();
      if (abap.compare.eq(abap.builtin.lines({val: lt_repo_items}), abap.IntegerFactory.get(0))) {
        if (abap.compare.eq(this.#mv_changes_only, abap.builtin.abap_true)) {
          if (abap.compare.eq((await this.#mi_repo.get().zif_abapgit_repo$is_offline()), abap.builtin.abap_true)) {
            if (abap.compare.eq((await this.#mi_repo.get().zif_abapgit_repo$has_remote_source()), abap.builtin.abap_true)) {
              lv_msg.set(abap.CharacterFactory.get(50, 'Local state completely <b>matches</b> the ZIP file'));
            } else {
              lv_msg.set(abap.CharacterFactory.get(49, 'Import a ZIP file to see if there are any changes'));
            }
          } else {
            lv_msg.set(abap.CharacterFactory.get(59, 'Local state completely <b>matches</b> the remote repository'));
          }
        } else {
          lv_msg.set(new abap.types.String().set(`Package is empty. Show ${abap.templateFormatting((await this.#build_dir_jump_link({iv_path: abap.CharacterFactory.get(6, 'parent')})))} package`));
        }
      } else {
        await ri_html.get().zif_abapgit_html$add({ig_chunk: abap.CharacterFactory.get(24, '<table class="repo_tab">')});
        await ri_html.get().zif_abapgit_html$add({ig_chunk: (await this.#render_table_header())});
        if (abap.compare.eq((await abap.Classes['ZCL_ABAPGIT_PATH'].is_root({iv_path: this.#mv_cur_dir})), abap.builtin.abap_false)) {
          await ri_html.get().zif_abapgit_html$add({ig_chunk: (await this.#render_parent_dir())});
        }
        for await (const unique983 of abap.statements.loop(lt_repo_items)) {
          fs_ls_item_.assign(unique983);
          if (abap.compare.gt(this.#mv_max_lines, abap.IntegerFactory.get(0)) && abap.compare.gt(abap.builtin.sy.get().tabix, this.#mv_max_lines)) {
            lv_max.set(abap.builtin.abap_true);
            break;
          }
          await ri_html.get().zif_abapgit_html$add({ig_chunk: (await this.#render_item({is_item: fs_ls_item_, iv_render_transports: this.#mv_are_changes_recorded_in_tr}))});
        }
        await ri_html.get().zif_abapgit_html$add({ig_chunk: (await this.#render_table_footer())});
        await ri_html.get().zif_abapgit_html$add({ig_chunk: abap.CharacterFactory.get(8, '</table>')});
      }
      if (abap.compare.initial(lv_msg) === false) {
        await ri_html.get().zif_abapgit_html$add({ig_chunk: new abap.types.String().set(`<div class="panel success repo_banner">${abap.templateFormatting(lv_msg)}</div>`)});
      }
      if (abap.compare.eq(lv_max, abap.builtin.abap_true)) {
        await ri_html.get().zif_abapgit_html$add({ig_chunk: abap.CharacterFactory.get(24, '<div class = "dummydiv">')});
        if (abap.compare.eq(this.#mv_max_lines, abap.IntegerFactory.get(1))) {
          lv_max_str.set(abap.CharacterFactory.get(8, '1 object'));
        } else {
          lv_max_str.set(new abap.types.String().set(`first ${abap.templateFormatting(this.#mv_max_lines)} objects`));
        }
        lv_add_str.set(new abap.types.String().set(`+${abap.templateFormatting(this.#mv_max_setting)}`));
        await ri_html.get().zif_abapgit_html$add({ig_chunk: new abap.types.String().set(`Only ${abap.templateFormatting(lv_max_str)} objects shown in list. Display ${abap.templateFormatting((await ri_html.get().zif_abapgit_html$a({iv_txt: lv_add_str, iv_act: zcl_abapgit_gui_page_repo_view.c_actions.get().display_more})))} more (change in Settings > ${abap.templateFormatting((await ri_html.get().zif_abapgit_html$a({iv_txt: abap.CharacterFactory.get(17, 'Personal Settings'), iv_act: abap.Classes['ZIF_ABAPGIT_DEFINITIONS'].zif_abapgit_definitions$c_action.get().go_settings_personal})))})`)});
        await ri_html.get().zif_abapgit_html$add({ig_chunk: abap.CharacterFactory.get(6, '</div>')});
      }
      await ri_html.get().zif_abapgit_html$add({ig_chunk: abap.CharacterFactory.get(6, '</div>')});
      await ri_html.get().zif_abapgit_html$add({ig_chunk: abap.CharacterFactory.get(6, '</div>')});
    } catch (e) {
      if ((abap.Classes['ZCX_ABAPGIT_EXCEPTION'] && e instanceof abap.Classes['ZCX_ABAPGIT_EXCEPTION'])) {
        lx_error.set(e);
        await (await abap.Classes['ZCL_ABAPGIT_PERSIST_FACTORY'].get_user()).get().zif_abapgit_persist_user$set_repo_show({iv_key: new abap.types.String().set(``)});
        throw lx_error.get();
      } else {
        throw e;
      }
    }
    await this.register_deferred_script({ii_part: (await this.#render_scripts())});
    return ri_html;
  }
}
abap.Classes['ZCL_ABAPGIT_GUI_PAGE_REPO_VIEW'] = zcl_abapgit_gui_page_repo_view;
zcl_abapgit_gui_page_repo_view.c_actions = new abap.types.Structure({
"change_dir": new abap.types.String({qualifiedName: "STRING"}),
"toggle_hide_files": new abap.types.String({qualifiedName: "STRING"}),
"toggle_folders": new abap.types.String({qualifiedName: "STRING"}),
"toggle_changes": new abap.types.String({qualifiedName: "STRING"}),
"toggle_diff_first": new abap.types.String({qualifiedName: "STRING"}),
"display_more": new abap.types.String({qualifiedName: "STRING"}),
"go_data": new abap.types.String({qualifiedName: "STRING"}),
"go_unit": new abap.types.String({qualifiedName: "STRING"})}, undefined, undefined, {}, {});
zcl_abapgit_gui_page_repo_view.c_actions.get().change_dir.set('change_dir');
zcl_abapgit_gui_page_repo_view.c_actions.get().toggle_hide_files.set('toggle_hide_files');
zcl_abapgit_gui_page_repo_view.c_actions.get().toggle_folders.set('toggle_folders');
zcl_abapgit_gui_page_repo_view.c_actions.get().toggle_changes.set('toggle_changes');
zcl_abapgit_gui_page_repo_view.c_actions.get().toggle_diff_first.set('toggle_diff_first ');
zcl_abapgit_gui_page_repo_view.c_actions.get().display_more.set('display_more');
zcl_abapgit_gui_page_repo_view.c_actions.get().go_data.set('go_data');
zcl_abapgit_gui_page_repo_view.c_actions.get().go_unit.set('go_unit');
export {zcl_abapgit_gui_page_repo_view};