@openui5/sap.ui.mdc 1.112.2 → 1.113.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THIRDPARTY.txt +1 -1
- package/package.json +4 -4
- package/src/sap/ui/mdc/.library +1 -1
- package/src/sap/ui/mdc/ActionToolbar.js +1 -1
- package/src/sap/ui/mdc/Chart.js +52 -14
- package/src/sap/ui/mdc/ChartDelegate.js +191 -103
- package/src/sap/ui/mdc/Control.js +1 -1
- package/src/sap/ui/mdc/Element.js +1 -1
- package/src/sap/ui/mdc/Field.js +41 -6
- package/src/sap/ui/mdc/FilterBar.js +1 -1
- package/src/sap/ui/mdc/FilterField.js +3 -3
- package/src/sap/ui/mdc/Link.js +5 -1
- package/src/sap/ui/mdc/MultiValueField.js +39 -3
- package/src/sap/ui/mdc/Table.js +164 -65
- package/src/sap/ui/mdc/TableDelegate.js +27 -15
- package/src/sap/ui/mdc/ValueHelp.js +9 -10
- package/src/sap/ui/mdc/ValueHelpDelegate.js +11 -6
- package/src/sap/ui/mdc/actiontoolbar/ActionToolbarAction.js +1 -1
- package/src/sap/ui/mdc/chart/ChartImplementationContainer.js +2 -2
- package/src/sap/ui/mdc/chart/ChartSelectionDetails.js +1 -2
- package/src/sap/ui/mdc/chart/ChartToolbar.js +1 -1
- package/src/sap/ui/mdc/chart/ChartTypeButton.js +39 -49
- package/src/sap/ui/mdc/chart/DrillBreadcrumbs.js +3 -3
- package/src/sap/ui/mdc/chart/DrillStackHandler.js +60 -69
- package/src/sap/ui/mdc/chart/PropertyHelper.js +7 -7
- package/src/sap/ui/mdc/condition/Condition.js +20 -14
- package/src/sap/ui/mdc/condition/ConditionConverter.js +1 -1
- package/src/sap/ui/mdc/condition/ConditionModel.js +6 -149
- package/src/sap/ui/mdc/condition/ConditionModelPropertyBinding.js +5 -3
- package/src/sap/ui/mdc/condition/FilterConverter.js +2 -22
- package/src/sap/ui/mdc/condition/FilterOperatorUtil.js +20 -6
- package/src/sap/ui/mdc/condition/Operator.js +75 -39
- package/src/sap/ui/mdc/condition/OperatorDynamicDateOption.js +3 -2
- package/src/sap/ui/mdc/condition/RangeOperator.js +104 -104
- package/src/sap/ui/mdc/enum/ConditionValidated.js +4 -1
- package/src/sap/ui/mdc/enum/ContentMode.js +1 -1
- package/src/sap/ui/mdc/enum/EditMode.js +7 -7
- package/src/sap/ui/mdc/enum/FieldDisplay.js +3 -3
- package/src/sap/ui/mdc/enum/OperatorOverwrite.js +34 -0
- package/src/sap/ui/mdc/field/ConditionType.js +4 -4
- package/src/sap/ui/mdc/field/ConditionsType.js +5 -5
- package/src/sap/ui/mdc/field/CustomFieldInfo.js +1 -1
- package/src/sap/ui/mdc/field/DefineConditionPanel.js +10 -24
- package/src/sap/ui/mdc/field/DynamicDateRangeConditionsType.js +22 -10
- package/src/sap/ui/mdc/field/FieldBase.js +41 -16
- package/src/sap/ui/mdc/field/FieldBaseDelegate.js +7 -15
- package/src/sap/ui/mdc/field/FieldInfoBase.js +1 -1
- package/src/sap/ui/mdc/field/FieldInput.js +1 -1
- package/src/sap/ui/mdc/field/FieldInputRenderUtil.js +1 -1
- package/src/sap/ui/mdc/field/FieldMultiInput.js +1 -1
- package/src/sap/ui/mdc/field/ListFieldHelpItem.js +2 -2
- package/src/sap/ui/mdc/field/MultiValueFieldItem.js +1 -1
- package/src/sap/ui/mdc/field/TokenDisplay.js +2 -2
- package/src/sap/ui/mdc/field/TokenizerDisplay.js +2 -2
- package/src/sap/ui/mdc/filterbar/FilterBarBase.js +4 -9
- package/src/sap/ui/mdc/filterbar/PropertyHelper.js +1 -1
- package/src/sap/ui/mdc/filterbar/p13n/AdaptationFilterBar.js +5 -12
- package/src/sap/ui/mdc/filterbar/p13n/GroupContainer.js +1 -1
- package/src/sap/ui/mdc/filterbar/vh/FilterBar.js +1 -1
- package/src/sap/ui/mdc/flexibility/ActionToolbar.flexibility.js +16 -10
- package/src/sap/ui/mdc/flexibility/AggregateFlex.js +0 -21
- package/src/sap/ui/mdc/flexibility/Chart.flexibility.js +1 -1
- package/src/sap/ui/mdc/flexibility/ColumnFlex.js +0 -18
- package/src/sap/ui/mdc/flexibility/ConditionFlex.js +0 -15
- package/src/sap/ui/mdc/flexibility/FilterBar.flexibility.js +1 -1
- package/src/sap/ui/mdc/flexibility/FilterItemFlex.js +1 -1
- package/src/sap/ui/mdc/flexibility/GroupFlex.js +2 -22
- package/src/sap/ui/mdc/flexibility/ItemBaseFlex.js +1 -1
- package/src/sap/ui/mdc/flexibility/SortFlex.js +2 -21
- package/src/sap/ui/mdc/flexibility/Util.js +9 -7
- package/src/sap/ui/mdc/flp/FlpLinkDelegate.js +1 -1
- package/src/sap/ui/mdc/library.js +13 -2
- package/src/sap/ui/mdc/link/ContactDetails.js +1 -1
- package/src/sap/ui/mdc/link/ContactDetailsAddressItem.js +1 -1
- package/src/sap/ui/mdc/link/ContactDetailsEmailItem.js +1 -1
- package/src/sap/ui/mdc/link/ContactDetailsItem.js +1 -1
- package/src/sap/ui/mdc/link/ContactDetailsPhoneItem.js +1 -1
- package/src/sap/ui/mdc/link/Factory.js +1 -1
- package/src/sap/ui/mdc/link/FakeFlpConnector.js +1 -1
- package/src/sap/ui/mdc/link/LinkItem.js +1 -1
- package/src/sap/ui/mdc/link/Panel.js +1 -1
- package/src/sap/ui/mdc/link/PanelItem.js +1 -1
- package/src/sap/ui/mdc/link/SemanticObjectMapping.js +1 -1
- package/src/sap/ui/mdc/link/SemanticObjectMappingItem.js +1 -1
- package/src/sap/ui/mdc/link/SemanticObjectUnavailableAction.js +1 -1
- package/src/sap/ui/mdc/messagebundle.properties +8 -2
- package/src/sap/ui/mdc/messagebundle_ar.properties +18 -15
- package/src/sap/ui/mdc/messagebundle_bg.properties +4 -1
- package/src/sap/ui/mdc/messagebundle_ca.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_cs.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_cy.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_da.properties +4 -1
- package/src/sap/ui/mdc/messagebundle_de.properties +5 -2
- package/src/sap/ui/mdc/messagebundle_el.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_en.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_en_GB.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_en_US_sappsd.properties +4 -1
- package/src/sap/ui/mdc/messagebundle_en_US_saprigi.properties +4 -1
- package/src/sap/ui/mdc/messagebundle_en_US_saptrc.properties +4 -1
- package/src/sap/ui/mdc/messagebundle_es.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_es_MX.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_et.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_fi.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_fr.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_fr_CA.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_hi.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_hr.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_hu.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_id.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_it.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_iw.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_ja.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_kk.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_ko.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_lt.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_lv.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_ms.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_nl.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_no.properties +4 -1
- package/src/sap/ui/mdc/messagebundle_pl.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_pt.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_pt_PT.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_ro.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_ru.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_sh.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_sk.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_sl.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_sv.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_th.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_tr.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_uk.properties +5 -2
- package/src/sap/ui/mdc/messagebundle_vi.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_zh_CN.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_zh_TW.properties +3 -0
- package/src/sap/ui/mdc/mixin/AdaptationMixin.js +1 -1
- package/src/sap/ui/mdc/mixin/DelegateMixin.js +1 -1
- package/src/sap/ui/mdc/mixin/FilterIntegrationMixin.js +1 -1
- package/src/sap/ui/mdc/mixin/PromiseMixin.js +1 -1
- package/src/sap/ui/mdc/mixin/PropertyHelperMixin.js +1 -1
- package/src/sap/ui/mdc/odata/v4/TableDelegate.js +32 -0
- package/src/sap/ui/mdc/odata/v4/vizChart/ChartDelegate.js +20 -23
- package/src/sap/ui/mdc/p13n/PropertyHelper.js +1 -1
- package/src/sap/ui/mdc/p13n/UIManager.js +1 -1
- package/src/sap/ui/mdc/p13n/panels/AdaptFiltersPanel.js +4 -0
- package/src/sap/ui/mdc/p13n/panels/ChartItemPanel.js +12 -24
- package/src/sap/ui/mdc/p13n/panels/FilterPanel.js +1 -1
- package/src/sap/ui/mdc/table/Column.js +0 -8
- package/src/sap/ui/mdc/table/ColumnSettings.js +1 -1
- package/src/sap/ui/mdc/table/CreationRow.js +1 -1
- package/src/sap/ui/mdc/table/PropertyHelper.js +1 -1
- package/src/sap/ui/mdc/table/ResponsiveColumnSettings.js +1 -1
- package/src/sap/ui/mdc/table/ResponsiveTableType.js +22 -9
- package/src/sap/ui/mdc/table/RowActionItem.js +1 -1
- package/src/sap/ui/mdc/table/RowSettings.js +1 -1
- package/src/sap/ui/mdc/table/TableSettings.js +15 -113
- package/src/sap/ui/mdc/table/TableTypeBase.js +8 -0
- package/src/sap/ui/mdc/table/TreeTableType.js +1 -1
- package/src/sap/ui/mdc/table/V4AnalyticsPropertyHelper.js +1 -1
- package/src/sap/ui/mdc/table/menu/Item.js +1 -1
- package/src/sap/ui/mdc/table/menu/ItemContainer.js +4 -0
- package/src/sap/ui/mdc/table/menu/QuickActionContainer.js +12 -7
- package/src/sap/ui/mdc/table/utils/Personalization.js +236 -0
- package/src/sap/ui/mdc/themes/base/ValueHelpDialog.less +3 -3
- package/src/sap/ui/mdc/util/InfoBar.js +2 -2
- package/src/sap/ui/mdc/util/PromiseCache.js +1 -1
- package/src/sap/ui/mdc/util/PropertyHelper.js +1 -1
- package/src/sap/ui/mdc/valuehelp/Dialog.js +5 -4
- package/src/sap/ui/mdc/valuehelp/Popover.js +3 -2
- package/src/sap/ui/mdc/valuehelp/base/Container.js +20 -2
- package/src/sap/ui/mdc/valuehelp/base/Content.js +5 -2
- package/src/sap/ui/mdc/valuehelp/base/DialogTab.js +1 -1
- package/src/sap/ui/mdc/valuehelp/base/FilterableListContent.js +12 -36
- package/src/sap/ui/mdc/valuehelp/base/ListContent.js +5 -2
- package/src/sap/ui/mdc/valuehelp/content/Bool.js +1 -1
- package/src/sap/ui/mdc/valuehelp/content/Conditions.js +3 -2
- package/src/sap/ui/mdc/valuehelp/content/FixedList.js +3 -2
- package/src/sap/ui/mdc/valuehelp/content/MDCTable.js +3 -2
- package/src/sap/ui/mdc/valuehelp/content/MTable.js +8 -7
|
@@ -406,6 +406,7 @@ chart.CHART_TYPELIST_TEXT=Typ diagramu
|
|
|
406
406
|
chart.TOOLBAR_ZOOM_IN=Zv\u00E4\u010D\u0161i\u0165
|
|
407
407
|
chart.TOOLBAR_ZOOM_OUT=Zmen\u0161i\u0165
|
|
408
408
|
chart.CHART_DRILLDOWN_TITLE=Zobrazi\u0165 pod\u013Ea
|
|
409
|
+
chart.CHART_DRILLDOWN_SEARCH=H\u013Eadanie v dimenzi\u00E1ch
|
|
409
410
|
chart.LEGENDBTN_TOOLTIP=Zobrazenie/potla\u010Denie legendy
|
|
410
411
|
chart.LEGENDBTN_TEXT=Zobrazenie/potla\u010Denie legendy
|
|
411
412
|
chart.NO_DATA=D\u00E1ta nie s\u00FA k dispoz\u00EDcii
|
|
@@ -471,6 +472,8 @@ table.PERSONALIZATION_DIALOG_FILTER_MESSAGESTRIP=Tabu\u013Eka bola filtrovan\u00
|
|
|
471
472
|
table.ROW_ACTION_ITEM_NAVIGATE=Navig\u00E1cia
|
|
472
473
|
table.ROW_GROUP_TITLE={0}\: {1}
|
|
473
474
|
table.ROW_GROUP_TITLE_FULL={0}\: {1} - {2}
|
|
475
|
+
table.COLLAPSE_ALL=Zbali\u0165 v\u0161etko
|
|
476
|
+
table.EXPAND_ALL=Rozbali\u0165 v\u0161etko
|
|
474
477
|
|
|
475
478
|
fieldsui.COLUMNS=St\u013Apce
|
|
476
479
|
|
|
@@ -406,6 +406,7 @@ chart.CHART_TYPELIST_TEXT=Tip diagrama
|
|
|
406
406
|
chart.TOOLBAR_ZOOM_IN=Pove\u010Danje
|
|
407
407
|
chart.TOOLBAR_ZOOM_OUT=Pomanj\u0161anje
|
|
408
408
|
chart.CHART_DRILLDOWN_TITLE=Prikaz po
|
|
409
|
+
chart.CHART_DRILLDOWN_SEARCH=Iskanje v dimenzijah
|
|
409
410
|
chart.LEGENDBTN_TOOLTIP=Prika\u017Ei/skrij legendo
|
|
410
411
|
chart.LEGENDBTN_TEXT=Prika\u017Ei/skrij legendo
|
|
411
412
|
chart.NO_DATA=Podatki niso na voljo
|
|
@@ -471,6 +472,8 @@ table.PERSONALIZATION_DIALOG_FILTER_MESSAGESTRIP=Tabela je bila filtrirana za vr
|
|
|
471
472
|
table.ROW_ACTION_ITEM_NAVIGATE=Navigacija
|
|
472
473
|
table.ROW_GROUP_TITLE={0}\: {1}
|
|
473
474
|
table.ROW_GROUP_TITLE_FULL={0}\: {1} - {2}
|
|
475
|
+
table.COLLAPSE_ALL=Skr\u010Di vse
|
|
476
|
+
table.EXPAND_ALL=Raz\u0161iri vse
|
|
474
477
|
|
|
475
478
|
fieldsui.COLUMNS=Stolpci
|
|
476
479
|
|
|
@@ -406,6 +406,7 @@ chart.CHART_TYPELIST_TEXT=Diagramtyp
|
|
|
406
406
|
chart.TOOLBAR_ZOOM_IN=F\u00F6rstora
|
|
407
407
|
chart.TOOLBAR_ZOOM_OUT=F\u00F6rminska
|
|
408
408
|
chart.CHART_DRILLDOWN_TITLE=Visa efter
|
|
409
|
+
chart.CHART_DRILLDOWN_SEARCH=S\u00F6kning i dimensioner
|
|
409
410
|
chart.LEGENDBTN_TOOLTIP=Visa/d\u00F6lj f\u00F6rklaring
|
|
410
411
|
chart.LEGENDBTN_TEXT=Visa/d\u00F6lj f\u00F6rklaring
|
|
411
412
|
chart.NO_DATA=Inga data tillg\u00E4ngliga
|
|
@@ -471,6 +472,8 @@ table.PERSONALIZATION_DIALOG_FILTER_MESSAGESTRIP=Tabellen har filtrerats p\u00E5
|
|
|
471
472
|
table.ROW_ACTION_ITEM_NAVIGATE=Navigering
|
|
472
473
|
table.ROW_GROUP_TITLE={0}\: {1}
|
|
473
474
|
table.ROW_GROUP_TITLE_FULL={0}\: {1} - {2}
|
|
475
|
+
table.COLLAPSE_ALL=Komprimera alla
|
|
476
|
+
table.EXPAND_ALL=Expandera alla
|
|
474
477
|
|
|
475
478
|
fieldsui.COLUMNS=Kolumner
|
|
476
479
|
|
|
@@ -406,6 +406,7 @@ chart.CHART_TYPELIST_TEXT=\u0E1B\u0E23\u0E30\u0E40\u0E20\u0E17\u0E41\u0E1C\u0E19
|
|
|
406
406
|
chart.TOOLBAR_ZOOM_IN=\u0E02\u0E22\u0E32\u0E22
|
|
407
407
|
chart.TOOLBAR_ZOOM_OUT=\u0E22\u0E48\u0E2D
|
|
408
408
|
chart.CHART_DRILLDOWN_TITLE=\u0E14\u0E39\u0E15\u0E32\u0E21
|
|
409
|
+
chart.CHART_DRILLDOWN_SEARCH=\u0E04\u0E49\u0E19\u0E2B\u0E32\u0E43\u0E19\u0E44\u0E14\u0E40\u0E21\u0E19\u0E0A\u0E31\u0E19
|
|
409
410
|
chart.LEGENDBTN_TOOLTIP=\u0E2A\u0E25\u0E31\u0E1A\u0E01\u0E32\u0E23\u0E21\u0E2D\u0E07\u0E40\u0E2B\u0E47\u0E19\u0E04\u0E33\u0E2D\u0E18\u0E34\u0E1A\u0E32\u0E22\u0E2A\u0E31\u0E0D\u0E25\u0E31\u0E01\u0E29\u0E13\u0E4C
|
|
410
411
|
chart.LEGENDBTN_TEXT=\u0E2A\u0E25\u0E31\u0E1A\u0E01\u0E32\u0E23\u0E21\u0E2D\u0E07\u0E40\u0E2B\u0E47\u0E19\u0E04\u0E33\u0E2D\u0E18\u0E34\u0E1A\u0E32\u0E22\u0E2A\u0E31\u0E0D\u0E25\u0E31\u0E01\u0E29\u0E13\u0E4C
|
|
411
412
|
chart.NO_DATA=\u0E44\u0E21\u0E48\u0E21\u0E35\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25
|
|
@@ -471,6 +472,8 @@ table.PERSONALIZATION_DIALOG_FILTER_MESSAGESTRIP=\u0E15\u0E32\u0E23\u0E32\u0E07\
|
|
|
471
472
|
table.ROW_ACTION_ITEM_NAVIGATE=\u0E01\u0E32\u0E23\u0E40\u0E19\u0E27\u0E34\u0E40\u0E01\u0E15
|
|
472
473
|
table.ROW_GROUP_TITLE={0}\: {1}
|
|
473
474
|
table.ROW_GROUP_TITLE_FULL={0}\: {1} - {2}
|
|
475
|
+
table.COLLAPSE_ALL=\u0E22\u0E48\u0E2D\u0E23\u0E27\u0E21\u0E17\u0E31\u0E49\u0E07\u0E2B\u0E21\u0E14
|
|
476
|
+
table.EXPAND_ALL=\u0E02\u0E22\u0E32\u0E22\u0E17\u0E31\u0E49\u0E07\u0E2B\u0E21\u0E14
|
|
474
477
|
|
|
475
478
|
fieldsui.COLUMNS=\u0E04\u0E2D\u0E25\u0E31\u0E21\u0E19\u0E4C
|
|
476
479
|
|
|
@@ -406,6 +406,7 @@ chart.CHART_TYPELIST_TEXT=Grafik t\u00FCr\u00FC
|
|
|
406
406
|
chart.TOOLBAR_ZOOM_IN=Yak\u0131nla\u015Ft\u0131r
|
|
407
407
|
chart.TOOLBAR_ZOOM_OUT=Uzakla\u015Ft\u0131r
|
|
408
408
|
chart.CHART_DRILLDOWN_TITLE=G\u00F6r\u00FCnt\u00FCleme \u00F6l\u00E7\u00FCt\u00FC
|
|
409
|
+
chart.CHART_DRILLDOWN_SEARCH=Boyutlarda arama
|
|
409
410
|
chart.LEGENDBTN_TOOLTIP=Anahtar g\u00F6r\u00FCn\u00FCrl\u00FC\u011F\u00FCn\u00FC de\u011Fi\u015Ftir
|
|
410
411
|
chart.LEGENDBTN_TEXT=Anahtar g\u00F6r\u00FCn\u00FCrl\u00FC\u011F\u00FCn\u00FC de\u011Fi\u015Ftir
|
|
411
412
|
chart.NO_DATA=Veri mevcut de\u011Fil
|
|
@@ -471,6 +472,8 @@ table.PERSONALIZATION_DIALOG_FILTER_MESSAGESTRIP=Tablo, ilgili iletiler i\u00E7e
|
|
|
471
472
|
table.ROW_ACTION_ITEM_NAVIGATE=Dola\u015Fma
|
|
472
473
|
table.ROW_GROUP_TITLE={0}\: {1}
|
|
473
474
|
table.ROW_GROUP_TITLE_FULL={0}\: {1} - {2}
|
|
475
|
+
table.COLLAPSE_ALL=T\u00FCm\u00FCn\u00FC daralt
|
|
476
|
+
table.EXPAND_ALL=T\u00FCm\u00FCn\u00FC geni\u015Flet
|
|
474
477
|
|
|
475
478
|
fieldsui.COLUMNS=S\u00FCtunlar
|
|
476
479
|
|
|
@@ -406,8 +406,9 @@ chart.CHART_TYPELIST_TEXT=\u0422\u0438\u043F \u0434\u0456\u0430\u0433\u0440\u043
|
|
|
406
406
|
chart.TOOLBAR_ZOOM_IN=\u0417\u0431\u0456\u043B\u044C\u0448\u0438\u0442\u0438
|
|
407
407
|
chart.TOOLBAR_ZOOM_OUT=\u0417\u043C\u0435\u043D\u0448\u0438\u0442\u0438
|
|
408
408
|
chart.CHART_DRILLDOWN_TITLE=\u041F\u043E\u0434\u0430\u043D\u043D\u044F \u0437\u0430
|
|
409
|
-
chart.
|
|
410
|
-
chart.
|
|
409
|
+
chart.CHART_DRILLDOWN_SEARCH=\u0428\u0443\u043A\u0430\u0442\u0438 \u0443 \u0432\u0435\u043B\u0438\u0447\u0438\u043D\u0430\u0445
|
|
410
|
+
chart.LEGENDBTN_TOOLTIP=\u041F\u0435\u0440\u0435\u043C\u043A\u043D\u0443\u0442\u0438 \u0432\u0438\u0434\u0438\u043C\u0456\u0441\u0442\u044C \u0443\u043C\u043E\u0432\u043D\u0438\u0445 \u043F\u043E\u0437\u043D\u0430\u0447\u0435\u043D\u044C
|
|
411
|
+
chart.LEGENDBTN_TEXT=\u041F\u0435\u0440\u0435\u043C\u043A\u043D\u0443\u0442\u0438 \u0432\u0438\u0434\u0438\u043C\u0456\u0441\u0442\u044C \u0443\u043C\u043E\u0432\u043D\u0438\u0445 \u043F\u043E\u0437\u043D\u0430\u0447\u0435\u043D\u044C
|
|
411
412
|
chart.NO_DATA=\u0414\u0430\u043D\u0456 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0456
|
|
412
413
|
chart.NO_CHART_TYPES_AVAILABLE=\u0422\u0438\u043F\u0438 \u0434\u0456\u0430\u0433\u0440\u0430\u043C \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0456
|
|
413
414
|
chart.NO_CHART_TYPES_AVAILABLE_ACTION=\u0421\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0432\u0456\u0434\u043A\u043E\u0440\u0435\u0433\u0443\u0432\u0430\u0442\u0438 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0434\u0456\u0430\u0433\u0440\u0430\u043C\u0438.
|
|
@@ -471,6 +472,8 @@ table.PERSONALIZATION_DIALOG_FILTER_MESSAGESTRIP=\u0412 \u0442\u0430\u0431\u043B
|
|
|
471
472
|
table.ROW_ACTION_ITEM_NAVIGATE=\u041D\u0430\u0432\u0456\u0433\u0430\u0446\u0456\u044F
|
|
472
473
|
table.ROW_GROUP_TITLE={0}\: {1}
|
|
473
474
|
table.ROW_GROUP_TITLE_FULL={0}\: {1} - {2}
|
|
475
|
+
table.COLLAPSE_ALL=\u0417\u0433\u043E\u0440\u043D\u0443\u0442\u0438 \u0432\u0441\u0435
|
|
476
|
+
table.EXPAND_ALL=\u0420\u043E\u0437\u0433\u043E\u0440\u043D\u0443\u0442\u0438 \u0432\u0441\u0435
|
|
474
477
|
|
|
475
478
|
fieldsui.COLUMNS=\u0421\u0442\u043E\u0432\u043F\u0447\u0438\u043A\u0438
|
|
476
479
|
|
|
@@ -406,6 +406,7 @@ chart.CHART_TYPELIST_TEXT=Ki\u00EA\u0309u bi\u00EA\u0309u \u0111\u00F4\u0300
|
|
|
406
406
|
chart.TOOLBAR_ZOOM_IN=Pho\u0301ng to
|
|
407
407
|
chart.TOOLBAR_ZOOM_OUT=Thu nho\u0309
|
|
408
408
|
chart.CHART_DRILLDOWN_TITLE=Xem b\u01A1\u0309i
|
|
409
|
+
chart.CHART_DRILLDOWN_SEARCH=Ti\u0300m ki\u00EA\u0301m trong quy ca\u0301ch
|
|
409
410
|
chart.LEGENDBTN_TOOLTIP=\u0110a\u0309o tra\u0323ng tha\u0301i co\u0301 th\u00EA\u0309 nhi\u0300n th\u00E2\u0301y cu\u0309a chu\u0301 gia\u0309i
|
|
410
411
|
chart.LEGENDBTN_TEXT=\u0110a\u0309o tra\u0323ng tha\u0301i co\u0301 th\u00EA\u0309 nhi\u0300n th\u00E2\u0301y cu\u0309a chu\u0301 gia\u0309i
|
|
411
412
|
chart.NO_DATA=Kh\u00F4ng co\u0301 s\u0103\u0303n d\u01B0\u0303 li\u00EA\u0323u
|
|
@@ -471,6 +472,8 @@ table.PERSONALIZATION_DIALOG_FILTER_MESSAGESTRIP=B\u1EA3ng \u0111\u00E3 \u0111\u
|
|
|
471
472
|
table.ROW_ACTION_ITEM_NAVIGATE=\u0110i\u00EA\u0300u h\u01B0\u01A1\u0301ng
|
|
472
473
|
table.ROW_GROUP_TITLE={0}\: {1}
|
|
473
474
|
table.ROW_GROUP_TITLE_FULL={0}\: {1} - {2}
|
|
475
|
+
table.COLLAPSE_ALL=Thu go\u0323n t\u00E2\u0301t ca\u0309
|
|
476
|
+
table.EXPAND_ALL=M\u01A1\u0309 r\u00F4\u0323ng t\u00E2\u0301t ca\u0309
|
|
474
477
|
|
|
475
478
|
fieldsui.COLUMNS=C\u00F4\u0323t
|
|
476
479
|
|
|
@@ -406,6 +406,7 @@ chart.CHART_TYPELIST_TEXT=\u7EDF\u8BA1\u56FE\u7C7B\u578B
|
|
|
406
406
|
chart.TOOLBAR_ZOOM_IN=\u653E\u5927
|
|
407
407
|
chart.TOOLBAR_ZOOM_OUT=\u7F29\u5C0F
|
|
408
408
|
chart.CHART_DRILLDOWN_TITLE=\u67E5\u770B\u65B9\u5F0F
|
|
409
|
+
chart.CHART_DRILLDOWN_SEARCH=\u5728\u7EF4\u4E2D\u641C\u7D22
|
|
409
410
|
chart.LEGENDBTN_TOOLTIP=\u5207\u6362\u56FE\u4F8B\u53EF\u89C1\u6027
|
|
410
411
|
chart.LEGENDBTN_TEXT=\u5207\u6362\u56FE\u4F8B\u53EF\u89C1\u6027
|
|
411
412
|
chart.NO_DATA=\u65E0\u53EF\u7528\u6570\u636E
|
|
@@ -471,6 +472,8 @@ table.PERSONALIZATION_DIALOG_FILTER_MESSAGESTRIP=\u5DF2\u8FC7\u6EE4\u51FA\u8868\
|
|
|
471
472
|
table.ROW_ACTION_ITEM_NAVIGATE=\u5BFC\u822A
|
|
472
473
|
table.ROW_GROUP_TITLE={0}\uFF1A{1}
|
|
473
474
|
table.ROW_GROUP_TITLE_FULL={0}\uFF1A{1} - {2}
|
|
475
|
+
table.COLLAPSE_ALL=\u5168\u90E8\u6298\u53E0
|
|
476
|
+
table.EXPAND_ALL=\u5168\u90E8\u5C55\u5F00
|
|
474
477
|
|
|
475
478
|
fieldsui.COLUMNS=\u5217
|
|
476
479
|
|
|
@@ -406,6 +406,7 @@ chart.CHART_TYPELIST_TEXT=\u5716\u8868\u985E\u578B
|
|
|
406
406
|
chart.TOOLBAR_ZOOM_IN=\u653E\u5927
|
|
407
407
|
chart.TOOLBAR_ZOOM_OUT=\u7E2E\u5C0F
|
|
408
408
|
chart.CHART_DRILLDOWN_TITLE=\u6AA2\u8996\u4F9D\u64DA
|
|
409
|
+
chart.CHART_DRILLDOWN_SEARCH=\u5728\u7DAD\u5EA6\u4E2D\u641C\u5C0B
|
|
409
410
|
chart.LEGENDBTN_TOOLTIP=\u5207\u63DB\u5716\u4F8B\u53EF\u898B\u5EA6
|
|
410
411
|
chart.LEGENDBTN_TEXT=\u5207\u63DB\u5716\u4F8B\u53EF\u898B\u5EA6
|
|
411
412
|
chart.NO_DATA=\u6C92\u6709\u8CC7\u6599
|
|
@@ -471,6 +472,8 @@ table.PERSONALIZATION_DIALOG_FILTER_MESSAGESTRIP=\u5DF2\u7BE9\u9078\u8868\u683C\
|
|
|
471
472
|
table.ROW_ACTION_ITEM_NAVIGATE=\u700F\u89BD
|
|
472
473
|
table.ROW_GROUP_TITLE={0}\uFF1A{1}
|
|
473
474
|
table.ROW_GROUP_TITLE_FULL={0}\uFF1A{1} - {2}
|
|
475
|
+
table.COLLAPSE_ALL=\u5168\u90E8\u6536\u5408
|
|
476
|
+
table.EXPAND_ALL=\u5168\u90E8\u5C55\u958B
|
|
474
477
|
|
|
475
478
|
fieldsui.COLUMNS=\u6B04
|
|
476
479
|
|
|
@@ -293,6 +293,38 @@ sap.ui.define([
|
|
|
293
293
|
return TableDelegate.getGroupSorter.apply(this, arguments);
|
|
294
294
|
};
|
|
295
295
|
|
|
296
|
+
Delegate.getSupportedFeatures = function(oTable) {
|
|
297
|
+
var oSupportedFeatures = TableDelegate.getSupportedFeatures(oTable),
|
|
298
|
+
bIsTreeTable = oTable._isOfType(TableType.TreeTable);
|
|
299
|
+
|
|
300
|
+
return Object.assign(oSupportedFeatures, {
|
|
301
|
+
"expandAll": bIsTreeTable,
|
|
302
|
+
"collapseAll": bIsTreeTable
|
|
303
|
+
});
|
|
304
|
+
};
|
|
305
|
+
|
|
306
|
+
Delegate.expandAll = function (oTable) {
|
|
307
|
+
if (!oTable._isOfType(TableType.TreeTable)) {
|
|
308
|
+
return;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
var oRowBinding = oTable.getRowBinding();
|
|
312
|
+
if (oRowBinding) {
|
|
313
|
+
oRowBinding.setAggregation(Object.assign(oRowBinding.getAggregation(), { expandTo: 999 }));
|
|
314
|
+
}
|
|
315
|
+
};
|
|
316
|
+
|
|
317
|
+
Delegate.collapseAll = function (oTable) {
|
|
318
|
+
if (!oTable._isOfType(TableType.TreeTable)) {
|
|
319
|
+
return;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
var oRowBinding = oTable.getRowBinding();
|
|
323
|
+
if (oRowBinding) {
|
|
324
|
+
oRowBinding.setAggregation(Object.assign(oRowBinding.getAggregation(), { expandTo: 1 }));
|
|
325
|
+
}
|
|
326
|
+
};
|
|
327
|
+
|
|
296
328
|
function createGroupPopoverItem(aGroupProperties, oMDCColumn) {
|
|
297
329
|
var aGroupChildren = aGroupProperties.map(function(oGroupProperty) {
|
|
298
330
|
return new Item({
|
|
@@ -296,14 +296,11 @@ sap.ui.define([
|
|
|
296
296
|
|
|
297
297
|
};
|
|
298
298
|
/**
|
|
299
|
-
|
|
300
|
-
* {
|
|
301
|
-
* "eventId": id of the selection event,
|
|
302
|
-
* "listener": Reference to inner chart
|
|
303
|
-
* }
|
|
299
|
+
* Returns the event handler for SelectionDetails as an object:
|
|
304
300
|
*
|
|
305
301
|
* @param {sap.ui.mdc.Chart} oMDCChart Reference to the MDC chart
|
|
306
|
-
* @returns {
|
|
302
|
+
* @returns {sap.ui.mdc.SelectionDetails} Event handler for SelectionDetails
|
|
303
|
+
*
|
|
307
304
|
* @experimental
|
|
308
305
|
* @private
|
|
309
306
|
* @ui5-restricted sap.fe, sap.ui.mdc
|
|
@@ -448,11 +445,12 @@ sap.ui.define([
|
|
|
448
445
|
* @param {sap.ui.mdc.Chart.Item} oMDCItem MDC item to create a sorter for
|
|
449
446
|
* @param {object} oSortProperty Sorting information
|
|
450
447
|
* @returns {sap.ui.model.Sorter} Sorter for given item
|
|
448
|
+
*
|
|
451
449
|
* @experimental
|
|
452
450
|
* @private
|
|
453
451
|
* @ui5-restricted sap.fe, sap.ui.mdc
|
|
454
452
|
*/
|
|
455
|
-
ChartDelegate.
|
|
453
|
+
ChartDelegate._getSorterForItem = function (oMDCItem, oSortProperty) {
|
|
456
454
|
//TODO: Check wether we really need this method.
|
|
457
455
|
//TODO: Right now it is needed since the name of a property does not include the aggregation method -> leads to an error when calling back-end
|
|
458
456
|
//TODO: In old chart, aggragation method was included in name since every method had their own Item
|
|
@@ -711,16 +709,16 @@ sap.ui.define([
|
|
|
711
709
|
}.bind(this));
|
|
712
710
|
};
|
|
713
711
|
|
|
714
|
-
/**
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
ChartDelegate.createInitialChartContent = function(oMDCChart) {
|
|
722
|
-
|
|
723
|
-
};
|
|
712
|
+
// /**
|
|
713
|
+
// * Creates initial content for the chart while metadata has not been retrieved yet.
|
|
714
|
+
// * @param {sap.ui.mdc.chart} oMDCChart MDC chart
|
|
715
|
+
// * @experimental
|
|
716
|
+
// * @private
|
|
717
|
+
// * @ui5-restricted sap.fe, sap.ui.mdc
|
|
718
|
+
// */
|
|
719
|
+
// ChartDelegate.createInitialChartContent = function(oMDCChart) {
|
|
720
|
+
// //Not relevant for sap.chart.Chart
|
|
721
|
+
// };
|
|
724
722
|
|
|
725
723
|
/**
|
|
726
724
|
* Triggers invalidation on ChartImplContainer when external noData changed.
|
|
@@ -1171,8 +1169,7 @@ sap.ui.define([
|
|
|
1171
1169
|
*/
|
|
1172
1170
|
ChartDelegate.getDrillStack = function (oMDCChart) {
|
|
1173
1171
|
//TODO: Generify the return values here for other chart frameworks
|
|
1174
|
-
var aDrillStack = [];
|
|
1175
|
-
aDrillStack = Object.assign(aDrillStack, this._getChart(oMDCChart).getDrillStack());
|
|
1172
|
+
var aDrillStack = Object.assign([], this._getChart(oMDCChart).getDrillStack());
|
|
1176
1173
|
|
|
1177
1174
|
aDrillStack.forEach(function(oStackEntry) {
|
|
1178
1175
|
// loop over nested dimension arrays -> give them the correct name for filtering
|
|
@@ -1489,9 +1486,9 @@ sap.ui.define([
|
|
|
1489
1486
|
* @private
|
|
1490
1487
|
* @ui5-restricted sap.fe, sap.ui.mdc
|
|
1491
1488
|
*/
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1489
|
+
ChartDelegate.rebindChart = function (oMDCChart, oBindingInfo) {
|
|
1490
|
+
this.rebind(oMDCChart, oBindingInfo);
|
|
1491
|
+
};
|
|
1495
1492
|
|
|
1496
1493
|
/**
|
|
1497
1494
|
* Checks the binding of the chart and rebinds it if required.
|
|
@@ -1692,7 +1689,7 @@ sap.ui.define([
|
|
|
1692
1689
|
}
|
|
1693
1690
|
|
|
1694
1691
|
//TODO: Check for inResultDimensions
|
|
1695
|
-
var oSorter = this.
|
|
1692
|
+
var oSorter = this._getSorterForItem(oMDCItem, oSortProp);
|
|
1696
1693
|
|
|
1697
1694
|
if (aSorters) {
|
|
1698
1695
|
aSorters.push(oSorter);
|
|
@@ -370,6 +370,10 @@ sap.ui.define([
|
|
|
370
370
|
return this._oSearchField;
|
|
371
371
|
};
|
|
372
372
|
|
|
373
|
+
AdaptFiltersPanel.prototype.getInitialFocusedControl = function() {
|
|
374
|
+
return this._getSearchField();
|
|
375
|
+
};
|
|
376
|
+
|
|
373
377
|
AdaptFiltersPanel.prototype._onGroupModeChange = function(oEvt) {
|
|
374
378
|
this._sModeKey = oEvt.getParameters().selectedItem.getKey();
|
|
375
379
|
this._filterByModeAndSearch();
|
|
@@ -26,8 +26,9 @@ sap.ui.define([
|
|
|
26
26
|
"sap/ui/core/ResizeHandler",
|
|
27
27
|
"sap/ui/core/CustomData",
|
|
28
28
|
"sap/ui/thirdparty/jquery",
|
|
29
|
-
"sap/ui/core/library"
|
|
30
|
-
|
|
29
|
+
"sap/ui/core/library",
|
|
30
|
+
"sap/ui/events/KeyCodes"
|
|
31
|
+
], function (BasePanel, Label, ColumnListItem, Select, Text, Item, MDCLib, Button, Column, Table, Filter, FilterOperator, VBox, HBox, ComboBox, Sorter, Log, mLibrary, Device, ResizeHandler, CustomData, jQuery, coreLibrary, KeyCode) {
|
|
31
32
|
"use strict";
|
|
32
33
|
|
|
33
34
|
// shortcut for sap.ui.core.ValueState
|
|
@@ -419,7 +420,7 @@ sap.ui.define([
|
|
|
419
420
|
oListItem.addEventDelegate({
|
|
420
421
|
onmouseover: this._hoverHandler.bind(this),
|
|
421
422
|
onfocusin: this._focusHandler.bind(this),
|
|
422
|
-
onkeydown: this.
|
|
423
|
+
onkeydown: this._keydownHandler.bind(this)
|
|
423
424
|
});
|
|
424
425
|
|
|
425
426
|
return oListItem;
|
|
@@ -486,31 +487,16 @@ sap.ui.define([
|
|
|
486
487
|
oListItem.addEventDelegate({
|
|
487
488
|
onmouseover: this._hoverHandler.bind(this),
|
|
488
489
|
onfocusin: this._focusHandler.bind(this),
|
|
489
|
-
onkeydown: this.
|
|
490
|
+
onkeydown: this._keydownHandler.bind(this)
|
|
490
491
|
});
|
|
491
492
|
|
|
492
493
|
return oListItem;
|
|
493
494
|
};
|
|
494
495
|
|
|
495
496
|
//ACC realted stuff
|
|
496
|
-
ChartItemPanel.prototype.
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
//Move Up
|
|
500
|
-
//Disabled for now until further clarification
|
|
501
|
-
/*
|
|
502
|
-
if (this._oMoveUpButton && this._oMoveUpButton.getEnabled() && this._getMoveButtonContainer()){
|
|
503
|
-
this._onPressButtonMoveUp(oEvent, core.byId(oEvent.currentTarget.id));
|
|
504
|
-
}*/
|
|
505
|
-
} else if (oEvent.keyCode === 40 && oEvent.ctrlKey){
|
|
506
|
-
//Ctrl+Arrow Down
|
|
507
|
-
//Move Down
|
|
508
|
-
//Disabled for now until further clarification
|
|
509
|
-
/*
|
|
510
|
-
if (this._oMoveUpButton && this._oMoveDownButton.getEnabled() && this._getMoveButtonContainer()){
|
|
511
|
-
this._onPressButtonMoveDown(oEvent, core.byId(oEvent.currentTarget.id));
|
|
512
|
-
}*/
|
|
513
|
-
} else if (oEvent.keyCode === 68 && oEvent.ctrlKey){
|
|
497
|
+
ChartItemPanel.prototype._keydownHandler = function(oEvent){
|
|
498
|
+
|
|
499
|
+
if ((oEvent.metaKey || oEvent.ctrlKey) && oEvent.keyCode === KeyCode.D){
|
|
514
500
|
//Ctrl+D
|
|
515
501
|
//Remove
|
|
516
502
|
var oRemoveBtn, oListItem = core.byId(oEvent.currentTarget.id);
|
|
@@ -526,6 +512,8 @@ sap.ui.define([
|
|
|
526
512
|
oEvent.preventDefault();
|
|
527
513
|
}
|
|
528
514
|
|
|
515
|
+
} else {
|
|
516
|
+
BasePanel.prototype._keydownHandler.apply(this, arguments);
|
|
529
517
|
}
|
|
530
518
|
|
|
531
519
|
};
|
|
@@ -1185,8 +1173,8 @@ sap.ui.define([
|
|
|
1185
1173
|
|
|
1186
1174
|
ChartItemPanel.prototype._getMoveTopButton = function() {
|
|
1187
1175
|
|
|
1188
|
-
if (this.
|
|
1189
|
-
this.
|
|
1176
|
+
if (this._oMoveTopButton && this._oMoveTopButton.isDestroyed()) {
|
|
1177
|
+
this._oMoveTopButton = null;
|
|
1190
1178
|
}
|
|
1191
1179
|
|
|
1192
1180
|
return BasePanel.prototype._getMoveTopButton.apply(this, arguments);
|
|
@@ -113,14 +113,6 @@ sap.ui.define([
|
|
|
113
113
|
group: "Behavior",
|
|
114
114
|
defaultValue: "None"
|
|
115
115
|
},
|
|
116
|
-
/*
|
|
117
|
-
* Only used during creation of table for initial/1st rendering, 0 based index
|
|
118
|
-
*/
|
|
119
|
-
// TODO: Delete!
|
|
120
|
-
initialIndex: {
|
|
121
|
-
type: "int",
|
|
122
|
-
defaultValue: -1
|
|
123
|
-
},
|
|
124
116
|
/**
|
|
125
117
|
* Defines data property related to the column.
|
|
126
118
|
*
|
|
@@ -21,7 +21,7 @@ sap.ui.define([
|
|
|
21
21
|
* {@link sap.ui.mdc.table.Column#getCreationTemplate creationTemplate} aggregation of the {@link sap.ui.mdc.table.Column}.
|
|
22
22
|
* @extends sap.ui.core.Element
|
|
23
23
|
* @author SAP SE
|
|
24
|
-
* @version 1.
|
|
24
|
+
* @version 1.113.0
|
|
25
25
|
* @constructor
|
|
26
26
|
* @experimental
|
|
27
27
|
* @private
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
sap.ui.define([
|
|
8
8
|
"./TableTypeBase",
|
|
9
|
+
"./utils/Personalization",
|
|
9
10
|
"../library",
|
|
10
11
|
"sap/m/Button",
|
|
11
12
|
"sap/m/plugins/ColumnResizer",
|
|
@@ -15,6 +16,7 @@ sap.ui.define([
|
|
|
15
16
|
"sap/ui/core/Core"
|
|
16
17
|
], function(
|
|
17
18
|
TableTypeBase,
|
|
19
|
+
PersonalizationUtils,
|
|
18
20
|
library,
|
|
19
21
|
Button,
|
|
20
22
|
ColumnResizer,
|
|
@@ -195,14 +197,6 @@ sap.ui.define([
|
|
|
195
197
|
var oTable = this.getTable();
|
|
196
198
|
var bSelectAll = oEvent.getParameter("selectAll");
|
|
197
199
|
|
|
198
|
-
if (bSelectAll) {
|
|
199
|
-
var oBinding = this.getRowBinding();
|
|
200
|
-
|
|
201
|
-
if (!oBinding) {
|
|
202
|
-
return;
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
|
|
206
200
|
this.callHook("SelectionChange", oTable, {
|
|
207
201
|
bindingContext: oEvent.getParameter("listItem").getBindingContext(),
|
|
208
202
|
selected: oEvent.getParameter("selected"),
|
|
@@ -403,7 +397,7 @@ sap.ui.define([
|
|
|
403
397
|
|
|
404
398
|
/**
|
|
405
399
|
* Toggles the visibility of the Show Details button.<br>
|
|
406
|
-
* If
|
|
400
|
+
* If <code>bValue</code> is set to <code>true</code>, it sets the <code>hiddenInPopin</code> property on the inner <code>ResponsiveTable</code> to
|
|
407
401
|
* hide columns based on the <code>Table</code> configuration (<code>showDetailsButton</code> and <code>detailsButtonSetting</code> properties).
|
|
408
402
|
* Otherwise an empty array is set to show all columns.
|
|
409
403
|
*
|
|
@@ -420,8 +414,10 @@ sap.ui.define([
|
|
|
420
414
|
|
|
421
415
|
if (this.bHideDetails) {
|
|
422
416
|
oResponsiveTable.setHiddenInPopin(this._getImportanceToHide());
|
|
417
|
+
this._oShowDetailsButton.setSelectedKey("hideDetails");
|
|
423
418
|
} else {
|
|
424
419
|
oResponsiveTable.setHiddenInPopin([]);
|
|
420
|
+
this._oShowDetailsButton.setSelectedKey("showDetails");
|
|
425
421
|
}
|
|
426
422
|
};
|
|
427
423
|
|
|
@@ -602,5 +598,22 @@ sap.ui.define([
|
|
|
602
598
|
}
|
|
603
599
|
};
|
|
604
600
|
|
|
601
|
+
/**
|
|
602
|
+
* Called when column is inserted
|
|
603
|
+
* @param {object} oColumn - the mdc column instance.
|
|
604
|
+
*
|
|
605
|
+
* @private
|
|
606
|
+
*/
|
|
607
|
+
ResponsiveTableType.prototype._onColumnInsert = function(oColumn) {
|
|
608
|
+
var oTable = this.getTable();
|
|
609
|
+
var oResponsiveTable = this.getInnerTable();
|
|
610
|
+
|
|
611
|
+
if (PersonalizationUtils.isUserPersonalizationActive(oTable)
|
|
612
|
+
&& oResponsiveTable.getHiddenInPopin().includes(oColumn.getImportance())
|
|
613
|
+
&& (oTable.getColumns().pop() === oColumn)) {
|
|
614
|
+
this._toggleShowDetails(false);
|
|
615
|
+
}
|
|
616
|
+
};
|
|
617
|
+
|
|
605
618
|
return ResponsiveTableType;
|
|
606
619
|
});
|
|
@@ -24,7 +24,7 @@ sap.ui.define([
|
|
|
24
24
|
* The <code>RowActionItem</code> control represents a action for a row.
|
|
25
25
|
* This control can only be used in the context of <code>sap.ui.mdc.Table</code> control to define row actions.
|
|
26
26
|
* @extends sap.ui.core.Element
|
|
27
|
-
* @version 1.
|
|
27
|
+
* @version 1.113.0
|
|
28
28
|
*
|
|
29
29
|
* @constructor
|
|
30
30
|
* @experimental
|
|
@@ -21,7 +21,7 @@ sap.ui.define([
|
|
|
21
21
|
* The <code>RowSettings</code> control is used to configure a row.
|
|
22
22
|
* This control can only be used in the context of the <code>sap.ui.mdc.Table</code> control to define row settings.
|
|
23
23
|
* @extends sap.ui.core.Element
|
|
24
|
-
* @version 1.
|
|
24
|
+
* @version 1.113.0
|
|
25
25
|
*
|
|
26
26
|
* @constructor
|
|
27
27
|
* @experimental
|