All files / output zif_abapgit_html_form.intf.mjs

89.91% Statements 107/119
100% Branches 2/2
25% Functions 1/4
89.91% Lines 107/119

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 1191x 1x 1x 1x 1x 1x       1x 1x                   1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 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
// 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 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"})}, undefined, undefined, {}, {});}, "visibility": "U", "is_constant": "X", "is_class": "X"},
  "C_FIELD_TYPE": {"type": () => {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"})}, undefined, undefined, {}, {});}, "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 = 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"})}, undefined, undefined, {}, {});
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 = 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"})}, undefined, undefined, {}, {});
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 = 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", undefined, {}, {});
zif_abapgit_html_form.ty_subitems = abap.types.TableFactory.construct(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", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_html_form=>ty_subitems");
zif_abapgit_html_form.ty_field = 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": abap.types.TableFactory.construct(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", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_html_form=>ty_subitems"),
"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", undefined, {}, {});
zif_abapgit_html_form.ty_fields = abap.types.TableFactory.construct(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": abap.types.TableFactory.construct(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", undefined, {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_html_form=>ty_subitems"),
"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", undefined, {}, {}), {"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", undefined, {}, {});
export {zif_abapgit_html_form};