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 | 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_codi_base.clas.abap class zcl_abapgit_gui_page_codi_base extends zcl_abapgit_gui_component { static INTERNAL_TYPE = 'CLAS'; static INTERNAL_NAME = 'ZCL_ABAPGIT_GUI_PAGE_CODI_BASE'; static IMPLEMENTED_INTERFACES = ["ZIF_ABAPGIT_HTML_TABLE"]; static ATTRIBUTES = {"MI_REPO": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_REPO", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_REPO"});}, "visibility": "O", "is_constant": " ", "is_class": " "}, "MT_RESULT": {"type": () => {return abap.types.TableFactory.construct(new abap.types.Structure({ "objtype": new abap.types.Character(4, {}), "objname": new abap.types.Character(40, {}), "sobjtype": new abap.types.Character(4, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-sobjtype"}), "sobjname": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-sobjname"}), "kind": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-kind"}), "line": new abap.types.Numc({length: 6, qualifiedName: "zif_abapgit_code_inspector=>ty_result-line"}), "col": new abap.types.Numc({length: 4, qualifiedName: "zif_abapgit_code_inspector=>ty_result-col"}), "code": new abap.types.Character(10, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-code"}), "test": new abap.types.Character(30, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-test"}), "text": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_CODE_INSPECTOR=>TY_RESULT-TEXT"}), "param1": new abap.types.Character(80, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-param1"}), "param2": new abap.types.Character(20, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-param2"}), "param3": new abap.types.Character(20, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-param3"}), "param4": new abap.types.Character(20, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-param4"}), "detail": new abap.types.XString({qualifiedName: "ZIF_ABAPGIT_CODE_INSPECTOR=>TY_RESULT-DETAIL"}), "author": new abap.types.Character(12, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-author"})}, "zif_abapgit_code_inspector=>ty_result", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_code_inspector=>ty_results");}, "visibility": "O", "is_constant": " ", "is_class": " "}, "MV_SUMMARY": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "visibility": "O", "is_constant": " ", "is_class": " "}, "MV_FILTER_KIND": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "visibility": "I", "is_constant": " ", "is_class": " "}, "MS_SORTING_STATE": {"type": () => {return new abap.types.Structure({ "column_id": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_HTML_TABLE=>TY_SORTING_STATE-COLUMN_ID"}), "descending": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"})}, "zif_abapgit_html_table=>ty_sorting_state", undefined, {}, {});}, "visibility": "I", "is_constant": " ", "is_class": " "}, "C_ACTIONS": {"type": () => {return new abap.types.Structure({ "rerun": new abap.types.String({qualifiedName: "STRING"}), "stage": new abap.types.String({qualifiedName: "STRING"}), "commit": new abap.types.String({qualifiedName: "STRING"}), "filter_kind": new abap.types.String({qualifiedName: "STRING"}), "apply_filter": new abap.types.String({qualifiedName: "STRING"})}, undefined, undefined, {}, {});}, "visibility": "O", "is_constant": "X", "is_class": "X"}, "C_OBJECT_SEPARATOR": {"type": () => {return new abap.types.Character(1, {});}, "visibility": "I", "is_constant": "X", "is_class": "X"}, "C_CI_SIG": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "visibility": "I", "is_constant": "X", "is_class": "X"}, "C_LIMIT": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "visibility": "I", "is_constant": "X", "is_class": "X"}}; static METHODS = {"CONVERT_RESULT_TO_VIEW": {"visibility": "I", "parameters": {"RT_VIEW": {"type": () => {return abap.types.TableFactory.construct(new abap.types.Structure({ "kind": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-kind"}), "obj_type": new abap.types.Character(4, {}), "location": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_GUI_PAGE_CODI_BASE=>TY_RESULT_VIEW-LOCATION"}), "text": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_GUI_PAGE_CODI_BASE=>TY_RESULT_VIEW-TEXT"}), "nav": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_GUI_PAGE_CODI_BASE=>TY_RESULT_VIEW-NAV"}), "author": new abap.types.Character(12, {"qualifiedName":"zcl_abapgit_gui_page_codi_base=>ty_result_view-author"})}, "zcl_abapgit_gui_page_codi_base=>ty_result_view", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zcl_abapgit_gui_page_codi_base=>ty_view_tab");}, "is_optional": " "}, "IT_RESULT": {"type": () => {return abap.types.TableFactory.construct(new abap.types.Structure({ "objtype": new abap.types.Character(4, {}), "objname": new abap.types.Character(40, {}), "sobjtype": new abap.types.Character(4, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-sobjtype"}), "sobjname": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-sobjname"}), "kind": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-kind"}), "line": new abap.types.Numc({length: 6, qualifiedName: "zif_abapgit_code_inspector=>ty_result-line"}), "col": new abap.types.Numc({length: 4, qualifiedName: "zif_abapgit_code_inspector=>ty_result-col"}), "code": new abap.types.Character(10, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-code"}), "test": new abap.types.Character(30, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-test"}), "text": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_CODE_INSPECTOR=>TY_RESULT-TEXT"}), "param1": new abap.types.Character(80, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-param1"}), "param2": new abap.types.Character(20, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-param2"}), "param3": new abap.types.Character(20, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-param3"}), "param4": new abap.types.Character(20, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-param4"}), "detail": new abap.types.XString({qualifiedName: "ZIF_ABAPGIT_CODE_INSPECTOR=>TY_RESULT-DETAIL"}), "author": new abap.types.Character(12, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-author"})}, "zif_abapgit_code_inspector=>ty_result", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_code_inspector=>ty_results");}, "is_optional": " "}}}, "EXPLAIN_INCLUDE": {"visibility": "I", "parameters": {"RV_TXT": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " "}, "IS_RESULT": {"type": () => {return new abap.types.Structure({ "objtype": new abap.types.Character(4, {}), "objname": new abap.types.Character(40, {}), "sobjtype": new abap.types.Character(4, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-sobjtype"}), "sobjname": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-sobjname"}), "kind": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-kind"}), "line": new abap.types.Numc({length: 6, qualifiedName: "zif_abapgit_code_inspector=>ty_result-line"}), "col": new abap.types.Numc({length: 4, qualifiedName: "zif_abapgit_code_inspector=>ty_result-col"}), "code": new abap.types.Character(10, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-code"}), "test": new abap.types.Character(30, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-test"}), "text": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_CODE_INSPECTOR=>TY_RESULT-TEXT"}), "param1": new abap.types.Character(80, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-param1"}), "param2": new abap.types.Character(20, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-param2"}), "param3": new abap.types.Character(20, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-param3"}), "param4": new abap.types.Character(20, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-param4"}), "detail": new abap.types.XString({qualifiedName: "ZIF_ABAPGIT_CODE_INSPECTOR=>TY_RESULT-DETAIL"}), "author": new abap.types.Character(12, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-author"})}, "zif_abapgit_code_inspector=>ty_result", undefined, {}, {});}, "is_optional": " "}}}, "RENDER_LIMIT_WARNING": {"visibility": "I", "parameters": {"II_HTML": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_HTML", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_HTML"});}, "is_optional": " "}}}, "BUILD_NAV_LINK": {"visibility": "I", "parameters": {"RV_LINK": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " "}, "IS_RESULT": {"type": () => {return new abap.types.Structure({ "objtype": new abap.types.Character(4, {}), "objname": new abap.types.Character(40, {}), "sobjtype": new abap.types.Character(4, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-sobjtype"}), "sobjname": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-sobjname"}), "kind": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-kind"}), "line": new abap.types.Numc({length: 6, qualifiedName: "zif_abapgit_code_inspector=>ty_result-line"}), "col": new abap.types.Numc({length: 4, qualifiedName: "zif_abapgit_code_inspector=>ty_result-col"}), "code": new abap.types.Character(10, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-code"}), "test": new abap.types.Character(30, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-test"}), "text": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_CODE_INSPECTOR=>TY_RESULT-TEXT"}), "param1": new abap.types.Character(80, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-param1"}), "param2": new abap.types.Character(20, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-param2"}), "param3": new abap.types.Character(20, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-param3"}), "param4": new abap.types.Character(20, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-param4"}), "detail": new abap.types.XString({qualifiedName: "ZIF_ABAPGIT_CODE_INSPECTOR=>TY_RESULT-DETAIL"}), "author": new abap.types.Character(12, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-author"})}, "zif_abapgit_code_inspector=>ty_result", undefined, {}, {});}, "is_optional": " "}}}, "JUMP": {"visibility": "I", "parameters": {"IS_ITEM": {"type": () => {return 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, {}, {});}, "is_optional": " "}, "IS_SUB_ITEM": {"type": () => {return 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, {}, {});}, "is_optional": " "}, "IV_LINE_NUMBER": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "is_optional": " "}}}, "APPLY_SORTING": {"visibility": "I", "parameters": {"CT_VIEW": {"type": () => {return abap.types.TableFactory.construct(new abap.types.Structure({ "kind": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-kind"}), "obj_type": new abap.types.Character(4, {}), "location": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_GUI_PAGE_CODI_BASE=>TY_RESULT_VIEW-LOCATION"}), "text": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_GUI_PAGE_CODI_BASE=>TY_RESULT_VIEW-TEXT"}), "nav": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_GUI_PAGE_CODI_BASE=>TY_RESULT_VIEW-NAV"}), "author": new abap.types.Character(12, {"qualifiedName":"zcl_abapgit_gui_page_codi_base=>ty_result_view-author"})}, "zcl_abapgit_gui_page_codi_base=>ty_result_view", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zcl_abapgit_gui_page_codi_base=>ty_view_tab");}, "is_optional": " "}}}, "APPLY_FILTER_KIND": {"visibility": "I", "parameters": {"CT_VIEW": {"type": () => {return abap.types.TableFactory.construct(new abap.types.Structure({ "kind": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-kind"}), "obj_type": new abap.types.Character(4, {}), "location": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_GUI_PAGE_CODI_BASE=>TY_RESULT_VIEW-LOCATION"}), "text": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_GUI_PAGE_CODI_BASE=>TY_RESULT_VIEW-TEXT"}), "nav": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_GUI_PAGE_CODI_BASE=>TY_RESULT_VIEW-NAV"}), "author": new abap.types.Character(12, {"qualifiedName":"zcl_abapgit_gui_page_codi_base=>ty_result_view-author"})}, "zcl_abapgit_gui_page_codi_base=>ty_result_view", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zcl_abapgit_gui_page_codi_base=>ty_view_tab");}, "is_optional": " "}}}, "HANDLE_NAVIGATION": {"visibility": "I", "parameters": {"IV_LINK": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " "}}}, "RENDER_STAT": {"visibility": "I", "parameters": {"II_HTML": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_HTML", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_HTML"});}, "is_optional": " "}, "IV_COUNT": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "is_optional": " "}, "IV_TYPE": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " "}, "IV_TITLE": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " "}}}, "ON_EVENT": {"visibility": "O", "parameters": {"RS_HANDLED": {"type": () => {return 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, {}, {});}, "is_optional": " "}, "II_EVENT": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_GUI_EVENT", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_GUI_EVENT"});}, "is_optional": " "}}}, "RENDER_CI_REPORT": {"visibility": "O", "parameters": {"II_HTML": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_HTML", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_HTML"});}, "is_optional": " "}, "IV_VARIANT": {"type": () => {return new abap.types.Character(30, {"qualifiedName":"SCI_CHKV","ddicName":"SCI_CHKV","description":"SCI_CHKV"});}, "is_optional": " "}, "IV_SUCCESS_MSG": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " "}}}, "RENDER_HEAD": {"visibility": "O", "parameters": {"II_HTML": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_HTML", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_HTML"});}, "is_optional": " "}, "IV_VARIANT": {"type": () => {return new abap.types.Character(30, {"qualifiedName":"SCI_CHKV","ddicName":"SCI_CHKV","description":"SCI_CHKV"});}, "is_optional": " "}, "IV_SUMMARY": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " "}}}, "RENDER_DETAIL": {"visibility": "O", "parameters": {"II_HTML": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_HTML", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_HTML"});}, "is_optional": " "}, "IT_RESULT": {"type": () => {return abap.types.TableFactory.construct(new abap.types.Structure({ "objtype": new abap.types.Character(4, {}), "objname": new abap.types.Character(40, {}), "sobjtype": new abap.types.Character(4, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-sobjtype"}), "sobjname": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-sobjname"}), "kind": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-kind"}), "line": new abap.types.Numc({length: 6, qualifiedName: "zif_abapgit_code_inspector=>ty_result-line"}), "col": new abap.types.Numc({length: 4, qualifiedName: "zif_abapgit_code_inspector=>ty_result-col"}), "code": new abap.types.Character(10, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-code"}), "test": new abap.types.Character(30, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-test"}), "text": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_CODE_INSPECTOR=>TY_RESULT-TEXT"}), "param1": new abap.types.Character(80, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-param1"}), "param2": new abap.types.Character(20, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-param2"}), "param3": new abap.types.Character(20, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-param3"}), "param4": new abap.types.Character(20, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-param4"}), "detail": new abap.types.XString({qualifiedName: "ZIF_ABAPGIT_CODE_INSPECTOR=>TY_RESULT-DETAIL"}), "author": new abap.types.Character(12, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-author"})}, "zif_abapgit_code_inspector=>ty_result", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_code_inspector=>ty_results");}, "is_optional": " "}}}, "RENDER_STATS": {"visibility": "O", "parameters": {"II_HTML": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_HTML", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_HTML"});}, "is_optional": " "}, "IT_RESULT": {"type": () => {return abap.types.TableFactory.construct(new abap.types.Structure({ "objtype": new abap.types.Character(4, {}), "objname": new abap.types.Character(40, {}), "sobjtype": new abap.types.Character(4, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-sobjtype"}), "sobjname": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-sobjname"}), "kind": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-kind"}), "line": new abap.types.Numc({length: 6, qualifiedName: "zif_abapgit_code_inspector=>ty_result-line"}), "col": new abap.types.Numc({length: 4, qualifiedName: "zif_abapgit_code_inspector=>ty_result-col"}), "code": new abap.types.Character(10, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-code"}), "test": new abap.types.Character(30, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-test"}), "text": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_CODE_INSPECTOR=>TY_RESULT-TEXT"}), "param1": new abap.types.Character(80, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-param1"}), "param2": new abap.types.Character(20, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-param2"}), "param3": new abap.types.Character(20, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-param3"}), "param4": new abap.types.Character(20, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-param4"}), "detail": new abap.types.XString({qualifiedName: "ZIF_ABAPGIT_CODE_INSPECTOR=>TY_RESULT-DETAIL"}), "author": new abap.types.Character(12, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-author"})}, "zif_abapgit_code_inspector=>ty_result", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_code_inspector=>ty_results");}, "is_optional": " "}}}, "BUILD_BASE_MENU": {"visibility": "O", "parameters": {"RO_MENU": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "ZCL_ABAPGIT_HTML_TOOLBAR", RTTIName: "\\CLASS=ZCL_ABAPGIT_HTML_TOOLBAR"});}, "is_optional": " "}}}}; #mv_filter_kind; #ms_sorting_state; 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, "convert_result_to_view": this.#convert_result_to_view.bind(this), "explain_include": this.#explain_include.bind(this), "render_limit_warning": this.#render_limit_warning.bind(this), "build_nav_link": this.#build_nav_link.bind(this), "jump": this.#jump.bind(this), "apply_sorting": this.#apply_sorting.bind(this), "apply_filter_kind": this.#apply_filter_kind.bind(this), "handle_navigation": this.#handle_navigation.bind(this), "render_stat": this.#render_stat.bind(this), "on_event": this.on_event.bind(this), "render_ci_report": this.render_ci_report.bind(this), "render_head": this.render_head.bind(this), "render_detail": this.render_detail.bind(this), "render_stats": this.render_stats.bind(this), "build_base_menu": this.build_base_menu.bind(this), }; this.mi_repo = new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_REPO", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_REPO"}); this.mt_result = abap.types.TableFactory.construct(new abap.types.Structure({ "objtype": new abap.types.Character(4, {}), "objname": new abap.types.Character(40, {}), "sobjtype": new abap.types.Character(4, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-sobjtype"}), "sobjname": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-sobjname"}), "kind": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-kind"}), "line": new abap.types.Numc({length: 6, qualifiedName: "zif_abapgit_code_inspector=>ty_result-line"}), "col": new abap.types.Numc({length: 4, qualifiedName: "zif_abapgit_code_inspector=>ty_result-col"}), "code": new abap.types.Character(10, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-code"}), "test": new abap.types.Character(30, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-test"}), "text": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_CODE_INSPECTOR=>TY_RESULT-TEXT"}), "param1": new abap.types.Character(80, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-param1"}), "param2": new abap.types.Character(20, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-param2"}), "param3": new abap.types.Character(20, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-param3"}), "param4": new abap.types.Character(20, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-param4"}), "detail": new abap.types.XString({qualifiedName: "ZIF_ABAPGIT_CODE_INSPECTOR=>TY_RESULT-DETAIL"}), "author": new abap.types.Character(12, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-author"})}, "zif_abapgit_code_inspector=>ty_result", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_code_inspector=>ty_results"); this.mv_summary = new abap.types.String({qualifiedName: "STRING"}); this.#mv_filter_kind = new abap.types.String({qualifiedName: "STRING"}); this.FRIENDS_ACCESS_INSTANCE["mv_filter_kind"] = this.#mv_filter_kind; this.#ms_sorting_state = new abap.types.Structure({ "column_id": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_HTML_TABLE=>TY_SORTING_STATE-COLUMN_ID"}), "descending": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"})}, "zif_abapgit_html_table=>ty_sorting_state", undefined, {}, {}); this.FRIENDS_ACCESS_INSTANCE["ms_sorting_state"] = this.#ms_sorting_state; this.c_actions = zcl_abapgit_gui_page_codi_base.c_actions; this.c_object_separator = zcl_abapgit_gui_page_codi_base.c_object_separator; this.c_ci_sig = zcl_abapgit_gui_page_codi_base.c_ci_sig; this.c_limit = zcl_abapgit_gui_page_codi_base.c_limit; } async constructor_(INPUT) { if (super.constructor_) { await super.constructor_(INPUT); } return this; } async #apply_filter_kind(INPUT) { let ct_view = abap.types.TableFactory.construct(new abap.types.Structure({ "kind": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-kind"}), "obj_type": new abap.types.Character(4, {}), "location": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_GUI_PAGE_CODI_BASE=>TY_RESULT_VIEW-LOCATION"}), "text": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_GUI_PAGE_CODI_BASE=>TY_RESULT_VIEW-TEXT"}), "nav": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_GUI_PAGE_CODI_BASE=>TY_RESULT_VIEW-NAV"}), "author": new abap.types.Character(12, {"qualifiedName":"zcl_abapgit_gui_page_codi_base=>ty_result_view-author"})}, "zcl_abapgit_gui_page_codi_base=>ty_result_view", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zcl_abapgit_gui_page_codi_base=>ty_view_tab"); if (INPUT && INPUT.ct_view) {ct_view = INPUT.ct_view;} let unique824 = this.#mv_filter_kind; if (abap.compare.eq(unique824, abap.CharacterFactory.get(5, 'error'))) { await abap.statements.deleteInternal(ct_view,{where: async (I) => {return abap.compare.ne(I.kind, abap.CharacterFactory.get(1, 'E'));}}); } else if (abap.compare.eq(unique824, abap.CharacterFactory.get(4, 'warn'))) { await abap.statements.deleteInternal(ct_view,{where: async (I) => {return abap.compare.ne(I.kind, abap.CharacterFactory.get(1, 'W'));}}); } else if (abap.compare.eq(unique824, abap.CharacterFactory.get(4, 'info'))) { await abap.statements.deleteInternal(ct_view,{where: async (I) => {return !(abap.compare.eq(I.kind, abap.CharacterFactory.get(1, 'E')) || abap.compare.eq(I.kind, abap.CharacterFactory.get(1, 'W')));}}); } else { return; } } async #apply_sorting(INPUT) { let ct_view = abap.types.TableFactory.construct(new abap.types.Structure({ "kind": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-kind"}), "obj_type": new abap.types.Character(4, {}), "location": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_GUI_PAGE_CODI_BASE=>TY_RESULT_VIEW-LOCATION"}), "text": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_GUI_PAGE_CODI_BASE=>TY_RESULT_VIEW-TEXT"}), "nav": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_GUI_PAGE_CODI_BASE=>TY_RESULT_VIEW-NAV"}), "author": new abap.types.Character(12, {"qualifiedName":"zcl_abapgit_gui_page_codi_base=>ty_result_view-author"})}, "zcl_abapgit_gui_page_codi_base=>ty_result_view", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zcl_abapgit_gui_page_codi_base=>ty_view_tab"); if (INPUT && INPUT.ct_view) {ct_view = INPUT.ct_view;} let lv_field = new abap.types.Character(30, {"qualifiedName":"abap_compname"}); let unique825 = this.#ms_sorting_state.get().column_id; if (abap.compare.eq(unique825, abap.CharacterFactory.get(4, 'kind')) || abap.compare.eq(unique825, abap.CharacterFactory.get(8, 'obj_type')) || abap.compare.eq(unique825, abap.CharacterFactory.get(8, 'location')) || abap.compare.eq(unique825, abap.CharacterFactory.get(4, 'text')) || abap.compare.eq(unique825, abap.CharacterFactory.get(6, 'author'))) { lv_field.set(abap.builtin.to_upper({val: this.#ms_sorting_state.get().column_id})); } else { return; } if (abap.compare.eq(this.#ms_sorting_state.get().descending, abap.builtin.abap_true)) { abap.statements.sort(ct_view,{}); } else { abap.statements.sort(ct_view,{}); } } async build_base_menu() { let ro_menu = new abap.types.ABAPObject({qualifiedName: "ZCL_ABAPGIT_HTML_TOOLBAR", RTTIName: "\\CLASS=ZCL_ABAPGIT_HTML_TOOLBAR"}); ro_menu.set((await (await abap.Classes['ZCL_ABAPGIT_HTML_TOOLBAR'].create({iv_id: abap.CharacterFactory.get(22, 'toolbar-code-inspector')})).get().add({iv_txt: abap.CharacterFactory.get(6, 'Re-Run'), iv_act: zcl_abapgit_gui_page_codi_base.c_actions.get().rerun}))); return ro_menu; } async #build_nav_link(INPUT) { let rv_link = new abap.types.String({qualifiedName: "STRING"}); let is_result = INPUT?.is_result; if (is_result?.getQualifiedName === undefined || is_result.getQualifiedName() !== "ZIF_ABAPGIT_CODE_INSPECTOR=>TY_RESULT") { is_result = undefined; } if (is_result === undefined) { is_result = new abap.types.Structure({ "objtype": new abap.types.Character(4, {}), "objname": new abap.types.Character(40, {}), "sobjtype": new abap.types.Character(4, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-sobjtype"}), "sobjname": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-sobjname"}), "kind": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-kind"}), "line": new abap.types.Numc({length: 6, qualifiedName: "zif_abapgit_code_inspector=>ty_result-line"}), "col": new abap.types.Numc({length: 4, qualifiedName: "zif_abapgit_code_inspector=>ty_result-col"}), "code": new abap.types.Character(10, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-code"}), "test": new abap.types.Character(30, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-test"}), "text": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_CODE_INSPECTOR=>TY_RESULT-TEXT"}), "param1": new abap.types.Character(80, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-param1"}), "param2": new abap.types.Character(20, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-param2"}), "param3": new abap.types.Character(20, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-param3"}), "param4": new abap.types.Character(20, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-param4"}), "detail": new abap.types.XString({qualifiedName: "ZIF_ABAPGIT_CODE_INSPECTOR=>TY_RESULT-DETAIL"}), "author": new abap.types.Character(12, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-author"})}, "zif_abapgit_code_inspector=>ty_result", undefined, {}, {}).set(INPUT.is_result); } rv_link.set(abap.operators.concat(new abap.types.String().set(`${abap.templateFormatting(zcl_abapgit_gui_page_codi_base.c_ci_sig)}`),abap.operators.concat(new abap.types.String().set(`${abap.templateFormatting(is_result.get().objtype)}${abap.templateFormatting(is_result.get().objname)}`),abap.operators.concat(new abap.types.String().set(`${abap.templateFormatting(zcl_abapgit_gui_page_codi_base.c_object_separator)}${abap.templateFormatting(is_result.get().sobjtype)}${abap.templateFormatting(is_result.get().sobjname)}`),new abap.types.String().set(`${abap.templateFormatting(zcl_abapgit_gui_page_codi_base.c_object_separator)}${abap.templateFormatting(is_result.get().line)}`))))); return rv_link; } async #convert_result_to_view(INPUT) { let rt_view = abap.types.TableFactory.construct(new abap.types.Structure({ "kind": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-kind"}), "obj_type": new abap.types.Character(4, {}), "location": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_GUI_PAGE_CODI_BASE=>TY_RESULT_VIEW-LOCATION"}), "text": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_GUI_PAGE_CODI_BASE=>TY_RESULT_VIEW-TEXT"}), "nav": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_GUI_PAGE_CODI_BASE=>TY_RESULT_VIEW-NAV"}), "author": new abap.types.Character(12, {"qualifiedName":"zcl_abapgit_gui_page_codi_base=>ty_result_view-author"})}, "zcl_abapgit_gui_page_codi_base=>ty_result_view", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zcl_abapgit_gui_page_codi_base=>ty_view_tab"); let it_result = INPUT?.it_result; if (it_result?.getQualifiedName === undefined || it_result.getQualifiedName() !== "ZIF_ABAPGIT_CODE_INSPECTOR=>TY_RESULTS") { it_result = undefined; } if (it_result === undefined) { it_result = abap.types.TableFactory.construct(new abap.types.Structure({ "objtype": new abap.types.Character(4, {}), "objname": new abap.types.Character(40, {}), "sobjtype": new abap.types.Character(4, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-sobjtype"}), "sobjname": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-sobjname"}), "kind": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-kind"}), "line": new abap.types.Numc({length: 6, qualifiedName: "zif_abapgit_code_inspector=>ty_result-line"}), "col": new abap.types.Numc({length: 4, qualifiedName: "zif_abapgit_code_inspector=>ty_result-col"}), "code": new abap.types.Character(10, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-code"}), "test": new abap.types.Character(30, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-test"}), "text": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_CODE_INSPECTOR=>TY_RESULT-TEXT"}), "param1": new abap.types.Character(80, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-param1"}), "param2": new abap.types.Character(20, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-param2"}), "param3": new abap.types.Character(20, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-param3"}), "param4": new abap.types.Character(20, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-param4"}), "detail": new abap.types.XString({qualifiedName: "ZIF_ABAPGIT_CODE_INSPECTOR=>TY_RESULT-DETAIL"}), "author": new abap.types.Character(12, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-author"})}, "zif_abapgit_code_inspector=>ty_result", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_code_inspector=>ty_results").set(INPUT.it_result); } let fs_ls_r_ = new abap.types.FieldSymbol(new abap.types.Structure({ "objtype": new abap.types.Character(4, {}), "objname": new abap.types.Character(40, {}), "sobjtype": new abap.types.Character(4, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-sobjtype"}), "sobjname": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-sobjname"}), "kind": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-kind"}), "line": new abap.types.Numc({length: 6, qualifiedName: "zif_abapgit_code_inspector=>ty_result-line"}), "col": new abap.types.Numc({length: 4, qualifiedName: "zif_abapgit_code_inspector=>ty_result-col"}), "code": new abap.types.Character(10, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-code"}), "test": new abap.types.Character(30, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-test"}), "text": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_CODE_INSPECTOR=>TY_RESULT-TEXT"}), "param1": new abap.types.Character(80, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-param1"}), "param2": new abap.types.Character(20, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-param2"}), "param3": new abap.types.Character(20, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-param3"}), "param4": new abap.types.Character(20, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-param4"}), "detail": new abap.types.XString({qualifiedName: "ZIF_ABAPGIT_CODE_INSPECTOR=>TY_RESULT-DETAIL"}), "author": new abap.types.Character(12, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-author"})}, "zif_abapgit_code_inspector=>ty_result", undefined, {}, {})); let fs_ls_v_ = new abap.types.FieldSymbol(new abap.types.Structure({ "kind": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-kind"}), "obj_type": new abap.types.Character(4, {}), "location": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_GUI_PAGE_CODI_BASE=>TY_RESULT_VIEW-LOCATION"}), "text": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_GUI_PAGE_CODI_BASE=>TY_RESULT_VIEW-TEXT"}), "nav": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_GUI_PAGE_CODI_BASE=>TY_RESULT_VIEW-NAV"}), "author": new abap.types.Character(12, {"qualifiedName":"zcl_abapgit_gui_page_codi_base=>ty_result_view-author"})}, "zcl_abapgit_gui_page_codi_base=>ty_result_view", undefined, {}, {})); let lv_line = new abap.types.Integer({qualifiedName: "I"}); for await (const unique826 of abap.statements.loop(it_result)) { fs_ls_r_.assign(unique826); fs_ls_v_.assign(rt_view.appendInitial()); fs_ls_v_.get().kind.set(fs_ls_r_.get().kind); fs_ls_v_.get().obj_type.set(fs_ls_r_.get().objtype); fs_ls_v_.get().nav.set((await this.#build_nav_link({is_result: fs_ls_r_}))); fs_ls_v_.get().text.set(fs_ls_r_.get().text); fs_ls_v_.get().author.set(fs_ls_r_.get().author); if (abap.compare.initial(fs_ls_r_.get().sobjname) || (abap.compare.eq(fs_ls_r_.get().sobjname, fs_ls_r_.get().objname) && abap.compare.eq(fs_ls_r_.get().sobjtype, fs_ls_r_.get().objtype))) { fs_ls_v_.get().location.set(abap.builtin.to_lower({val: fs_ls_r_.get().objname})); } else if (abap.compare.eq(fs_ls_r_.get().objtype, abap.CharacterFactory.get(4, 'CLAS')) || (abap.compare.eq(fs_ls_r_.get().objtype, abap.CharacterFactory.get(4, 'PROG')) && abap.compare.initial(fs_ls_r_.get().sobjname.getOffset({offset: 30})) === false)) { fs_ls_v_.get().location.set((await this.#explain_include({is_result: fs_ls_r_}))); } if (abap.compare.initial(fs_ls_v_.get().location)) { fs_ls_v_.get().location.set(abap.builtin.to_lower({val: new abap.types.String().set(`${abap.templateFormatting(fs_ls_r_.get().objname)} > ${abap.templateFormatting(fs_ls_r_.get().sobjtype)} ${abap.templateFormatting(fs_ls_r_.get().sobjname)}`)})); } lv_line.set(fs_ls_r_.get().line); fs_ls_v_.get().location.set(new abap.types.String().set(`${abap.templateFormatting(fs_ls_v_.get().location)} @${abap.templateFormatting(lv_line)}`)); } return rt_view; } async #explain_include(INPUT) { let rv_txt = new abap.types.String({qualifiedName: "STRING"}); let is_result = INPUT?.is_result; if (is_result?.getQualifiedName === undefined || is_result.getQualifiedName() !== "ZIF_ABAPGIT_CODE_INSPECTOR=>TY_RESULT") { is_result = undefined; } if (is_result === undefined) { is_result = new abap.types.Structure({ "objtype": new abap.types.Character(4, {}), "objname": new abap.types.Character(40, {}), "sobjtype": new abap.types.Character(4, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-sobjtype"}), "sobjname": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-sobjname"}), "kind": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-kind"}), "line": new abap.types.Numc({length: 6, qualifiedName: "zif_abapgit_code_inspector=>ty_result-line"}), "col": new abap.types.Numc({length: 4, qualifiedName: "zif_abapgit_code_inspector=>ty_result-col"}), "code": new abap.types.Character(10, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-code"}), "test": new abap.types.Character(30, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-test"}), "text": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_CODE_INSPECTOR=>TY_RESULT-TEXT"}), "param1": new abap.types.Character(80, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-param1"}), "param2": new abap.types.Character(20, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-param2"}), "param3": new abap.types.Character(20, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-param3"}), "param4": new abap.types.Character(20, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-param4"}), "detail": new abap.types.XString({qualifiedName: "ZIF_ABAPGIT_CODE_INSPECTOR=>TY_RESULT-DETAIL"}), "author": new abap.types.Character(12, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-author"})}, "zif_abapgit_code_inspector=>ty_result", undefined, {}, {}).set(INPUT.is_result); } let ls_mtdkey = (() => { throw new Error("Void type: SEOCPDKEY") })(); try { let unique827 = is_result.get().sobjname.getOffset({offset: 30}); if (abap.compare.eq(unique827, abap.CharacterFactory.get(5, 'CCDEF'))) { rv_txt.set(new abap.types.String().set(`${abap.templateFormatting(abap.builtin.to_lower({val: is_result.get().objname}))}: Local Definitions`)); } else if (abap.compare.eq(unique827, abap.CharacterFactory.get(5, 'CCIMP'))) { rv_txt.set(new abap.types.String().set(`${abap.templateFormatting(abap.builtin.to_lower({val: is_result.get().objname}))}: Local Implementations`)); } else if (abap.compare.eq(unique827, abap.CharacterFactory.get(5, 'CCMAC'))) { rv_txt.set(new abap.types.String().set(`${abap.templateFormatting(abap.builtin.to_lower({val: is_result.get().objname}))}: Macros`)); } else if (abap.compare.eq(unique827, abap.CharacterFactory.get(4, 'CCAU'))) { rv_txt.set(new abap.types.String().set(`${abap.templateFormatting(abap.builtin.to_lower({val: is_result.get().objname}))}: Test Classes`)); } else if (abap.compare.eq(unique827, abap.CharacterFactory.get(2, 'CU'))) { rv_txt.set(new abap.types.String().set(`${abap.templateFormatting(abap.builtin.to_lower({val: is_result.get().objname}))}: Public Section`)); } else if (abap.compare.eq(unique827, abap.CharacterFactory.get(2, 'CO'))) { rv_txt.set(new abap.types.String().set(`${abap.templateFormatting(abap.builtin.to_lower({val: is_result.get().objname}))}: Protected Section`)); } else if (abap.compare.eq(unique827, abap.CharacterFactory.get(2, 'CI'))) { rv_txt.set(new abap.types.String().set(`${abap.templateFormatting(abap.builtin.to_lower({val: is_result.get().objname}))}: Private Section`)); } else { try { ls_mtdkey.set(await abap.Classes['CL_OO_CLASSNAME_SERVICE'].get_method_by_include({incname: is_result.get().sobjname})); abap.builtin.sy.get().subrc.set(0); } catch (e) { if (e.classic) { switch (e.classic.toUpperCase()) { case "CLASS_NOT_EXISTING": abap.builtin.sy.get().subrc.set(1); break; case "METHOD_NOT_EXISTING": abap.builtin.sy.get().subrc.set(2); break; default: abap.builtin.sy.get().subrc.set(3); break; } } else { throw e; } } if (abap.compare.eq(abap.builtin.sy.get().subrc, abap.IntegerFactory.get(0))) { rv_txt.set(abap.builtin.to_lower({val: new abap.types.String().set(`${abap.templateFormatting(ls_mtdkey.get().clsname)}->${abap.templateFormatting(ls_mtdkey.get().cpdname)}`)})); } else { rv_txt.set(abap.builtin.to_lower({val: new abap.types.String().set(`${abap.templateFormatting(is_result.get().sobjname)}`)})); } } } catch (e) { if ((abap.Classes['CX_ROOT'] && e instanceof abap.Classes['CX_ROOT'])) { } else { throw e; } } return rv_txt; } async #handle_navigation(INPUT) { let iv_link = INPUT?.iv_link; if (iv_link?.getQualifiedName === undefined || iv_link.getQualifiedName() !== "STRING") { iv_link = undefined; } if (iv_link === undefined) { iv_link = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.iv_link); } 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 ls_sub_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_main_object = new abap.types.String({qualifiedName: "STRING"}); let lv_sub_object = new abap.types.String({qualifiedName: "STRING"}); let lv_line_number_s = new abap.types.String({qualifiedName: "STRING"}); let lv_line_number = new abap.types.Integer({qualifiedName: "I"}); abap.statements.split({source: iv_link, at: zcl_abapgit_gui_page_codi_base.c_object_separator, targets: [lv_main_object,lv_sub_object,lv_line_number_s]}); ls_item.get().obj_type.set(abap.builtin.to_upper({val: lv_main_object.getOffset({length: 4})})); ls_item.get().obj_name.set(abap.builtin.to_upper({val: lv_main_object.getOffset({offset: 4})})); if (abap.compare.initial(lv_sub_object) === false) { ls_sub_item.get().obj_type.set(abap.builtin.to_upper({val: lv_sub_object.getOffset({length: 4})})); ls_sub_item.get().obj_name.set(abap.builtin.to_upper({val: lv_sub_object.getOffset({offset: 4})})); } lv_line_number.set(lv_line_number_s); await this.#jump({is_item: ls_item, is_sub_item: ls_sub_item, iv_line_number: lv_line_number}); } async #jump(INPUT) { let is_item = INPUT?.is_item; if (is_item?.getQualifiedName === undefined || is_item.getQualifiedName() !== "ZIF_ABAPGIT_DEFINITIONS=>TY_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, {}), "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, {}, {}).set(INPUT.is_item); } let is_sub_item = INPUT?.is_sub_item; if (is_sub_item?.getQualifiedName === undefined || is_sub_item.getQualifiedName() !== "ZIF_ABAPGIT_DEFINITIONS=>TY_ITEM") { is_sub_item = undefined; } if (is_sub_item === undefined) { is_sub_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, {}, {}).set(INPUT.is_sub_item); } let iv_line_number = INPUT?.iv_line_number; if (iv_line_number?.getQualifiedName === undefined || iv_line_number.getQualifiedName() !== "I") { iv_line_number = undefined; } if (iv_line_number === undefined) { iv_line_number = new abap.types.Integer({qualifiedName: "I"}).set(INPUT.iv_line_number); } let lo_test = (() => { throw new Error("Void type: cl_ci_test_root") })(); let ls_info = (() => { throw new Error("Void type: SCIR_REST") })(); let lo_result = (() => { throw new Error("Void type: cl_ci_result_root") })(); let lv_adt_jump_enabled = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}); let lv_line_number = new abap.types.Integer({qualifiedName: "I"}); 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 ls_sub_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 fs_ls_result_ = new abap.types.FieldSymbol(new abap.types.Structure({ "objtype": new abap.types.Character(4, {}), "objname": new abap.types.Character(40, {}), "sobjtype": new abap.types.Character(4, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-sobjtype"}), "sobjname": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-sobjname"}), "kind": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-kind"}), "line": new abap.types.Numc({length: 6, qualifiedName: "zif_abapgit_code_inspector=>ty_result-line"}), "col": new abap.types.Numc({length: 4, qualifiedName: "zif_abapgit_code_inspector=>ty_result-col"}), "code": new abap.types.Character(10, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-code"}), "test": new abap.types.Character(30, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-test"}), "text": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_CODE_INSPECTOR=>TY_RESULT-TEXT"}), "param1": new abap.types.Character(80, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-param1"}), "param2": new abap.types.Character(20, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-param2"}), "param3": new abap.types.Character(20, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-param3"}), "param4": new abap.types.Character(20, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-param4"}), "detail": new abap.types.XString({qualifiedName: "ZIF_ABAPGIT_CODE_INSPECTOR=>TY_RESULT-DETAIL"}), "author": new abap.types.Character(12, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-author"})}, "zif_abapgit_code_inspector=>ty_result", undefined, {}, {})); if (abap.compare.initial(is_sub_item) === false) { abap.statements.readTable(this.mt_result,{assigning: fs_ls_result_, withKey: (i) => {return abap.compare.eq(i.objtype, is_item.get().obj_type) && abap.compare.eq(i.objname, is_item.get().obj_name) && abap.compare.eq(i.sobjtype, is_sub_item.get().obj_type) && abap.compare.eq(i.sobjname, is_sub_item.get().obj_name) && abap.compare.eq(i.line, iv_line_number);}, withKeyValue: [{key: (i) => {return i.objtype}, value: is_item.get().obj_type},{key: (i) => {return i.objname}, value: is_item.get().obj_name},{key: (i) => {return i.sobjtype}, value: is_sub_item.get().obj_type},{key: (i) => {return i.sobjname}, value: is_sub_item.get().obj_name},{key: (i) => {return i.line}, value: iv_line_number}], usesTableLine: false, withKeySimple: {"objtype": is_item.get().obj_type,"objname": is_item.get().obj_name,"sobjtype": is_sub_item.get().obj_type,"sobjname": is_sub_item.get().obj_name,"line": iv_line_number}}); } else { abap.statements.readTable(this.mt_result,{assigning: fs_ls_result_, withKey: (i) => {return abap.compare.eq(i.objtype, is_item.get().obj_type) && abap.compare.eq(i.objname, is_item.get().obj_name) && abap.compare.eq(i.line, iv_line_number);}, withKeyValue: [{key: (i) => {return i.objtype}, value: is_item.get().obj_type},{key: (i) => {return i.objname}, value: is_item.get().obj_name},{key: (i) => {return i.line}, value: iv_line_number}], usesTableLine: false, withKeySimple: {"objtype": is_item.get().obj_type,"objname": is_item.get().obj_name,"line": iv_line_number}}); } abap.statements.assert(abap.compare.assigned(fs_ls_result_)); ls_item.get().obj_name.set(fs_ls_result_.get().objname); ls_item.get().obj_type.set(fs_ls_result_.get().objtype); ls_sub_item.get().obj_name.set(fs_ls_result_.get().sobjname); ls_sub_item.get().obj_type.set(fs_ls_result_.get().sobjtype); lv_adt_jump_enabled.set((await (await (await abap.Classes['ZCL_ABAPGIT_PERSIST_FACTORY'].get_settings()).get().zif_abapgit_persist_settings$read()).get().get_adt_jump_enabled())); try { if (abap.compare.eq(lv_adt_jump_enabled, abap.builtin.abap_true)) { lv_line_number.set(fs_ls_result_.get().line); await abap.Classes['ZCL_ABAPGIT_OBJECTS'].jump({is_item: ls_item, is_sub_item: ls_sub_item, iv_line_number: lv_line_number}); return; } } catch (e) { if ((abap.Classes['ZCX_ABAPGIT_EXCEPTION'] && e instanceof abap.Classes['ZCX_ABAPGIT_EXCEPTION'])) { } else { throw e; } } try { if (abap.Classes['CL_CI_TESTS'.trimEnd()] === undefined) { if (abap.Classes['CX_SY_DYN_CALL_ILLEGAL_CLASS'.trimEnd()] === undefined) { throw "CX_SY_DYN_CALL_ILLEGAL_CLASS not found"; } else {throw new abap.Classes['CX_SY_DYN_CALL_ILLEGAL_CLASS'.trimEnd()](); } } lo_test.set(await abap.dynamicCallLookup(abap.Classes['CL_CI_TESTS'.trimEnd()], "get_test_ref")({p_test: fs_ls_result_.get().test})); } catch (e) { if ((abap.Classes['CX_ROOT'] && e instanceof abap.Classes['CX_ROOT'])) { await abap.Classes['ZCX_ABAPGIT_EXCEPTION'].raise({iv_text: new abap.types.String().set(`Jump to object not supported in your NW release`)}); } else { throw e; } } lo_result.set((await lo_test.get().get_result_node(fs_ls_result_.get().kind))); abap.statements.moveCorresponding(fs_ls_result_, ls_info); await lo_result.get().set_info(ls_info); await lo_result.get().if_ci_test$navigate(); } async 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_temp = new abap.types.String({qualifiedName: "STRING"}); let ls_sorting_req = new abap.types.Structure({ "column_id": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_HTML_TABLE=>TY_SORTING_STATE-COLUMN_ID"}), "descending": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"})}, "zif_abapgit_html_table=>ty_sorting_state", undefined, {}, {}); lv_temp.set(abap.builtin.replace({val: ii_event.get().zif_abapgit_gui_event$mv_action, regex: new abap.types.String().set(`^${abap.templateFormatting(zcl_abapgit_gui_page_codi_base.c_ci_sig)}`), with: new abap.types.String().set(``)})); if (abap.compare.ne(lv_temp, ii_event.get().zif_abapgit_gui_event$mv_action)) { await this.#handle_navigation({iv_link: lv_temp}); rs_handled.get().state.set(abap.Classes['ZCL_ABAPGIT_GUI'].c_event_state.get().no_more_act); } ls_sorting_req.set((await abap.Classes['ZCL_ABAPGIT_HTML_TABLE'].detect_sorting_request({iv_event: ii_event.get().zif_abapgit_gui_event$mv_action}))); if (abap.compare.initial(ls_sorting_req) === false) { this.#ms_sorting_state.set(ls_sorting_req); rs_handled.get().state.set(abap.Classes['ZCL_ABAPGIT_GUI'].c_event_state.get().re_render); } if (abap.compare.eq(ii_event.get().zif_abapgit_gui_event$mv_action, zcl_abapgit_gui_page_codi_base.c_actions.get().filter_kind)) { this.#mv_filter_kind.set((await (await ii_event.get().zif_abapgit_gui_event$query()).get().get({iv_key: abap.CharacterFactory.get(4, 'kind')}))); rs_handled.get().state.set(abap.Classes['ZCL_ABAPGIT_GUI'].c_event_state.get().re_render); } return rs_handled; } async render_ci_report(INPUT) { let ii_html = INPUT?.ii_html; if (ii_html?.getQualifiedName === undefined || ii_html.getQualifiedName() !== "ZIF_ABAPGIT_HTML") { ii_html = undefined; } if (ii_html === undefined) { ii_html = new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_HTML", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_HTML"}).set(INPUT.ii_html); } let iv_variant = INPUT?.iv_variant; if (iv_variant?.getQualifiedName === undefined || iv_variant.getQualifiedName() !== "SCI_CHKV") { iv_variant = undefined; } if (iv_variant === undefined) { iv_variant = new abap.types.Character(30, {"qualifiedName":"SCI_CHKV","ddicName":"SCI_CHKV","description":"SCI_CHKV"}).set(INPUT.iv_variant); } let iv_success_msg = INPUT?.iv_success_msg; if (iv_success_msg?.getQualifiedName === undefined || iv_success_msg.getQualifiedName() !== "STRING") { iv_success_msg = undefined; } if (iv_success_msg === undefined) { iv_success_msg = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.iv_success_msg); } await ii_html.get().zif_abapgit_html$add({ig_chunk: abap.CharacterFactory.get(16, '<div class="ci">')}); await this.render_head({ii_html: ii_html, iv_variant: iv_variant, iv_summary: this.mv_summary}); if (abap.compare.eq(abap.builtin.lines({val: this.mt_result}), abap.IntegerFactory.get(0))) { await ii_html.get().zif_abapgit_html$add({ig_chunk: (await abap.Classes['ZCL_ABAPGIT_GUI_CHUNK_LIB'].render_success({iv_message: iv_success_msg}))}); } else { await this.render_stats({ii_html: ii_html, it_result: this.mt_result}); await this.render_detail({ii_html: ii_html, it_result: this.mt_result}); } await ii_html.get().zif_abapgit_html$add({ig_chunk: abap.CharacterFactory.get(6, '</div>')}); } async render_detail(INPUT) { let ii_html = INPUT?.ii_html; if (ii_html?.getQualifiedName === undefined || ii_html.getQualifiedName() !== "ZIF_ABAPGIT_HTML") { ii_html = undefined; } if (ii_html === undefined) { ii_html = new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_HTML", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_HTML"}).set(INPUT.ii_html); } let it_result = INPUT?.it_result; if (it_result?.getQualifiedName === undefined || it_result.getQualifiedName() !== "ZIF_ABAPGIT_CODE_INSPECTOR=>TY_RESULTS") { it_result = undefined; } if (it_result === undefined) { it_result = abap.types.TableFactory.construct(new abap.types.Structure({ "objtype": new abap.types.Character(4, {}), "objname": new abap.types.Character(40, {}), "sobjtype": new abap.types.Character(4, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-sobjtype"}), "sobjname": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-sobjname"}), "kind": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-kind"}), "line": new abap.types.Numc({length: 6, qualifiedName: "zif_abapgit_code_inspector=>ty_result-line"}), "col": new abap.types.Numc({length: 4, qualifiedName: "zif_abapgit_code_inspector=>ty_result-col"}), "code": new abap.types.Character(10, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-code"}), "test": new abap.types.Character(30, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-test"}), "text": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_CODE_INSPECTOR=>TY_RESULT-TEXT"}), "param1": new abap.types.Character(80, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-param1"}), "param2": new abap.types.Character(20, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-param2"}), "param3": new abap.types.Character(20, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-param3"}), "param4": new abap.types.Character(20, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-param4"}), "detail": new abap.types.XString({qualifiedName: "ZIF_ABAPGIT_CODE_INSPECTOR=>TY_RESULT-DETAIL"}), "author": new abap.types.Character(12, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-author"})}, "zif_abapgit_code_inspector=>ty_result", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_code_inspector=>ty_results").set(INPUT.it_result); } let li_table = new abap.types.ABAPObject({qualifiedName: "ZCL_ABAPGIT_HTML_TABLE", RTTIName: "\\CLASS=ZCL_ABAPGIT_HTML_TABLE"}); let lt_view = abap.types.TableFactory.construct(new abap.types.Structure({ "kind": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-kind"}), "obj_type": new abap.types.Character(4, {}), "location": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_GUI_PAGE_CODI_BASE=>TY_RESULT_VIEW-LOCATION"}), "text": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_GUI_PAGE_CODI_BASE=>TY_RESULT_VIEW-TEXT"}), "nav": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_GUI_PAGE_CODI_BASE=>TY_RESULT_VIEW-NAV"}), "author": new abap.types.Character(12, {"qualifiedName":"zcl_abapgit_gui_page_codi_base=>ty_result_view-author"})}, "zcl_abapgit_gui_page_codi_base=>ty_result_view", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zcl_abapgit_gui_page_codi_base=>ty_view_tab"); li_table.set((await (await (await (await (await (await abap.Classes['ZCL_ABAPGIT_HTML_TABLE'].create()).get().define_column({iv_column_id: abap.CharacterFactory.get(4, 'kind'), iv_column_title: (await abap.Classes['ZCL_ABAPGIT_HTML'].icon({iv_name: abap.CharacterFactory.get(18, 'exclamation-circle')}))})).get().define_column({iv_column_id: abap.CharacterFactory.get(8, 'obj_type'), iv_column_title: abap.CharacterFactory.get(4, 'Type')})).get().define_column({iv_column_id: abap.CharacterFactory.get(8, 'location'), iv_column_title: abap.CharacterFactory.get(20, 'Obj. name / location')})).get().define_column({iv_column_id: abap.CharacterFactory.get(6, 'author'), iv_column_title: abap.CharacterFactory.get(10, 'Changed by')})).get().define_column({iv_column_id: abap.CharacterFactory.get(4, 'text'), iv_column_title: abap.CharacterFactory.get(4, 'Text')}))); lt_view.set((await this.#convert_result_to_view({it_result: it_result}))); if (abap.compare.initial(this.#ms_sorting_state.get().column_id)) { this.#ms_sorting_state.get().column_id.set(abap.CharacterFactory.get(4, 'kind')); } await this.#apply_sorting({ct_view: lt_view}); await this.#apply_filter_kind({ct_view: lt_view}); await ii_html.get().zif_abapgit_html$div({iv_class: abap.CharacterFactory.get(9, 'ci-detail'), ii_content: (await li_table.get().render({ii_renderer: this.me, is_sorting_state: this.#ms_sorting_state, iv_wrap_in_div: abap.CharacterFactory.get(23, 'default-table-container'), iv_css_class: abap.CharacterFactory.get(13, 'default-table'), iv_with_cids: abap.builtin.abap_true, it_data: lt_view}))}); if (abap.compare.gt(abap.builtin.lines({val: it_result}), zcl_abapgit_gui_page_codi_base.c_limit)) { await this.#render_limit_warning({ii_html: ii_html}); } } async render_head(INPUT) { let ii_html = INPUT?.ii_html; if (ii_html?.getQualifiedName === undefined || ii_html.getQualifiedName() !== "ZIF_ABAPGIT_HTML") { ii_html = undefined; } if (ii_html === undefined) { ii_html = new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_HTML", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_HTML"}).set(INPUT.ii_html); } let iv_variant = INPUT?.iv_variant; if (iv_variant?.getQualifiedName === undefined || iv_variant.getQualifiedName() !== "SCI_CHKV") { iv_variant = undefined; } if (iv_variant === undefined) { iv_variant = new abap.types.Character(30, {"qualifiedName":"SCI_CHKV","ddicName":"SCI_CHKV","description":"SCI_CHKV"}).set(INPUT.iv_variant); } let iv_summary = INPUT?.iv_summary; if (iv_summary?.getQualifiedName === undefined || iv_summary.getQualifiedName() !== "STRING") { iv_summary = undefined; } if (iv_summary === undefined) { iv_summary = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.iv_summary); } await ii_html.get().zif_abapgit_html$div({iv_class: abap.CharacterFactory.get(6, 'ci-msg'), iv_content: new abap.types.String().set(`Code inspector check variant <span class="ci-variant">${abap.templateFormatting(iv_variant)}</span> completed (${abap.templateFormatting(iv_summary)})`)}); } async #render_limit_warning(INPUT) { let ii_html = INPUT?.ii_html; if (ii_html?.getQualifiedName === undefined || ii_html.getQualifiedName() !== "ZIF_ABAPGIT_HTML") { ii_html = undefined; } if (ii_html === undefined) { ii_html = new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_HTML", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_HTML"}).set(INPUT.ii_html); } await ii_html.get().zif_abapgit_html$add({ig_chunk: abap.CharacterFactory.get(30, '<div class="dummydiv warning">')}); await ii_html.get().zif_abapgit_html$add({ig_chunk: (await ii_html.get().zif_abapgit_html$icon({iv_name: abap.CharacterFactory.get(20, 'exclamation-triangle')}))}); await ii_html.get().zif_abapgit_html$add({ig_chunk: new abap.types.String().set(`Only first ${abap.templateFormatting(zcl_abapgit_gui_page_codi_base.c_limit)} findings shown in list!`)}); await ii_html.get().zif_abapgit_html$add({ig_chunk: abap.CharacterFactory.get(6, '</div>')}); } async #render_stat(INPUT) { let ii_html = INPUT?.ii_html; if (ii_html?.getQualifiedName === undefined || ii_html.getQualifiedName() !== "ZIF_ABAPGIT_HTML") { ii_html = undefined; } if (ii_html === undefined) { ii_html = new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_HTML", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_HTML"}).set(INPUT.ii_html); } let iv_count = INPUT?.iv_count; if (iv_count?.getQualifiedName === undefined || iv_count.getQualifiedName() !== "I") { iv_count = undefined; } if (iv_count === undefined) { iv_count = new abap.types.Integer({qualifiedName: "I"}).set(INPUT.iv_count); } let iv_type = INPUT?.iv_type; if (iv_type?.getQualifiedName === undefined || iv_type.getQualifiedName() !== "STRING") { iv_type = undefined; } if (iv_type === undefined) { iv_type = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.iv_type); } let iv_title = INPUT?.iv_title; if (iv_title?.getQualifiedName === undefined || iv_title.getQualifiedName() !== "STRING") { iv_title = undefined; } if (iv_title === undefined) { iv_title = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.iv_title); } let lv_txt = new abap.types.String({qualifiedName: "STRING"}); lv_txt.set(new abap.types.String().set(`${abap.templateFormatting(iv_count)} ${abap.templateFormatting(iv_title)}`)); if (abap.compare.ne(iv_type, this.#mv_filter_kind)) { lv_txt.set((await ii_html.get().zif_abapgit_html$a({iv_txt: lv_txt, iv_act: new abap.types.String().set(`${abap.templateFormatting(zcl_abapgit_gui_page_codi_base.c_actions.get().filter_kind)}?kind=${abap.templateFormatting(iv_type)}`), iv_typ: abap.Classes['ZIF_ABAPGIT_HTML'].zif_abapgit_html$c_action_type.get().sapevent}))); } await ii_html.get().zif_abapgit_html$add({ig_chunk: new abap.types.String().set(`<span class="count ${abap.templateFormatting(iv_type)}-count">${abap.templateFormatting(lv_txt)}</span>`)}); } async render_stats(INPUT) { let ii_html = INPUT?.ii_html; if (ii_html?.getQualifiedName === undefined || ii_html.getQualifiedName() !== "ZIF_ABAPGIT_HTML") { ii_html = undefined; } if (ii_html === undefined) { ii_html = new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_HTML", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_HTML"}).set(INPUT.ii_html); } let it_result = INPUT?.it_result; if (it_result?.getQualifiedName === undefined || it_result.getQualifiedName() !== "ZIF_ABAPGIT_CODE_INSPECTOR=>TY_RESULTS") { it_result = undefined; } if (it_result === undefined) { it_result = abap.types.TableFactory.construct(new abap.types.Structure({ "objtype": new abap.types.Character(4, {}), "objname": new abap.types.Character(40, {}), "sobjtype": new abap.types.Character(4, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-sobjtype"}), "sobjname": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-sobjname"}), "kind": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-kind"}), "line": new abap.types.Numc({length: 6, qualifiedName: "zif_abapgit_code_inspector=>ty_result-line"}), "col": new abap.types.Numc({length: 4, qualifiedName: "zif_abapgit_code_inspector=>ty_result-col"}), "code": new abap.types.Character(10, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-code"}), "test": new abap.types.Character(30, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-test"}), "text": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_CODE_INSPECTOR=>TY_RESULT-TEXT"}), "param1": new abap.types.Character(80, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-param1"}), "param2": new abap.types.Character(20, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-param2"}), "param3": new abap.types.Character(20, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-param3"}), "param4": new abap.types.Character(20, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-param4"}), "detail": new abap.types.XString({qualifiedName: "ZIF_ABAPGIT_CODE_INSPECTOR=>TY_RESULT-DETAIL"}), "author": new abap.types.Character(12, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-author"})}, "zif_abapgit_code_inspector=>ty_result", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_code_inspector=>ty_results").set(INPUT.it_result); } let fs_ls_i_ = new abap.types.FieldSymbol(new abap.types.Structure({ "objtype": new abap.types.Character(4, {}), "objname": new abap.types.Character(40, {}), "sobjtype": new abap.types.Character(4, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-sobjtype"}), "sobjname": new abap.types.Character(40, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-sobjname"}), "kind": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-kind"}), "line": new abap.types.Numc({length: 6, qualifiedName: "zif_abapgit_code_inspector=>ty_result-line"}), "col": new abap.types.Numc({length: 4, qualifiedName: "zif_abapgit_code_inspector=>ty_result-col"}), "code": new abap.types.Character(10, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-code"}), "test": new abap.types.Character(30, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-test"}), "text": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_CODE_INSPECTOR=>TY_RESULT-TEXT"}), "param1": new abap.types.Character(80, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-param1"}), "param2": new abap.types.Character(20, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-param2"}), "param3": new abap.types.Character(20, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-param3"}), "param4": new abap.types.Character(20, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-param4"}), "detail": new abap.types.XString({qualifiedName: "ZIF_ABAPGIT_CODE_INSPECTOR=>TY_RESULT-DETAIL"}), "author": new abap.types.Character(12, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-author"})}, "zif_abapgit_code_inspector=>ty_result", undefined, {}, {})); let lv_errors = new abap.types.Integer({qualifiedName: "I"}); let lv_warnings = new abap.types.Integer({qualifiedName: "I"}); let lv_infos = new abap.types.Integer({qualifiedName: "I"}); if (abap.compare.initial(this.#mv_filter_kind)) { this.#mv_filter_kind.set(abap.CharacterFactory.get(3, 'all')); } for await (const unique828 of abap.statements.loop(it_result)) { fs_ls_i_.assign(unique828); let unique829 = fs_ls_i_.get().kind; if (abap.compare.eq(unique829, abap.CharacterFactory.get(1, 'E'))) { lv_errors.set(abap.operators.add(lv_errors,abap.IntegerFactory.get(1))); } else if (abap.compare.eq(unique829, abap.CharacterFactory.get(1, 'W'))) { lv_warnings.set(abap.operators.add(lv_warnings,abap.IntegerFactory.get(1))); } else { lv_infos.set(abap.operators.add(lv_infos,abap.IntegerFactory.get(1))); } } await ii_html.get().zif_abapgit_html$add({ig_chunk: abap.CharacterFactory.get(22, '<div class="ci-stats">')}); if (abap.compare.gt(lv_errors, abap.IntegerFactory.get(0))) { await this.#render_stat({ii_html: ii_html, iv_count: lv_errors, iv_type: abap.CharacterFactory.get(5, 'error'), iv_title: abap.CharacterFactory.get(6, 'errors')}); } if (abap.compare.gt(lv_warnings, abap.IntegerFactory.get(0))) { await this.#render_stat({ii_html: ii_html, iv_count: lv_warnings, iv_type: abap.CharacterFactory.get(4, 'warn'), iv_title: abap.CharacterFactory.get(8, 'warnings')}); } if (abap.compare.gt(lv_infos, abap.IntegerFactory.get(0))) { await this.#render_stat({ii_html: ii_html, iv_count: lv_infos, iv_type: abap.CharacterFactory.get(4, 'info'), iv_title: abap.CharacterFactory.get(5, 'infos')}); } await this.#render_stat({ii_html: ii_html, iv_count: abap.operators.add(abap.operators.add(lv_infos,lv_errors),lv_warnings), iv_type: abap.CharacterFactory.get(3, 'all'), iv_title: abap.CharacterFactory.get(3, 'all')}); await ii_html.get().zif_abapgit_html$add({ig_chunk: abap.CharacterFactory.get(6, '</div>')}); } async zif_abapgit_html_table$get_row_attrs(INPUT) { let rs_attrs = new abap.types.Structure({ "css_class": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_HTML_TABLE=>TY_ROW_ATTRS-CSS_CLASS"}), "data": new abap.types.Structure({ "name": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_HTML=>TY_DATA_ATTR-NAME"}), "value": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_HTML=>TY_DATA_ATTR-VALUE"})}, "zif_abapgit_html=>ty_data_attr", undefined, {}, {})}, "zif_abapgit_html_table=>ty_row_attrs", undefined, {}, {}); let iv_table_id = INPUT?.iv_table_id; if (iv_table_id?.getQualifiedName === undefined || iv_table_id.getQualifiedName() !== "STRING") { iv_table_id = undefined; } if (iv_table_id === undefined) { iv_table_id = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.iv_table_id); } let iv_row_index = INPUT?.iv_row_index; if (iv_row_index?.getQualifiedName === undefined || iv_row_index.getQualifiedName() !== "I") { iv_row_index = undefined; } if (iv_row_index === undefined) { iv_row_index = new abap.types.Integer({qualifiedName: "I"}).set(INPUT.iv_row_index); } let is_row = INPUT?.is_row; let fs_ls_item_ = new abap.types.FieldSymbol(new abap.types.Structure({ "kind": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-kind"}), "obj_type": new abap.types.Character(4, {}), "location": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_GUI_PAGE_CODI_BASE=>TY_RESULT_VIEW-LOCATION"}), "text": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_GUI_PAGE_CODI_BASE=>TY_RESULT_VIEW-TEXT"}), "nav": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_GUI_PAGE_CODI_BASE=>TY_RESULT_VIEW-NAV"}), "author": new abap.types.Character(12, {"qualifiedName":"zcl_abapgit_gui_page_codi_base=>ty_result_view-author"})}, "zcl_abapgit_gui_page_codi_base=>ty_result_view", undefined, {}, {})); abap.statements.assign({target: fs_ls_item_, source: is_row}); rs_attrs.get().data.get().name.set(abap.CharacterFactory.get(4, 'kind')); let unique830 = fs_ls_item_.get().kind; if (abap.compare.eq(unique830, abap.CharacterFactory.get(1, 'E'))) { rs_attrs.get().data.get().value.set(abap.CharacterFactory.get(5, 'error')); } else if (abap.compare.eq(unique830, abap.CharacterFactory.get(1, 'W'))) { rs_attrs.get().data.get().value.set(abap.CharacterFactory.get(7, 'warning')); } else { rs_attrs.get().data.get().value.set(abap.CharacterFactory.get(4, 'info')); } return rs_attrs; } async zif_abapgit_html_table$render_cell(INPUT) { let rs_render = new abap.types.Structure({ "css_class": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_HTML_TABLE=>TY_CELL_RENDER-CSS_CLASS"}), "content": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_HTML_TABLE=>TY_CELL_RENDER-CONTENT"}), "html": new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_HTML", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_HTML"})}, "zif_abapgit_html_table=>ty_cell_render", undefined, {}, {}); let iv_table_id = INPUT?.iv_table_id; if (iv_table_id?.getQualifiedName === undefined || iv_table_id.getQualifiedName() !== "STRING") { iv_table_id = undefined; } if (iv_table_id === undefined) { iv_table_id = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.iv_table_id); } let iv_row_index = INPUT?.iv_row_index; if (iv_row_index?.getQualifiedName === undefined || iv_row_index.getQualifiedName() !== "I") { iv_row_index = undefined; } if (iv_row_index === undefined) { iv_row_index = new abap.types.Integer({qualifiedName: "I"}).set(INPUT.iv_row_index); } let is_row = INPUT?.is_row; let iv_column_id = INPUT?.iv_column_id; if (iv_column_id?.getQualifiedName === undefined || iv_column_id.getQualifiedName() !== "STRING") { iv_column_id = undefined; } if (iv_column_id === undefined) { iv_column_id = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.iv_column_id); } let iv_value = INPUT?.iv_value; let fs_ls_item_ = new abap.types.FieldSymbol(new abap.types.Structure({ "kind": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-kind"}), "obj_type": new abap.types.Character(4, {}), "location": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_GUI_PAGE_CODI_BASE=>TY_RESULT_VIEW-LOCATION"}), "text": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_GUI_PAGE_CODI_BASE=>TY_RESULT_VIEW-TEXT"}), "nav": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_GUI_PAGE_CODI_BASE=>TY_RESULT_VIEW-NAV"}), "author": new abap.types.Character(12, {"qualifiedName":"zcl_abapgit_gui_page_codi_base=>ty_result_view-author"})}, "zcl_abapgit_gui_page_codi_base=>ty_result_view", undefined, {}, {})); abap.statements.assign({target: fs_ls_item_, source: is_row}); let unique831 = iv_column_id; if (abap.compare.eq(unique831, abap.CharacterFactory.get(4, 'kind'))) { rs_render.get().content.set(new abap.types.String().set(`<span>${abap.templateFormatting(fs_ls_item_.get().kind)}</span>`)); } else if (abap.compare.eq(unique831, abap.CharacterFactory.get(8, 'obj_type'))) { rs_render.get().content.set(fs_ls_item_.get().obj_type); } else if (abap.compare.eq(unique831, abap.CharacterFactory.get(8, 'location'))) { rs_render.get().content.set((await (await abap.Classes['ZCL_ABAPGIT_HTML'].create()).get().zif_abapgit_html$a({iv_txt: fs_ls_item_.get().location, iv_act: fs_ls_item_.get().nav, iv_typ: abap.Classes['ZIF_ABAPGIT_HTML'].zif_abapgit_html$c_action_type.get().sapevent}))); } else if (abap.compare.eq(unique831, abap.CharacterFactory.get(6, 'author'))) { rs_render.get().content.set((await (await abap.Classes['ZCL_ABAPGIT_GUI_CHUNK_LIB'].render_user_name({iv_username: new abap.types.String().set(`${abap.templateFormatting(fs_ls_item_.get().author)}`)})).get().zif_abapgit_html$render())); } else if (abap.compare.eq(unique831, abap.CharacterFactory.get(4, 'text'))) { rs_render.get().content.set(abap.builtin.escape({val: fs_ls_item_.get().text, format: abap.Classes['CL_ABAP_FORMAT'].e_html_attr})); } return rs_render; } } abap.Classes['ZCL_ABAPGIT_GUI_PAGE_CODI_BASE'] = zcl_abapgit_gui_page_codi_base; zcl_abapgit_gui_page_codi_base.c_actions = new abap.types.Structure({ "rerun": new abap.types.String({qualifiedName: "STRING"}), "stage": new abap.types.String({qualifiedName: "STRING"}), "commit": new abap.types.String({qualifiedName: "STRING"}), "filter_kind": new abap.types.String({qualifiedName: "STRING"}), "apply_filter": new abap.types.String({qualifiedName: "STRING"})}, undefined, undefined, {}, {}); zcl_abapgit_gui_page_codi_base.c_actions.get().rerun.set('rerun'); zcl_abapgit_gui_page_codi_base.c_actions.get().stage.set('stage'); zcl_abapgit_gui_page_codi_base.c_actions.get().commit.set('commit'); zcl_abapgit_gui_page_codi_base.c_actions.get().filter_kind.set('filter_kind'); zcl_abapgit_gui_page_codi_base.c_actions.get().apply_filter.set('apply_filter'); zcl_abapgit_gui_page_codi_base.c_object_separator = new abap.types.Character(1, {}); zcl_abapgit_gui_page_codi_base.c_object_separator.set('|'); zcl_abapgit_gui_page_codi_base.c_ci_sig = new abap.types.String({qualifiedName: "STRING"}); zcl_abapgit_gui_page_codi_base.c_ci_sig.set('cinav:'); zcl_abapgit_gui_page_codi_base.c_limit = new abap.types.Integer({qualifiedName: "I"}); zcl_abapgit_gui_page_codi_base.c_limit.set(500); zcl_abapgit_gui_page_codi_base.ty_result_view = new abap.types.Structure({ "kind": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-kind"}), "obj_type": new abap.types.Character(4, {}), "location": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_GUI_PAGE_CODI_BASE=>TY_RESULT_VIEW-LOCATION"}), "text": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_GUI_PAGE_CODI_BASE=>TY_RESULT_VIEW-TEXT"}), "nav": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_GUI_PAGE_CODI_BASE=>TY_RESULT_VIEW-NAV"}), "author": new abap.types.Character(12, {"qualifiedName":"zcl_abapgit_gui_page_codi_base=>ty_result_view-author"})}, "zcl_abapgit_gui_page_codi_base=>ty_result_view", undefined, {}, {}); zcl_abapgit_gui_page_codi_base.ty_view_tab = abap.types.TableFactory.construct(new abap.types.Structure({ "kind": new abap.types.Character(1, {"qualifiedName":"zif_abapgit_code_inspector=>ty_result-kind"}), "obj_type": new abap.types.Character(4, {}), "location": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_GUI_PAGE_CODI_BASE=>TY_RESULT_VIEW-LOCATION"}), "text": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_GUI_PAGE_CODI_BASE=>TY_RESULT_VIEW-TEXT"}), "nav": new abap.types.String({qualifiedName: "ZCL_ABAPGIT_GUI_PAGE_CODI_BASE=>TY_RESULT_VIEW-NAV"}), "author": new abap.types.Character(12, {"qualifiedName":"zcl_abapgit_gui_page_codi_base=>ty_result_view-author"})}, "zcl_abapgit_gui_page_codi_base=>ty_result_view", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zcl_abapgit_gui_page_codi_base=>ty_view_tab"); export {zcl_abapgit_gui_page_codi_base}; |