All files / output/project zif_abapgit_html_form.intf.mjs

100% Statements 80/80
100% Branches 7/7
66.66% Functions 6/9
100% Lines 80/80

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 801x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 4x 4x 4x 4x 3x 2x 2x 2x 2x 2x 2x 2x 2x 2x 2x 2x 2x 2x 2x 2x 2x 2x 2x 2x 2x 2x 2x 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
function $t_emlmX2FiYXBnaXRfaHRtbF9mb3JtLmludGYubWpz_0() { return new abap.types.Structure({
"input": new abap.types.Integer({qualifiedName: "I"}),
"input_main": new abap.types.Integer({qualifiedName: "I"}),
"link": new abap.types.Integer({qualifiedName: "I"}),
"button": new abap.types.Integer({qualifiedName: "I"})}); }
function $t_emlmX2FiYXBnaXRfaHRtbF9mb3JtLmludGYubWpz_1() { return new abap.types.Structure({
"text": new abap.types.Integer({qualifiedName: "I"}),
"radio": new abap.types.Integer({qualifiedName: "I"}),
"checkbox": new abap.types.Integer({qualifiedName: "I"}),
"field_group": new abap.types.Integer({qualifiedName: "I"}),
"number": new abap.types.Integer({qualifiedName: "I"}),
"textarea": new abap.types.Integer({qualifiedName: "I"}),
"table": new abap.types.Integer({qualifiedName: "I"}),
"hidden": new abap.types.Integer({qualifiedName: "I"}),
"icon": new abap.types.Integer({qualifiedName: "I"}),
"freetext": new abap.types.Integer({qualifiedName: "I"})}); }
function $t_emlmX2FiYXBnaXRfaHRtbF9mb3JtLmludGYubWpz_2() { return new abap.types.Structure({
"label": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_HTML_FORM=>TY_SUBITEM-LABEL"}),
"value": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_HTML_FORM=>TY_SUBITEM-VALUE"}),
"readonly": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"})}, "zif_abapgit_html_form=>ty_subitem"); }
function $t_emlmX2FiYXBnaXRfaHRtbF9mb3JtLmludGYubWpz_3() { return abap.types.TableFactory.construct($t_emlmX2FiYXBnaXRfaHRtbF9mb3JtLmludGYubWpz_2(), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_html_form=>ty_subitems"); }
function $t_emlmX2FiYXBnaXRfaHRtbF9mb3JtLmludGYubWpz_4() { return new abap.types.Structure({
"type": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_HTML_FORM=>TY_FIELD-TYPE"}),
"name": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_HTML_FORM=>TY_FIELD-NAME"}),
"label": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_HTML_FORM=>TY_FIELD-LABEL"}),
"hint": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_HTML_FORM=>TY_FIELD-HINT"}),
"dblclick": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_HTML_FORM=>TY_FIELD-DBLCLICK"}),
"click": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_HTML_FORM=>TY_FIELD-CLICK"}),
"placeholder": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_HTML_FORM=>TY_FIELD-PLACEHOLDER"}),
"required": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_HTML_FORM=>TY_FIELD-REQUIRED"}),
"upper_case": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
"item_class": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_HTML_FORM=>TY_FIELD-ITEM_CLASS"}),
"error": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_HTML_FORM=>TY_FIELD-ERROR"}),
"default_value": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_HTML_FORM=>TY_FIELD-DEFAULT_VALUE"}),
"side_action": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_HTML_FORM=>TY_FIELD-SIDE_ACTION"}),
"subitems": $t_emlmX2FiYXBnaXRfaHRtbF9mb3JtLmludGYubWpz_3(),
"readonly": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
"password": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
"condense": new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}),
"min": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_HTML_FORM=>TY_FIELD-MIN"}),
"max": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_HTML_FORM=>TY_FIELD-MAX"}),
"rows": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_HTML_FORM=>TY_FIELD-ROWS"}),
"cols": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_HTML_FORM=>TY_FIELD-COLS"})}, "zif_abapgit_html_form=>ty_field"); }
// zif_abapgit_html_form.intf.abap
class zif_abapgit_html_form {
  static INTERNAL_TYPE = 'INTF';
  static INTERNAL_NAME = 'ZIF_ABAPGIT_HTML_FORM';
  static ATTRIBUTES = {"C_ROWS": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "visibility": "U", "is_constant": "X", "is_class": "X"},
  "C_CMD_TYPE": {"type": () => {return $t_emlmX2FiYXBnaXRfaHRtbF9mb3JtLmludGYubWpz_0();}, "visibility": "U", "is_constant": "X", "is_class": "X"},
  "C_FIELD_TYPE": {"type": () => {return $t_emlmX2FiYXBnaXRfaHRtbF9mb3JtLmludGYubWpz_1();}, "visibility": "U", "is_constant": "X", "is_class": "X"}};
  static METHODS = {};
}
abap.Classes['ZIF_ABAPGIT_HTML_FORM'] = zif_abapgit_html_form;
zif_abapgit_html_form.zif_abapgit_html_form$c_rows = new abap.types.String({qualifiedName: "STRING"});
zif_abapgit_html_form.zif_abapgit_html_form$c_rows.set('rows');
zif_abapgit_html_form.zif_abapgit_html_form$c_cmd_type = $t_emlmX2FiYXBnaXRfaHRtbF9mb3JtLmludGYubWpz_0();
zif_abapgit_html_form.zif_abapgit_html_form$c_cmd_type.get().input.set(1);
zif_abapgit_html_form.zif_abapgit_html_form$c_cmd_type.get().input_main.set(2);
zif_abapgit_html_form.zif_abapgit_html_form$c_cmd_type.get().link.set(3);
zif_abapgit_html_form.zif_abapgit_html_form$c_cmd_type.get().button.set(4);
zif_abapgit_html_form.zif_abapgit_html_form$c_field_type = $t_emlmX2FiYXBnaXRfaHRtbF9mb3JtLmludGYubWpz_1();
zif_abapgit_html_form.zif_abapgit_html_form$c_field_type.get().text.set(1);
zif_abapgit_html_form.zif_abapgit_html_form$c_field_type.get().radio.set(2);
zif_abapgit_html_form.zif_abapgit_html_form$c_field_type.get().checkbox.set(3);
zif_abapgit_html_form.zif_abapgit_html_form$c_field_type.get().field_group.set(4);
zif_abapgit_html_form.zif_abapgit_html_form$c_field_type.get().number.set(5);
zif_abapgit_html_form.zif_abapgit_html_form$c_field_type.get().textarea.set(6);
zif_abapgit_html_form.zif_abapgit_html_form$c_field_type.get().table.set(7);
zif_abapgit_html_form.zif_abapgit_html_form$c_field_type.get().hidden.set(8);
zif_abapgit_html_form.zif_abapgit_html_form$c_field_type.get().icon.set(9);
zif_abapgit_html_form.zif_abapgit_html_form$c_field_type.get().freetext.set(10);
zif_abapgit_html_form.ty_subitem = $t_emlmX2FiYXBnaXRfaHRtbF9mb3JtLmludGYubWpz_2();
zif_abapgit_html_form.ty_subitems = $t_emlmX2FiYXBnaXRfaHRtbF9mb3JtLmludGYubWpz_3();
zif_abapgit_html_form.ty_field = $t_emlmX2FiYXBnaXRfaHRtbF9mb3JtLmludGYubWpz_4();
zif_abapgit_html_form.ty_fields = abap.types.TableFactory.construct($t_emlmX2FiYXBnaXRfaHRtbF9mb3JtLmludGYubWpz_4(), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[{"name":"by_name","type":"SORTED","isUnique":true,"keyFields":["NAME"]}]}, "zif_abapgit_html_form=>ty_fields");
zif_abapgit_html_form.ty_command = new abap.types.Structure({
"label": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_HTML_FORM=>TY_COMMAND-LABEL"}),
"action": new abap.types.String({qualifiedName: "ZIF_ABAPGIT_HTML_FORM=>TY_COMMAND-ACTION"}),
"cmd_type": new abap.types.Integer({qualifiedName: "ZIF_ABAPGIT_HTML_FORM=>TY_COMMAND-CMD_TYPE"})}, "zif_abapgit_html_form=>ty_command");
export {zif_abapgit_html_form};