mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-02 04:36:49 +08:00

* Commit Page Update Here's the redesigned commit page moving to the HTML forms you know form other dialogs (goes together with #5047 for best look). New features: - check of mandatory entries - validation of email address format - link to docs (t.b..d.) - summary of changes on top, list of changed filed on bottom - placeholder for body Closes #5029 * rm > remove * Create guide-stage-commit.md * Add files via upload * Update guide-stage-commit.md * Delete commit_done.png * Add files via upload * Update guide-moving-package.md * Add files via upload * Add files via upload * Update zcl_abapgit_gui_page_patch.clas.xml * Update zcl_abapgit_gui_page_stage.clas.xml * Update zcl_abapgit_gui_page_merge.clas.xml * Update zcl_abapgit_gui_page_commit.clas.xml * Update zcl_abapgit_gui_page_code_insp.clas.xml Co-authored-by: Lars Hvam <larshp@hotmail.com>
67 lines
1.8 KiB
ABAP
67 lines
1.8 KiB
ABAP
INTERFACE zif_abapgit_html_form
|
|
PUBLIC .
|
|
|
|
TYPES:
|
|
BEGIN OF ty_subitem,
|
|
label TYPE string,
|
|
value TYPE string,
|
|
readonly TYPE abap_bool,
|
|
END OF ty_subitem .
|
|
TYPES:
|
|
ty_subitems TYPE STANDARD TABLE OF ty_subitem WITH DEFAULT KEY .
|
|
TYPES:
|
|
BEGIN OF ty_field,
|
|
type TYPE i,
|
|
name TYPE string,
|
|
label TYPE string,
|
|
hint TYPE string,
|
|
dblclick TYPE string,
|
|
placeholder TYPE string,
|
|
required TYPE string,
|
|
upper_case TYPE abap_bool,
|
|
item_class TYPE string,
|
|
error TYPE string,
|
|
default_value TYPE string,
|
|
side_action TYPE string,
|
|
subitems TYPE ty_subitems,
|
|
readonly TYPE abap_bool,
|
|
password TYPE abap_bool,
|
|
condense TYPE abap_bool,
|
|
min TYPE i,
|
|
max TYPE i,
|
|
rows TYPE i,
|
|
cols TYPE i,
|
|
END OF ty_field .
|
|
TYPES:
|
|
ty_fields TYPE STANDARD TABLE OF ty_field
|
|
WITH DEFAULT KEY
|
|
WITH UNIQUE SORTED KEY by_name COMPONENTS name .
|
|
TYPES:
|
|
BEGIN OF ty_command,
|
|
label TYPE string,
|
|
action TYPE string,
|
|
cmd_type TYPE i,
|
|
END OF ty_command .
|
|
|
|
CONSTANTS c_rows TYPE string VALUE 'rows'.
|
|
CONSTANTS:
|
|
BEGIN OF c_cmd_type,
|
|
input TYPE i VALUE 1,
|
|
input_main TYPE i VALUE 2,
|
|
link TYPE i VALUE 3,
|
|
button TYPE i VALUE 4,
|
|
END OF c_cmd_type .
|
|
CONSTANTS:
|
|
BEGIN OF c_field_type,
|
|
text TYPE i VALUE 1,
|
|
radio TYPE i VALUE 2,
|
|
checkbox TYPE i VALUE 3,
|
|
field_group TYPE i VALUE 4,
|
|
number TYPE i VALUE 5,
|
|
textarea TYPE i VALUE 6,
|
|
table TYPE i VALUE 7,
|
|
hidden TYPE i VALUE 8,
|
|
END OF c_field_type .
|
|
|
|
ENDINTERFACE.
|