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` )
|
||||
model_xml = `my xml`
|
||||
).
|
||||
).
|
||||
|
||||
DATA(ls_db) = lo_draft->read_draft( `TEST_ID` ).
|
||||
|
||||
|
|
|
@ -52,7 +52,7 @@ CLASS z2ui5_cl_core_handler IMPLEMENTATION.
|
|||
|
||||
result = VALUE #( body = mv_response
|
||||
s_stateful = ms_response-s_front-params-s_stateful
|
||||
).
|
||||
).
|
||||
|
||||
ENDMETHOD.
|
||||
|
||||
|
@ -86,15 +86,15 @@ CLASS z2ui5_cl_core_handler IMPLEMENTATION.
|
|||
).
|
||||
|
||||
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_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_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_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_popup-xml IS NOT INITIAL
|
||||
OR ms_response-s_front-params-s_popover-xml IS NOT INITIAL.
|
||||
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_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_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_nest2-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.
|
||||
|
||||
DATA(lo_model) = NEW z2ui5_cl_core_srv_attri( attri = mo_action->mo_app->mt_attri
|
||||
app = mo_action->mo_app->mo_app ).
|
||||
|
|
|
@ -199,8 +199,8 @@ CLASS z2ui5_cl_core_srv_attri IMPLEMENTATION.
|
|||
WHERE o_typedescr IS BOUND.
|
||||
|
||||
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_table.
|
||||
AND lr_attri->o_typedescr->kind <> cl_abap_typedescr=>kind_struct
|
||||
AND lr_attri->o_typedescr->kind <> cl_abap_typedescr=>kind_table.
|
||||
CONTINUE.
|
||||
ENDIF.
|
||||
|
||||
|
|
|
@ -99,7 +99,7 @@ CLASS z2ui5_cl_core_srv_json IMPLEMENTATION.
|
|||
|
||||
CASE lr_attri->bind_type.
|
||||
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>).
|
||||
IF sy-subrc <> 0.
|
||||
|
|
|
@ -53,7 +53,7 @@ CLASS z2ui5_cl_pop_get_range IMPLEMENTATION.
|
|||
|
||||
z2ui5_cl_util=>itab_corresponding( EXPORTING val = t_range
|
||||
CHANGING tab = 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.
|
||||
popup->_z2ui5( )->timer( client->_event( 'TIMER_FINISHED' )
|
||||
)->_generic( ns = `html`
|
||||
)->_generic( ns = `html`
|
||||
name = `script` )->_cc_plain_xml( js ).
|
||||
ENDIF.
|
||||
|
||||
|
|
|
@ -145,8 +145,8 @@ CLASS z2ui5_cl_http_handler IMPLEMENTATION.
|
|||
|
||||
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: | &&
|
||||
|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:; "/>|.
|
||||
|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:; "/>|.
|
||||
ENDIF.
|
||||
|
||||
IF is_config-styles_css IS INITIAL.
|
||||
|
@ -290,7 +290,7 @@ CLASS z2ui5_cl_http_handler IMPLEMENTATION.
|
|||
DATA(lo_handler) = factory( server = server
|
||||
req = req
|
||||
res = res
|
||||
).
|
||||
).
|
||||
|
||||
result-body = lo_handler->mo_server->get_cdata( ).
|
||||
result-method = lo_handler->mo_server->get_method( ).
|
||||
|
@ -302,7 +302,7 @@ CLASS z2ui5_cl_http_handler IMPLEMENTATION.
|
|||
DATA(lo_handler) = factory( server = server
|
||||
req = req
|
||||
res = res
|
||||
).
|
||||
).
|
||||
|
||||
lo_handler->mo_server->set_cdata( is_res-body ).
|
||||
lo_handler->mo_server->set_header_field( n = `cache-control`
|
||||
|
|
|
@ -11039,30 +11039,30 @@ CLASS z2ui5_cl_xml_view IMPLEMENTATION.
|
|||
DATA(lv_vizproperties) = ``.
|
||||
IF vizproperties IS INITIAL.
|
||||
lv_vizproperties = `{` && |\n| &&
|
||||
`"plotArea": {` && |\n| &&
|
||||
`"plotArea": {` && |\n| &&
|
||||
`"dataLabel": {` && |\n| &&
|
||||
`"formatString": "",` && |\n| &&
|
||||
`"visible": false` && |\n| &&
|
||||
`}` && |\n| &&
|
||||
`},` && |\n| &&
|
||||
`"valueAxis": {` && |\n| &&
|
||||
`},` && |\n| &&
|
||||
`"valueAxis": {` && |\n| &&
|
||||
`"label": {` && |\n| &&
|
||||
`"formatString": ""` && |\n| &&
|
||||
`},` && |\n| &&
|
||||
`"title": {` && |\n| &&
|
||||
`"visible": false` && |\n| &&
|
||||
`}` && |\n| &&
|
||||
`},` && |\n| &&
|
||||
`"categoryAxis": {` && |\n| &&
|
||||
`},` && |\n| &&
|
||||
`"categoryAxis": {` && |\n| &&
|
||||
`"title": {` && |\n| &&
|
||||
`"visible": false` && |\n| &&
|
||||
`}` && |\n| &&
|
||||
`},` && |\n| &&
|
||||
`"title": {` && |\n| &&
|
||||
`},` && |\n| &&
|
||||
`"title": {` && |\n| &&
|
||||
`"visible": false,` && |\n| &&
|
||||
`"text": ""` && |\n| &&
|
||||
`}` && |\n| &&
|
||||
`}`.
|
||||
`}` && |\n| &&
|
||||
`}`.
|
||||
ELSE.
|
||||
lv_vizproperties = vizproperties.
|
||||
ENDIF.
|
||||
|
|
Loading…
Reference in New Issue
Block a user