Commit Graph

49 Commits

Author SHA1 Message Date
Christian Wildt
0b1a3de959
Return parent at avatarGroupItem (#1645) 2024-12-12 12:58:04 +01:00
Christian Wildt
3813512021
Added AvatarGroup (#1637)
Some checks are pending
build_downport / build_downport (push) Waiting to run
build_frontend_classic / build_frontend_classic (push) Waiting to run
build_frontend_cloud / build_frontend_cloud (push) Waiting to run
js_transform / Code-Cleanup (push) Waiting to run
ui5lint / test (push) Waiting to run
2024-12-11 18:58:49 +01:00
oblomov-dev
fc18b6c1e0
rename annotation uri (#1635)
Some checks are pending
build_downport / build_downport (push) Waiting to run
build_frontend_classic / build_frontend_classic (push) Waiting to run
build_frontend_cloud / build_frontend_cloud (push) Waiting to run
js_transform / Code-Cleanup (push) Waiting to run
ui5lint / test (push) Waiting to run
* rename annotation uri

* Update src/02/z2ui5_if_client.intf.abap

Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>

* Update src/02/z2ui5_if_client.intf.abap

Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>

---------

Co-authored-by: oblomov-dev@outlook.com <>
Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
2024-12-11 13:13:17 +01:00
Oliver Bluhm
375135463f
New parameter for breadcrumbs (#1634)
* New parameter for breadcrumbs

* Update src/02/z2ui5_cl_xml_view.clas.abap

Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>

---------

Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
2024-12-11 12:22:01 +01:00
Michael Zinnöcker
26f4796b19
SmartMultiInput Enablement (#1630)
* SmartMultiInput Enablement

- added SmartMultiInput to View
- added SmartMultiInput extension for rangeData/token handling similar to MultiInput
- added annotationURI, as we also need the annotations from the backend
- demo in Z2UI5_CL_DEMO_APP_319

* Update App.controller.js

* Update View1.controller.js

---------

Co-authored-by: oblomov-dev <102328295+oblomov-dev@users.noreply.github.com>
2024-12-10 16:23:57 +01:00
oblomov-dev
b884c2ae1e
Tree (#1621)
* tree

* Update App.controller.js

* update

* update

* update
2024-12-10 14:34:56 +01:00
oblomov-dev
6cd6dc6938
abaplint fixes (#1615)
Some checks are pending
build_downport / build_downport (push) Waiting to run
build_frontend_classic / build_frontend_classic (push) Waiting to run
build_frontend_cloud / build_frontend_cloud (push) Waiting to run
js_transform / Code-Cleanup (push) Waiting to run
ui5lint / test (push) Waiting to run
* Update z2ui5_cl_xml_view.clas.abap

* Update z2ui5_cl_xml_view.clas.abap
2024-12-04 16:56:25 +01:00
oblomov-dev
a76cce856f
update (#1614) 2024-12-04 15:24:24 +01:00
Christian Günter
6c478d78f9
radio button: add visible property (#1610) 2024-12-03 17:51:34 +01:00
oblomov-dev
908434983e
viz control fixes (#1607) 2024-12-02 14:04:12 +01:00
oblomov-dev
6416c41bca
Smart controls test (#1606)
* smart controls test

* update

* Update src/01/03/z2ui5_cl_app_view1_js.clas.abap

Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>

* update

* update

* update

* update

* update

---------

Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
2024-12-02 12:13:51 +01:00
axelmohnen
062332d22b
New VizFrame Chart control (#1605)
* New VizFrame Chart control

List of methods:
VIZ_FRAME
VIZ_DATASET
VIZ_FLATTENED_DATASET
VIZ_DIMENSIONS
VIZ_DIMENSION_DEFINITION
VIZ_MEASURES
VIZ_MEASURE_DEFINITION
VIZ_FEEDS
VIZ_FEED_ITEM

* New VizFrame Chart control

List of methods:
VIZ_FRAME
VIZ_DATASET
VIZ_FLATTENED_DATASET
VIZ_DIMENSIONS
VIZ_DIMENSION_DEFINITION
VIZ_MEASURES
VIZ_MEASURE_DEFINITION
VIZ_FEEDS
VIZ_FEED_ITEM

* New VizFrame Chart control

List of methods:
VIZ_FRAME
VIZ_DATASET
VIZ_FLATTENED_DATASET
VIZ_DIMENSIONS
VIZ_DIMENSION_DEFINITION
VIZ_MEASURES
VIZ_MEASURE_DEFINITION
VIZ_FEEDS
VIZ_FEED_ITEM

Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>

* New VizFrame Chart control

List of methods:
VIZ_FRAME
VIZ_DATASET
VIZ_FLATTENED_DATASET
VIZ_DIMENSIONS
VIZ_DIMENSION_DEFINITION
VIZ_MEASURES
VIZ_MEASURE_DEFINITION
VIZ_FEEDS
VIZ_FEED_ITEM

Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>

* New VizFrame Chart control

List of methods:
VIZ_FRAME
VIZ_DATASET
VIZ_FLATTENED_DATASET
VIZ_DIMENSIONS
VIZ_DIMENSION_DEFINITION
VIZ_MEASURES
VIZ_MEASURE_DEFINITION
VIZ_FEEDS
VIZ_FEED_ITEM

Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>

* New VizFrame Chart control

List of methods:
VIZ_FRAME
VIZ_DATASET
VIZ_FLATTENED_DATASET
VIZ_DIMENSIONS
VIZ_DIMENSION_DEFINITION
VIZ_MEASURES
VIZ_MEASURE_DEFINITION
VIZ_FEEDS
VIZ_FEED_ITEM

* New VizFrame Chart control

List of methods:
VIZ_FRAME
VIZ_DATASET
VIZ_FLATTENED_DATASET
VIZ_DIMENSIONS
VIZ_DIMENSION_DEFINITION
VIZ_MEASURES
VIZ_MEASURE_DEFINITION
VIZ_FEEDS
VIZ_FEED_ITEM

---------

Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
2024-12-02 10:49:15 +01:00
ABAP for years :)
f9375fba19
Properties for Spot (#1596)
Some checks are pending
build_downport / build_downport (push) Waiting to run
build_frontend_classic / build_frontend_classic (push) Waiting to run
build_frontend_cloud / build_frontend_cloud (push) Waiting to run
js_transform / Code-Cleanup (push) Waiting to run
ui5lint / test (push) Waiting to run
Co-authored-by: oblomov-dev <102328295+oblomov-dev@users.noreply.github.com>
2024-11-30 02:36:01 +01:00
ABAP for years :)
782a45742e
Correction of comparison_micro_chart and add comparison_micro_chart_data (#1595)
* Correction of comparison_micro_chart and add comparison_micro_chart_data

Addition and correction comparison_micro_chart 

Sample
  DATA(lo_comparison) = page->comparison_micro_chart(
*  EXPORTING
*                                                           colorpalette =
*                                                           press    =
                                                           size     = 'L'
*                                                           height   =
                                                           maxvalue = '100'
*                                                           minvalue =
*                                                           scale    =
*                                                           width    =
*                                                           hideonnodata =
*                                                           shrinkable =
*                                                           view     =
*  RECEIVING
*                                                           result   =
    ).

    lo_comparison->comparison_micro_chart_data( color = 'Good'
*                                                press =
*                                                displayvalue =
                                                title = 'Best'
                                                value = '99'
*  RECEIVING
*                                                result =
    ).

    lo_comparison->comparison_micro_chart_data( color = 'Good'
*                                                press =
*                                                displayvalue =
                                                title = 'Current'
                                                value = '80'
*  RECEIVING
*                                                result =
    ).

* line correction

---------

Co-authored-by: oblomov-dev <102328295+oblomov-dev@users.noreply.github.com>
2024-11-30 02:35:04 +01:00
ABAP for years :)
28b8666565
Properties for analytic_map (#1594)
* Properties for analytic_map

Properties for analytic_map

* Update src/02/z2ui5_cl_xml_view.clas.abap

Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>

* Update src/02/z2ui5_cl_xml_view.clas.abap

Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>

* Update src/02/z2ui5_cl_xml_view.clas.abap

Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>

* Update src/02/z2ui5_cl_xml_view.clas.abap

Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>

---------

Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
2024-11-30 02:34:07 +01:00
ABAP for years :)
f51f1d853d
MapContainer - ShowHome Parameter (#1593)
added property
2024-11-29 15:41:17 +01:00
Christian Wildt
8bc645fb74
Added parameters to GridBoxLayout & GridListItem (#1591)
Some checks failed
build_downport / build_downport (push) Has been cancelled
build_frontend_classic / build_frontend_classic (push) Has been cancelled
build_frontend_cloud / build_frontend_cloud (push) Has been cancelled
js_transform / Code-Cleanup (push) Has been cancelled
ui5lint / test (push) Has been cancelled
2024-11-28 15:14:59 +01:00
oblomov-dev
c9fea5d581
fix microchart (#1590) 2024-11-28 13:59:50 +01:00
ABAP for years :)
16c37ac766
HarveyBallMicroChartItem (#1589)
Some checks are pending
build_downport / build_downport (push) Waiting to run
build_frontend_classic / build_frontend_classic (push) Waiting to run
build_frontend_cloud / build_frontend_cloud (push) Waiting to run
js_transform / Code-Cleanup (push) Waiting to run
ui5lint / test (push) Waiting to run
2024-11-28 08:39:46 +01:00
Christian Wildt
43550ff667
Added GridList with Drag and Drop functionality (#1577)
Some checks are pending
build_downport / build_downport (push) Waiting to run
build_frontend_classic / build_frontend_classic (push) Waiting to run
build_frontend_cloud / build_frontend_cloud (push) Waiting to run
2024-11-26 08:00:37 +01:00
Christian Günter
69a742e9d3
small fix to be consistent with other boolean prop (#1559)
Co-authored-by: oblomov-dev <102328295+oblomov-dev@users.noreply.github.com>
2024-11-21 19:55:00 +01:00
ABAP for years :)
dd0121578e
Update z2ui5_cl_xml_view.clas.abap (#1554)
Some checks are pending
build_downport / build_downport (push) Waiting to run
build_frontend_classic / build_frontend_classic (push) Waiting to run
build_frontend_cloud / build_frontend_cloud (push) Waiting to run
* Update z2ui5_cl_xml_view.clas.abap

Visible Property to Label

* Update z2ui5_cl_xml_view.clas.abap

---------

Co-authored-by: oblomov-dev <102328295+oblomov-dev@users.noreply.github.com>
2024-11-21 15:37:01 +01:00
Christian Günter
c33f813c5f
add missing property to core_custom_data (#1553)
Co-authored-by: oblomov-dev <102328295+oblomov-dev@users.noreply.github.com>
2024-11-21 14:01:15 +01:00
Christian Wildt
aa51304d07
Added BarcodeScannerButton properties (#1538) 2024-11-14 13:37:17 +01:00
axelmohnen
0e5a100f10
New parameter for multi_input (#1535)
Some checks are pending
build_downport / build_downport (push) Waiting to run
build_frontend_classic / build_frontend_classic (push) Waiting to run
build_frontend_cloud / build_frontend_cloud (push) Waiting to run
New parameter for multi_input.
Parameter name: visible
2024-11-13 12:34:20 +01:00
Christian Wildt
674f4d5151
Added moreBlocks (#1528)
Some checks failed
build_downport / build_downport (push) Has been cancelled
build_frontend_classic / build_frontend_classic (push) Has been cancelled
build_frontend_cloud / build_frontend_cloud (push) Has been cancelled
2024-11-04 19:58:39 +01:00
oblomov-dev
088cff177b
Typos and formatting (#1525)
Some checks failed
build_downport / build_downport (push) Has been cancelled
build_frontend_classic / build_frontend_classic (push) Has been cancelled
build_frontend_cloud / build_frontend_cloud (push) Has been cancelled
* typos and formatting

* Update cleaner-profile.cfj
2024-10-29 04:59:41 +01:00
oblomov-dev
a0df28a4ab
Refactoring (#1519)
* refactoring

* update

* update

* update

* update

* update
2024-10-27 15:11:09 +01:00
Francisco Alcaraz
0c0849b578
fix typo (#1516) 2024-10-26 14:54:03 +02:00
Francisco Milán
1cde193dc4
Add "class" to "expandable_text" method (#1507) 2024-10-15 09:50:59 +02:00
Francisco Milán
0f02f90914
Add "color_palette" method (#1462) 2024-09-29 10:36:09 +02:00
Francisco Milán
68e47230a6
Add "endIcon" & "icon" to "link" method (#1459) 2024-09-25 22:11:24 +02:00
Francisco Milán
0537c6a109
Add methods "breadcrumbs" and "current_location" (#1457) 2024-09-25 18:20:53 +02:00
Francisco Milán
3e5f73d555
Add "enableformattedtext" to message_strip method. (#1451)
* Add "enableformattedtext" to message_strip method.

* Add "enableformattedtext" to message_strip method2

* Add "enableformattedtext" to message_strip method3

* Add "enableformattedtext" to message_strip method4
2024-09-25 08:48:48 +02:00
Francisco Milán
3a4192d3e0
Add "type" to method "object_list_item" (#1450) 2024-09-25 07:57:18 +02:00
oblomov-dev
ef4494bdb9
New UI5 frontend (#1443)
* Refactoring due to added Component support, slightly fixed session handl (#1439)

* Refactoring due to added Component support, slightly fixed session handl

* Update src/01/02/z2ui5_cl_core_http_get.clas.abap

Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>

---------

Co-authored-by: oblomov-dev <102328295+oblomov-dev@users.noreply.github.com>
Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>

* session fix + tokens

* update stateful error

* pagehide for ios devices, beforeunload for desktop and others (#1440)

* fixes

* fixes excpetions

* update

* lint fixes

* replaced root view with app for launchpad  compati

* fix missed latest changes in init - added again

* update index html

* update

* update app

* update

* Update src/01/02/z2ui5_cl_core_http_get.clas.locals_imp.abap

Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>

* Update src/01/02/z2ui5_cl_core_http_get.clas.locals_imp.abap

Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>

* fixes

* lint fixes

* update

* Update src/01/02/z2ui5_cl_core_app.clas.abap

Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>

* Update changelog.txt

* update

* Update src/01/02/z2ui5_cl_core_app.clas.abap

Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>

---------

Co-authored-by: Michael Zinnöcker <29286643+mzinnoecker@users.noreply.github.com>
Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
2024-09-22 13:53:11 +02:00
Francisco Milán
1c3d88fa6a
Add missing parameters to method "step_input" (#1441) 2024-09-22 09:54:09 +02:00
oblomov-dev
1fba55457c
session-stickyness (#1435)
* Added Component and Session Stateful (#1433)

- Added Component support (TODO refactoring sap.z2ui5 and view handling -> instead of .placeAt use mainView of component manifest)
- Added Session Stateful support

*add the following lines to your REST handler in order to support stateful session handling*
'''abap
    if attributes-stateful-switched = abap_true.
      server->set_session_stateful( stateful = attributes-stateful-active ).
    endif.
'''

And here is an ABAP example class for testing session handling
'''abap
"! <p class="shorttext synchronized" lang="en">Session Demo</p>
class z2ui5_cl_demo_app_session definition
  public
  create public.

  public section.
    interfaces z2ui5_if_app.
    data instance_counter type i read-only.
    data check_initialized type abap_bool read-only.
    data session_is_stateful type abap_bool read-only.
    data session_text type string read-only.
  protected section.
  private section.
    methods initialize_view
      importing
        client type ref to z2ui5_if_client.
    methods on_event
      importing
        client type ref to z2ui5_if_client.

    methods set_session_stateful
      importing
        client   type ref to z2ui5_if_client
        stateful type abap_bool.
endclass.

class z2ui5_cl_demo_app_session implementation.
  method z2ui5_if_app~main.
    if check_initialized = abap_false.
      check_initialized = abap_true.
      initialize_view( client ).
    endif.

    on_event( client ).
  endmethod.

  method initialize_view.
    set_session_stateful( client = client stateful = abap_true ).

    data(view) = z2ui5_cl_xml_view=>factory( ).

    data(page) = view->shell( )->page(
      title          = `abap2UI5 - Sample: Sticky Session`
      navbuttonpress = client->_event( 'BACK' )
      shownavbutton  = xsdbool( client->get( )-s_draft-id_prev_app_stack is not initial ) ).

    data(vbox) = page->vbox( ).
    vbox->info_label( text = client->_bind( session_text ) ).

    data(hbox) = vbox->hbox( alignitems = 'Center' ).
    hbox->label( text = 'press button to increment counter in backend session' class = 'sapUiTinyMarginEnd' ).
    hbox->button(
      text  = client->_bind( instance_counter )
      press = client->_event( 'INCREMENT' )
      type = 'Emphasized' ).

    hbox = vbox->hbox( ).
    hbox->button(
      text  = 'End session'
      press = client->_event( 'END_SESSION' ) ).

    hbox->button(
      text  = 'Start session again'
      press = client->_event( 'START_SESSION' ) ).

    client->view_display( view->stringify( ) ).
  endmethod.

  method on_event.
    case client->get( )-event.
      when 'BACK'.
        client->nav_app_leave( ).
      when 'INCREMENT'.
        instance_counter = lcl_static_container=>increment( ).
        client->view_model_update( ).
      when 'END_SESSION'.
        set_session_stateful( client = client stateful = abap_false ).
      when 'START_SESSION'.
        set_session_stateful( client = client stateful = abap_true ).
    endcase.
  endmethod.

  method set_session_stateful.
    client->set_session_stateful( stateful ).
    session_is_stateful = stateful.
    if stateful = abap_true.
      session_text = 'Session ON (stateful)'.
    else.
      session_text = 'Session OFF (stateless)'.
    endif.
    client->view_model_update( ).
  endmethod.
endclass.
'''

* Update z2ui5_cl_core_http_get.clas.abap (#1434)

updated to reflect latest changes (sorry some local changes were los)

* lint fix

* lint fix

* xml fix

---------

Co-authored-by: Michael Zinnöcker <29286643+mzinnoecker@users.noreply.github.com>
2024-09-16 16:45:41 +02:00
Francisco Milán
c83640913d
Preparation for new Demo Flexible sizing - Toolbar (#1419)
* Preparation for new Demo Flexible sizing - Toolbar

* Preparation for new Demo (2)

* Preparation for new Demo (3)

* Preparation for new Demo (4)

* Preparation for new Demo (5)
2024-09-12 09:15:33 +02:00
oblomov-dev
83fcc9604f
fix namespaces (#1415) 2024-09-11 15:34:46 +02:00
Christian Günter
430db60fdd
add class property to table (#1412) 2024-09-11 15:04:57 +02:00
oblomov-dev
fddf31e8b1
update setSizeLimit (#1398)
* update setSizeLimit

* Update src/02/z2ui5_cl_xml_view.clas.abap

Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>

* update

---------

Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
2024-09-09 20:00:41 +02:00
oblomov-dev
05a05eb03f
fix binding with invalid dates and time (#1373)
Some checks failed
build_downport / build_downport (push) Has been cancelled
* fix binding with invalid dates and time

* update

* update
2024-09-05 10:41:19 +02:00
Francisco Milán
2ee262de29
selected_key as OPTIONAL - method segmented_button (#1370) 2024-09-05 06:57:13 +02:00
oblomov-dev
a93dd6fc16
Update abaplint.jsonc (#1367)
* Update abaplint.jsonc

* Update abaplint.jsonc

* Update abaplint.jsonc

* update

* update
2024-09-04 22:10:48 +02:00
oblomov-dev
58f9a80553
Cleanup (#1362)
Some checks are pending
build_downport / build_downport (push) Waiting to run
* cleanup

* update

* update

* update links
2024-09-04 10:20:58 +02:00
ABAP for years :)
3df6f3b3c0
Progress Indicator Property Visibility (#1359)
Some checks are pending
build_downport / build_downport (push) Waiting to run
* Progress Indicator Property Visibility

Addes Progress Indicator Property Visibility

* Update src/02/z2ui5_cl_xml_view.clas.abap

Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>

* Update src/02/z2ui5_cl_xml_view.clas.abap

Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>

* renamed zqmcafw_cl_util  to z2ui5_cl_util

---------

Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
Co-authored-by: oblomov-dev <102328295+oblomov-dev@users.noreply.github.com>
2024-09-03 09:48:54 +02:00
Francisco Milán
eb07345650
Add 4 parameters to method "header_container" (#1356)
Some checks are pending
build_downport / build_downport (push) Waiting to run
2024-09-01 20:46:56 +02:00
oblomov-dev
ebca4a691a
Cleanup (#1355)
Some checks failed
build_downport / build_downport (push) Has been cancelled
* update package structure

* update name
2024-08-31 12:52:43 +02:00