mirror of
https://github.com/abap2UI5/abap2UI5.git
synced 2025-04-29 02:58:20 +08:00
[create-pull-request] automated change (#1766)
Co-authored-by: oblomov-dev <oblomov-dev@users.noreply.github.com>
This commit is contained in:
parent
e1f057f73b
commit
16d8966a80
|
@ -23,7 +23,7 @@ CLASS ltcl_test IMPLEMENTATION.
|
||||||
|
|
||||||
lo_draft->create( draft = VALUE #( id = `TEST_ID` )
|
lo_draft->create( draft = VALUE #( id = `TEST_ID` )
|
||||||
model_xml = `my xml`
|
model_xml = `my xml`
|
||||||
).
|
).
|
||||||
|
|
||||||
DATA(ls_db) = lo_draft->read_draft( `TEST_ID` ).
|
DATA(ls_db) = lo_draft->read_draft( `TEST_ID` ).
|
||||||
|
|
||||||
|
|
|
@ -52,7 +52,7 @@ CLASS z2ui5_cl_core_handler IMPLEMENTATION.
|
||||||
|
|
||||||
result = VALUE #( body = mv_response
|
result = VALUE #( body = mv_response
|
||||||
s_stateful = ms_response-s_front-params-s_stateful
|
s_stateful = ms_response-s_front-params-s_stateful
|
||||||
).
|
).
|
||||||
|
|
||||||
ENDMETHOD.
|
ENDMETHOD.
|
||||||
|
|
||||||
|
@ -86,15 +86,15 @@ CLASS z2ui5_cl_core_handler IMPLEMENTATION.
|
||||||
).
|
).
|
||||||
|
|
||||||
IF ms_response-s_front-params-s_view-check_update_model = abap_true
|
IF ms_response-s_front-params-s_view-check_update_model = abap_true
|
||||||
OR ms_response-s_front-params-s_view_nest-check_update_model = abap_true
|
OR ms_response-s_front-params-s_view_nest-check_update_model = abap_true
|
||||||
OR ms_response-s_front-params-s_view_nest2-check_update_model = abap_true
|
OR ms_response-s_front-params-s_view_nest2-check_update_model = abap_true
|
||||||
OR ms_response-s_front-params-s_popup-check_update_model = abap_true
|
OR ms_response-s_front-params-s_popup-check_update_model = abap_true
|
||||||
OR ms_response-s_front-params-s_popover-check_update_model = abap_true
|
OR ms_response-s_front-params-s_popover-check_update_model = abap_true
|
||||||
OR ms_response-s_front-params-s_view-xml IS NOT INITIAL
|
OR ms_response-s_front-params-s_view-xml IS NOT INITIAL
|
||||||
OR ms_response-s_front-params-s_view_nest-xml IS NOT INITIAL
|
OR ms_response-s_front-params-s_view_nest-xml IS NOT INITIAL
|
||||||
OR ms_response-s_front-params-s_view_nest2-xml IS NOT INITIAL
|
OR ms_response-s_front-params-s_view_nest2-xml IS NOT INITIAL
|
||||||
OR ms_response-s_front-params-s_popup-xml IS NOT INITIAL
|
OR ms_response-s_front-params-s_popup-xml IS NOT INITIAL
|
||||||
OR ms_response-s_front-params-s_popover-xml IS NOT INITIAL.
|
OR ms_response-s_front-params-s_popover-xml IS NOT INITIAL.
|
||||||
|
|
||||||
DATA(lo_model) = NEW z2ui5_cl_core_srv_attri( attri = mo_action->mo_app->mt_attri
|
DATA(lo_model) = NEW z2ui5_cl_core_srv_attri( attri = mo_action->mo_app->mt_attri
|
||||||
app = mo_action->mo_app->mo_app ).
|
app = mo_action->mo_app->mo_app ).
|
||||||
|
|
|
@ -199,8 +199,8 @@ CLASS z2ui5_cl_core_srv_attri IMPLEMENTATION.
|
||||||
WHERE o_typedescr IS BOUND.
|
WHERE o_typedescr IS BOUND.
|
||||||
|
|
||||||
IF lr_attri->o_typedescr->kind <> cl_abap_typedescr=>kind_elem
|
IF lr_attri->o_typedescr->kind <> cl_abap_typedescr=>kind_elem
|
||||||
AND lr_attri->o_typedescr->kind <> cl_abap_typedescr=>kind_struct
|
AND lr_attri->o_typedescr->kind <> cl_abap_typedescr=>kind_struct
|
||||||
AND lr_attri->o_typedescr->kind <> cl_abap_typedescr=>kind_table.
|
AND lr_attri->o_typedescr->kind <> cl_abap_typedescr=>kind_table.
|
||||||
CONTINUE.
|
CONTINUE.
|
||||||
ENDIF.
|
ENDIF.
|
||||||
|
|
||||||
|
|
|
@ -99,7 +99,7 @@ CLASS z2ui5_cl_core_srv_json IMPLEMENTATION.
|
||||||
|
|
||||||
CASE lr_attri->bind_type.
|
CASE lr_attri->bind_type.
|
||||||
WHEN z2ui5_if_core_types=>cs_bind_type-one_way
|
WHEN z2ui5_if_core_types=>cs_bind_type-one_way
|
||||||
OR z2ui5_if_core_types=>cs_bind_type-two_way.
|
OR z2ui5_if_core_types=>cs_bind_type-two_way.
|
||||||
|
|
||||||
ASSIGN lr_attri->r_ref->* TO FIELD-SYMBOL(<attribute>).
|
ASSIGN lr_attri->r_ref->* TO FIELD-SYMBOL(<attribute>).
|
||||||
IF sy-subrc <> 0.
|
IF sy-subrc <> 0.
|
||||||
|
|
|
@ -53,7 +53,7 @@ CLASS z2ui5_cl_pop_get_range IMPLEMENTATION.
|
||||||
|
|
||||||
z2ui5_cl_util=>itab_corresponding( EXPORTING val = t_range
|
z2ui5_cl_util=>itab_corresponding( EXPORTING val = t_range
|
||||||
CHANGING tab = r_result->ms_result-t_range
|
CHANGING tab = r_result->ms_result-t_range
|
||||||
).
|
).
|
||||||
|
|
||||||
INSERT VALUE #( ) INTO TABLE r_result->ms_result-t_range.
|
INSERT VALUE #( ) INTO TABLE r_result->ms_result-t_range.
|
||||||
|
|
||||||
|
|
|
@ -64,7 +64,7 @@ CLASS z2ui5_cl_pop_js_loader IMPLEMENTATION.
|
||||||
|
|
||||||
IF js IS NOT INITIAL.
|
IF js IS NOT INITIAL.
|
||||||
popup->_z2ui5( )->timer( client->_event( 'TIMER_FINISHED' )
|
popup->_z2ui5( )->timer( client->_event( 'TIMER_FINISHED' )
|
||||||
)->_generic( ns = `html`
|
)->_generic( ns = `html`
|
||||||
name = `script` )->_cc_plain_xml( js ).
|
name = `script` )->_cc_plain_xml( js ).
|
||||||
ENDIF.
|
ENDIF.
|
||||||
|
|
||||||
|
|
|
@ -145,8 +145,8 @@ CLASS z2ui5_cl_http_handler IMPLEMENTATION.
|
||||||
|
|
||||||
IF is_config-content_security_policy IS INITIAL.
|
IF is_config-content_security_policy IS INITIAL.
|
||||||
is_config-content_security_policy = |<meta http-equiv="Content-Security-Policy" content="default-src 'self' 'unsafe-inline' 'unsafe-eval' data: | &&
|
is_config-content_security_policy = |<meta http-equiv="Content-Security-Policy" content="default-src 'self' 'unsafe-inline' 'unsafe-eval' data: | &&
|
||||||
|ui5.sap.com *.ui5.sap.com sapui5.hana.ondemand.com *.sapui5.hana.ondemand.com openui5.hana.ondemand.com *.openui5.hana.ondemand.com | &&
|
|ui5.sap.com *.ui5.sap.com sapui5.hana.ondemand.com *.sapui5.hana.ondemand.com openui5.hana.ondemand.com *.openui5.hana.ondemand.com | &&
|
||||||
|sdk.openui5.org *.sdk.openui5.org cdn.jsdelivr.net *.cdn.jsdelivr.net cdnjs.cloudflare.com *.cdnjs.cloudflare.com schemas *.schemas; worker-src 'self' blob:; "/>|.
|
|sdk.openui5.org *.sdk.openui5.org cdn.jsdelivr.net *.cdn.jsdelivr.net cdnjs.cloudflare.com *.cdnjs.cloudflare.com schemas *.schemas; worker-src 'self' blob:; "/>|.
|
||||||
ENDIF.
|
ENDIF.
|
||||||
|
|
||||||
IF is_config-styles_css IS INITIAL.
|
IF is_config-styles_css IS INITIAL.
|
||||||
|
@ -290,7 +290,7 @@ CLASS z2ui5_cl_http_handler IMPLEMENTATION.
|
||||||
DATA(lo_handler) = factory( server = server
|
DATA(lo_handler) = factory( server = server
|
||||||
req = req
|
req = req
|
||||||
res = res
|
res = res
|
||||||
).
|
).
|
||||||
|
|
||||||
result-body = lo_handler->mo_server->get_cdata( ).
|
result-body = lo_handler->mo_server->get_cdata( ).
|
||||||
result-method = lo_handler->mo_server->get_method( ).
|
result-method = lo_handler->mo_server->get_method( ).
|
||||||
|
@ -302,7 +302,7 @@ CLASS z2ui5_cl_http_handler IMPLEMENTATION.
|
||||||
DATA(lo_handler) = factory( server = server
|
DATA(lo_handler) = factory( server = server
|
||||||
req = req
|
req = req
|
||||||
res = res
|
res = res
|
||||||
).
|
).
|
||||||
|
|
||||||
lo_handler->mo_server->set_cdata( is_res-body ).
|
lo_handler->mo_server->set_cdata( is_res-body ).
|
||||||
lo_handler->mo_server->set_header_field( n = `cache-control`
|
lo_handler->mo_server->set_header_field( n = `cache-control`
|
||||||
|
|
|
@ -11039,30 +11039,30 @@ CLASS z2ui5_cl_xml_view IMPLEMENTATION.
|
||||||
DATA(lv_vizproperties) = ``.
|
DATA(lv_vizproperties) = ``.
|
||||||
IF vizproperties IS INITIAL.
|
IF vizproperties IS INITIAL.
|
||||||
lv_vizproperties = `{` && |\n| &&
|
lv_vizproperties = `{` && |\n| &&
|
||||||
`"plotArea": {` && |\n| &&
|
`"plotArea": {` && |\n| &&
|
||||||
`"dataLabel": {` && |\n| &&
|
`"dataLabel": {` && |\n| &&
|
||||||
`"formatString": "",` && |\n| &&
|
`"formatString": "",` && |\n| &&
|
||||||
`"visible": false` && |\n| &&
|
`"visible": false` && |\n| &&
|
||||||
`}` && |\n| &&
|
`}` && |\n| &&
|
||||||
`},` && |\n| &&
|
`},` && |\n| &&
|
||||||
`"valueAxis": {` && |\n| &&
|
`"valueAxis": {` && |\n| &&
|
||||||
`"label": {` && |\n| &&
|
`"label": {` && |\n| &&
|
||||||
`"formatString": ""` && |\n| &&
|
`"formatString": ""` && |\n| &&
|
||||||
`},` && |\n| &&
|
`},` && |\n| &&
|
||||||
`"title": {` && |\n| &&
|
`"title": {` && |\n| &&
|
||||||
`"visible": false` && |\n| &&
|
`"visible": false` && |\n| &&
|
||||||
`}` && |\n| &&
|
`}` && |\n| &&
|
||||||
`},` && |\n| &&
|
`},` && |\n| &&
|
||||||
`"categoryAxis": {` && |\n| &&
|
`"categoryAxis": {` && |\n| &&
|
||||||
`"title": {` && |\n| &&
|
`"title": {` && |\n| &&
|
||||||
`"visible": false` && |\n| &&
|
`"visible": false` && |\n| &&
|
||||||
`}` && |\n| &&
|
`}` && |\n| &&
|
||||||
`},` && |\n| &&
|
`},` && |\n| &&
|
||||||
`"title": {` && |\n| &&
|
`"title": {` && |\n| &&
|
||||||
`"visible": false,` && |\n| &&
|
`"visible": false,` && |\n| &&
|
||||||
`"text": ""` && |\n| &&
|
`"text": ""` && |\n| &&
|
||||||
`}` && |\n| &&
|
`}` && |\n| &&
|
||||||
`}`.
|
`}`.
|
||||||
ELSE.
|
ELSE.
|
||||||
lv_vizproperties = vizproperties.
|
lv_vizproperties = vizproperties.
|
||||||
ENDIF.
|
ENDIF.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user