@openui5/sap.ui.mdc 1.97.1 → 1.100.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/.reuse/dep5 +25 -30
- package/THIRDPARTY.txt +15 -22
- package/package.json +4 -4
- package/src/sap/ui/mdc/.library +1 -1
- package/src/sap/ui/mdc/ActionToolbar.js +6 -3
- package/src/sap/ui/mdc/AggregationBaseDelegate.js +2 -2
- package/src/sap/ui/mdc/BaseDelegate.js +1 -1
- package/src/sap/ui/mdc/Chart.js +1128 -1806
- package/src/sap/ui/mdc/ChartDelegate.js +454 -250
- package/src/sap/ui/mdc/ChartRenderer.js +73 -77
- package/src/sap/ui/mdc/Control.js +11 -6
- package/src/sap/ui/mdc/Element.js +10 -6
- package/src/sap/ui/mdc/Field.js +19 -4
- package/src/sap/ui/mdc/FilterBar.js +3 -2
- package/src/sap/ui/mdc/FilterBarDelegate.js +26 -0
- package/src/sap/ui/mdc/FilterField.js +50 -9
- package/src/sap/ui/mdc/Link.js +25 -6
- package/src/sap/ui/mdc/LinkDelegate.js +3 -3
- package/src/sap/ui/mdc/MultiValueField.js +30 -6
- package/src/sap/ui/mdc/Table.js +151 -102
- package/src/sap/ui/mdc/TableDelegate.js +68 -13
- package/src/sap/ui/mdc/ValueHelp.js +26 -11
- package/src/sap/ui/mdc/ValueHelpDelegate.js +2 -1
- package/src/sap/ui/mdc/actiontoolbar/ActionToolbarAction.js +2 -2
- package/src/sap/ui/mdc/actiontoolbar/ActionToolbarActionRenderer.js +1 -1
- package/src/sap/ui/mdc/{chartNew/ChartSelectionDetailsNew.js → chart/ChartSelectionDetails.js} +8 -8
- package/src/sap/ui/mdc/{chartNew/ChartToolbarNew.js → chart/ChartToolbar.js} +60 -17
- package/src/sap/ui/mdc/chart/ChartTypeButton.js +55 -54
- package/src/sap/ui/mdc/{chartNew/DrillBreadcrumbsNew.js → chart/DrillBreadcrumbs.js} +10 -10
- package/src/sap/ui/mdc/chart/DrillStackHandler.js +43 -254
- package/src/sap/ui/mdc/chart/Item.js +62 -92
- package/src/sap/ui/mdc/{chartNew/PropertyHelperNew.js → chart/PropertyHelper.js} +3 -3
- package/src/sap/ui/mdc/chart/SelectionDetailsActions.js +17 -21
- package/src/sap/ui/mdc/condition/Condition.js +1 -1
- package/src/sap/ui/mdc/condition/ConditionConverter.js +1 -1
- package/src/sap/ui/mdc/condition/ConditionModel.js +1 -1
- package/src/sap/ui/mdc/condition/FilterConverter.js +4 -2
- package/src/sap/ui/mdc/condition/FilterOperatorUtil.js +388 -67
- package/src/sap/ui/mdc/condition/Operator.js +4 -2
- package/src/sap/ui/mdc/condition/OperatorDynamicDateOption.js +78 -24
- package/src/sap/ui/mdc/condition/RangeOperator.js +5 -5
- package/src/sap/ui/mdc/designtime/Util.js +63 -0
- package/src/sap/ui/mdc/designtime/actiontoolbar/ActionToolbar.designtime.js +23 -30
- package/src/sap/ui/mdc/designtime/chart/Chart.designtime.js +83 -5
- package/src/sap/ui/mdc/designtime/field/Field.designtime.js +81 -5
- package/src/sap/ui/mdc/designtime/filterbar/FilterBarBase.designtime.js +3 -0
- package/src/sap/ui/mdc/designtime/link/PanelItem.designtime.js +3 -1
- package/src/sap/ui/mdc/designtime/table/Table.designtime.js +35 -8
- package/src/sap/ui/mdc/field/BoolFieldHelp.js +1 -1
- package/src/sap/ui/mdc/field/ConditionFieldHelp.js +1 -1
- package/src/sap/ui/mdc/field/ConditionType.js +17 -6
- package/src/sap/ui/mdc/field/ConditionsType.js +2 -1
- package/src/sap/ui/mdc/field/CustomFieldHelp.js +1 -1
- package/src/sap/ui/mdc/field/CustomFieldInfo.js +1 -1
- package/src/sap/ui/mdc/field/DefineConditionPanel.js +88 -29
- package/src/sap/ui/mdc/field/DynamicDateRangeConditionsType.js +77 -20
- package/src/sap/ui/mdc/field/FieldBase.js +93 -16
- package/src/sap/ui/mdc/field/FieldBaseDelegate.js +1 -1
- package/src/sap/ui/mdc/field/FieldBaseRenderer.js +0 -3
- package/src/sap/ui/mdc/field/FieldHelpBase.js +2 -2
- package/src/sap/ui/mdc/field/FieldInfoBase.js +24 -10
- 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/FieldValueHelp.js +5 -2
- package/src/sap/ui/mdc/field/FieldValueHelpContentWrapperBase.js +1 -1
- package/src/sap/ui/mdc/field/FieldValueHelpDelegate.js +1 -1
- package/src/sap/ui/mdc/field/FieldValueHelpMTableWrapper.js +5 -4
- package/src/sap/ui/mdc/field/FieldValueHelpMdcTableWrapper.js +6 -4
- package/src/sap/ui/mdc/field/FieldValueHelpTableWrapperBase.js +6 -3
- package/src/sap/ui/mdc/field/FieldValueHelpUITableWrapper.js +7 -7
- package/src/sap/ui/mdc/field/InParameter.js +1 -1
- package/src/sap/ui/mdc/field/ListFieldHelp.js +10 -2
- package/src/sap/ui/mdc/field/ListFieldHelpItem.js +1 -1
- package/src/sap/ui/mdc/field/MultiValueFieldItem.js +1 -1
- package/src/sap/ui/mdc/field/OutParameter.js +1 -1
- package/src/sap/ui/mdc/field/TokenDisplay.js +70 -0
- package/src/sap/ui/mdc/field/TokenDisplayRenderer.js +24 -0
- package/src/sap/ui/mdc/field/TokenizerDisplay.js +80 -0
- package/src/sap/ui/mdc/field/TokenizerDisplayRenderer.js +69 -0
- package/src/sap/ui/mdc/field/ValueHelpPanel.js +1 -1
- package/src/sap/ui/mdc/field/content/ContentFactory.js +10 -6
- package/src/sap/ui/mdc/field/content/DateContent.js +27 -19
- package/src/sap/ui/mdc/field/content/DateTimeContent.js +0 -6
- package/src/sap/ui/mdc/field/content/DefaultContent.js +35 -13
- package/src/sap/ui/mdc/field/content/LinkContent.js +1 -1
- package/src/sap/ui/mdc/filterbar/FilterBarBase.js +285 -208
- package/src/sap/ui/mdc/filterbar/FilterBarBaseRenderer.js +1 -1
- package/src/sap/ui/mdc/filterbar/PropertyHelper.js +27 -2
- package/src/sap/ui/mdc/filterbar/p13n/AdaptationFilterBar.js +132 -56
- package/src/sap/ui/mdc/filterbar/p13n/FilterColumnLayout.js +2 -2
- package/src/sap/ui/mdc/filterbar/p13n/GroupContainer.js +7 -3
- package/src/sap/ui/mdc/filterbar/p13n/TableContainer.js +52 -14
- package/src/sap/ui/mdc/filterbar/vh/CollectiveSearchSelect.js +3 -1
- package/src/sap/ui/mdc/filterbar/vh/FilterBar.js +43 -19
- package/src/sap/ui/mdc/filterbar/vh/FilterContainer.js +1 -1
- package/src/sap/ui/mdc/flexibility/AggregateFlex.js +2 -2
- package/src/sap/ui/mdc/flexibility/AggregationConfigFlex.js +48 -31
- package/src/sap/ui/mdc/flexibility/Chart.flexibility.js +6 -4
- package/src/sap/ui/mdc/flexibility/ChartItemFlex.js +36 -0
- package/src/sap/ui/mdc/flexibility/ColumnFlex.js +1 -1
- package/src/sap/ui/mdc/flexibility/ConditionFlex.js +47 -10
- package/src/sap/ui/mdc/flexibility/FilterBar.flexibility.js +4 -3
- package/src/sap/ui/mdc/flexibility/FilterItemFlex.js +1 -1
- package/src/sap/ui/mdc/flexibility/GroupFlex.js +1 -1
- package/src/sap/ui/mdc/flexibility/ItemBaseFlex.js +0 -1
- package/src/sap/ui/mdc/flexibility/Panel.flexibility.js +9 -3
- package/src/sap/ui/mdc/flexibility/PropertyInfoFlex.js +27 -0
- package/src/sap/ui/mdc/flexibility/SortFlex.js +2 -2
- package/src/sap/ui/mdc/flp/FlpLinkDelegate.js +6 -6
- package/src/sap/ui/mdc/library.js +54 -44
- 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 +2 -2
- 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/Log.js +1 -1
- package/src/sap/ui/mdc/link/Panel.js +140 -177
- package/src/sap/ui/mdc/link/PanelItem.js +1 -1
- package/src/sap/ui/mdc/link/PanelListItem.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 +57 -2
- package/src/sap/ui/mdc/messagebundle_ar.properties +39 -4
- package/src/sap/ui/mdc/messagebundle_bg.properties +54 -19
- package/src/sap/ui/mdc/messagebundle_ca.properties +37 -2
- package/src/sap/ui/mdc/messagebundle_cs.properties +52 -17
- package/src/sap/ui/mdc/messagebundle_cy.properties +37 -2
- package/src/sap/ui/mdc/messagebundle_da.properties +44 -9
- package/src/sap/ui/mdc/messagebundle_de.properties +37 -2
- package/src/sap/ui/mdc/messagebundle_el.properties +38 -3
- package/src/sap/ui/mdc/messagebundle_en.properties +37 -2
- package/src/sap/ui/mdc/messagebundle_en_GB.properties +37 -2
- package/src/sap/ui/mdc/messagebundle_en_US_sappsd.properties +37 -2
- package/src/sap/ui/mdc/messagebundle_en_US_saprigi.properties +61 -4
- package/src/sap/ui/mdc/messagebundle_en_US_saptrc.properties +37 -2
- package/src/sap/ui/mdc/messagebundle_es.properties +37 -2
- package/src/sap/ui/mdc/messagebundle_es_MX.properties +51 -16
- package/src/sap/ui/mdc/messagebundle_et.properties +37 -2
- package/src/sap/ui/mdc/messagebundle_fi.properties +43 -8
- package/src/sap/ui/mdc/messagebundle_fr.properties +38 -3
- package/src/sap/ui/mdc/messagebundle_fr_CA.properties +37 -2
- package/src/sap/ui/mdc/messagebundle_hi.properties +38 -3
- package/src/sap/ui/mdc/messagebundle_hr.properties +37 -2
- package/src/sap/ui/mdc/messagebundle_hu.properties +37 -2
- package/src/sap/ui/mdc/messagebundle_id.properties +37 -2
- package/src/sap/ui/mdc/messagebundle_it.properties +53 -18
- package/src/sap/ui/mdc/messagebundle_iw.properties +38 -3
- package/src/sap/ui/mdc/messagebundle_ja.properties +37 -2
- package/src/sap/ui/mdc/messagebundle_kk.properties +37 -2
- package/src/sap/ui/mdc/messagebundle_ko.properties +41 -6
- package/src/sap/ui/mdc/messagebundle_lt.properties +37 -2
- package/src/sap/ui/mdc/messagebundle_lv.properties +41 -6
- package/src/sap/ui/mdc/messagebundle_ms.properties +37 -2
- package/src/sap/ui/mdc/messagebundle_nl.properties +42 -7
- package/src/sap/ui/mdc/messagebundle_no.properties +45 -10
- package/src/sap/ui/mdc/messagebundle_pl.properties +38 -3
- package/src/sap/ui/mdc/messagebundle_pt.properties +44 -9
- package/src/sap/ui/mdc/messagebundle_pt_PT.properties +37 -2
- package/src/sap/ui/mdc/messagebundle_ro.properties +37 -2
- package/src/sap/ui/mdc/messagebundle_ru.properties +37 -2
- package/src/sap/ui/mdc/messagebundle_sh.properties +37 -2
- package/src/sap/ui/mdc/messagebundle_sk.properties +37 -2
- package/src/sap/ui/mdc/messagebundle_sl.properties +37 -2
- package/src/sap/ui/mdc/messagebundle_sv.properties +39 -4
- package/src/sap/ui/mdc/messagebundle_th.properties +40 -5
- package/src/sap/ui/mdc/messagebundle_tr.properties +37 -2
- package/src/sap/ui/mdc/messagebundle_uk.properties +41 -6
- package/src/sap/ui/mdc/messagebundle_vi.properties +37 -2
- package/src/sap/ui/mdc/messagebundle_zh_CN.properties +37 -2
- package/src/sap/ui/mdc/messagebundle_zh_TW.properties +37 -2
- package/src/sap/ui/mdc/mixin/AdaptationMixin.js +30 -15
- package/src/sap/ui/mdc/mixin/DelegateMixin.js +2 -142
- package/src/sap/ui/mdc/mixin/FilterIntegrationMixin.js +14 -17
- package/src/sap/ui/mdc/mixin/PromiseMixin.js +2 -3
- package/src/sap/ui/mdc/mixin/PropertyHelperMixin.js +348 -0
- package/src/sap/ui/mdc/odata/TypeUtil.js +2 -2
- package/src/sap/ui/mdc/odata/v4/ChartDelegate.js +29 -483
- package/src/sap/ui/mdc/odata/v4/ChartPropertyHelper.js +106 -0
- package/src/sap/ui/mdc/odata/v4/FilterBarDelegate.js +116 -20
- package/src/sap/ui/mdc/odata/v4/ODataMetaModelUtil.js +2 -2
- package/src/sap/ui/mdc/odata/v4/TableDelegate.js +117 -123
- package/src/sap/ui/mdc/odata/v4/TypeUtil.js +3 -5
- package/src/sap/ui/mdc/odata/v4/ValueHelpDelegate.js +1 -1
- package/src/sap/ui/mdc/odata/v4/util/DelegateUtil.js +1 -1
- package/src/sap/ui/mdc/odata/v4/vizChart/{ChartDelegateNew.js → ChartDelegate.js} +459 -351
- package/src/sap/ui/mdc/p13n/AdaptationProvider.js +1 -1
- package/src/sap/ui/mdc/p13n/Engine.js +51 -30
- package/src/sap/ui/mdc/p13n/FlexUtil.js +6 -118
- package/src/sap/ui/mdc/p13n/P13nBuilder.js +7 -7
- package/src/sap/ui/mdc/p13n/PropertyHelper.js +2 -2
- package/src/sap/ui/mdc/p13n/StateUtil.js +24 -6
- package/src/sap/ui/mdc/p13n/UIManager.js +20 -19
- package/src/sap/ui/mdc/p13n/modification/FlexModificationHandler.js +4 -1
- package/src/sap/ui/mdc/p13n/modification/ModificationHandler.js +19 -12
- package/src/sap/ui/mdc/p13n/modules/DefaultProviderRegistry.js +1 -1
- package/src/sap/ui/mdc/p13n/panels/ActionToolbarPanel.js +6 -6
- package/src/sap/ui/mdc/p13n/panels/AdaptFiltersPanel.js +49 -27
- package/src/sap/ui/mdc/p13n/panels/ChartItemPanel.js +1094 -49
- package/src/sap/ui/mdc/p13n/panels/FilterPanel.js +136 -0
- package/src/sap/ui/mdc/p13n/panels/GroupView.js +53 -28
- package/src/sap/ui/mdc/p13n/panels/LinkSelectionPanel.js +108 -0
- package/src/sap/ui/mdc/p13n/subcontroller/ActionToolbarController.js +4 -7
- package/src/sap/ui/mdc/p13n/subcontroller/AdaptFiltersController.js +7 -7
- package/src/sap/ui/mdc/p13n/subcontroller/BaseController.js +156 -11
- package/src/sap/ui/mdc/p13n/subcontroller/ChartItemController.js +15 -26
- package/src/sap/ui/mdc/p13n/subcontroller/ColumnController.js +6 -5
- package/src/sap/ui/mdc/p13n/subcontroller/FilterController.js +22 -11
- package/src/sap/ui/mdc/p13n/subcontroller/LinkPanelController.js +174 -0
- package/src/sap/ui/mdc/p13n/subcontroller/SortController.js +12 -19
- package/src/sap/ui/mdc/table/Column.js +12 -12
- package/src/sap/ui/mdc/table/CreationRow.js +11 -11
- package/src/sap/ui/mdc/table/GridTableType.js +80 -33
- package/src/sap/ui/mdc/table/PropertyHelper.js +63 -19
- package/src/sap/ui/mdc/table/ResponsiveTableType.js +94 -23
- package/src/sap/ui/mdc/table/RowActionItem.js +119 -0
- package/src/sap/ui/mdc/table/RowSettings.js +45 -4
- package/src/sap/ui/mdc/table/TableTypeBase.js +2 -2
- package/src/sap/ui/mdc/table/V4AnalyticsPropertyHelper.js +2 -2
- package/src/sap/ui/mdc/themes/base/Chart.less +2 -0
- package/src/sap/ui/mdc/themes/base/FieldBase.less +0 -5
- package/src/sap/ui/mdc/themes/base/TokenDisplay.less +89 -0
- package/src/sap/ui/mdc/themes/base/TokenizerDisplay.less +90 -0
- package/src/sap/ui/mdc/themes/base/ValueHelpDialog.less +16 -4
- package/src/sap/ui/mdc/themes/base/library.source.less +2 -0
- package/src/sap/ui/mdc/util/Common.js +1 -1
- package/src/sap/ui/mdc/util/DateUtil.js +33 -8
- package/src/sap/ui/mdc/util/FilterUtil.js +2 -2
- package/src/sap/ui/mdc/util/FormatUtil.js +3 -3
- package/src/sap/ui/mdc/util/IdentifierUtil.js +6 -6
- package/src/sap/ui/mdc/util/PromiseCache.js +1 -1
- package/src/sap/ui/mdc/util/PropertyHelper.js +243 -87
- package/src/sap/ui/mdc/util/TypeUtil.js +6 -5
- package/src/sap/ui/mdc/valuehelp/Dialog.js +11 -8
- package/src/sap/ui/mdc/valuehelp/Popover.js +6 -3
- package/src/sap/ui/mdc/valuehelp/base/Container.js +2 -1
- package/src/sap/ui/mdc/valuehelp/base/Content.js +2 -1
- package/src/sap/ui/mdc/valuehelp/base/DialogTab.js +2 -1
- package/src/sap/ui/mdc/valuehelp/base/FilterableListContent.js +5 -4
- package/src/sap/ui/mdc/valuehelp/base/ListContent.js +2 -1
- package/src/sap/ui/mdc/valuehelp/content/Bool.js +2 -1
- package/src/sap/ui/mdc/valuehelp/content/Conditions.js +4 -2
- package/src/sap/ui/mdc/valuehelp/content/FixedList.js +23 -14
- package/src/sap/ui/mdc/valuehelp/content/MDCTable.js +46 -17
- package/src/sap/ui/mdc/valuehelp/content/MTable.js +48 -27
- package/test/sap/ui/mdc/testutils/opa/TestLibrary.js +3 -1
- package/test/sap/ui/mdc/testutils/opa/actions/OpenContextMenu.js +3 -3
- package/test/sap/ui/mdc/testutils/opa/{chartNew → chart}/ActionsBase.js +3 -3
- package/test/sap/ui/mdc/testutils/opa/{chartNew → chart}/ActionsViz.js +0 -0
- package/test/sap/ui/mdc/testutils/opa/{chartNew → chart}/AssertionsBase.js +1 -1
- package/test/sap/ui/mdc/testutils/opa/{chartNew → chart}/AssertionsViz.js +0 -0
- package/test/sap/ui/mdc/testutils/opa/{chartNew → chart}/ChartNew.js +0 -0
- package/test/sap/ui/mdc/testutils/opa/chart/TestObjects.js +291 -0
- package/test/sap/ui/mdc/testutils/opa/chartNew/TestObjects.js +7 -7
- package/test/sap/ui/mdc/testutils/opa/filterbar/TestObjects.js +8 -9
- package/test/sap/ui/mdc/testutils/opa/filterbar/Util.js +12 -11
- package/test/sap/ui/mdc/testutils/opa/link/Actions.js +85 -0
- package/test/sap/ui/mdc/testutils/opa/link/Assertions.js +79 -0
- package/test/sap/ui/mdc/testutils/opa/link/TestObjects.js +112 -0
- package/test/sap/ui/mdc/testutils/opa/link/waitForLink.js +50 -0
- package/test/sap/ui/mdc/testutils/opa/p13n/Actions.js +264 -139
- package/test/sap/ui/mdc/testutils/opa/p13n/Util.js +27 -26
- package/test/sap/ui/mdc/testutils/opa/valueHelp/Actions.js +54 -0
- package/test/sap/ui/mdc/testutils/opa/valueHelp/Assertions.js +5 -0
- package/test/sap/ui/mdc/testutils/opa/valueHelp/TestObjects.js +40 -0
- package/test/sap/ui/mdc/testutils/opa/valueHelp/Util.js +28 -0
- package/src/sap/ui/mdc/ChartDelegateNew.js +0 -395
- package/src/sap/ui/mdc/ChartNew.js +0 -1114
- package/src/sap/ui/mdc/ChartNewRenderer.js +0 -91
- package/src/sap/ui/mdc/chart/DimensionItem.js +0 -281
- package/src/sap/ui/mdc/chart/MeasureItem.js +0 -318
- package/src/sap/ui/mdc/chart/MetadataDelegate.js +0 -31
- package/src/sap/ui/mdc/chart/SelectionHandler.js +0 -127
- package/src/sap/ui/mdc/chart/ToolbarHandler.js +0 -328
- package/src/sap/ui/mdc/chartNew/ChartTypeButtonNew.js +0 -295
- package/src/sap/ui/mdc/chartNew/DrillStackHandlerNew.js +0 -212
- package/src/sap/ui/mdc/chartNew/ItemNew.js +0 -72
- package/src/sap/ui/mdc/chartNew/SelectionDetailsActionsNew.js +0 -34
- package/src/sap/ui/mdc/designtime/chart/ChartNew.designtime.js +0 -91
- package/src/sap/ui/mdc/filterbar/vh/GenericFilterBarDelegate.js +0 -150
- package/src/sap/ui/mdc/link/SelectionDialog.control.xml +0 -66
- package/src/sap/ui/mdc/link/SelectionDialog.js +0 -213
- package/src/sap/ui/mdc/link/SelectionDialogItem.js +0 -86
- package/src/sap/ui/mdc/odata/v4/ChartDelegateNew.js +0 -35
- package/src/sap/ui/mdc/odata/v4/ChartPropertyHelperNew.js +0 -39
- package/src/sap/ui/mdc/p13n/panels/BasePanel.js +0 -721
- package/src/sap/ui/mdc/p13n/panels/ChartItemPanelNew.js +0 -1179
- package/src/sap/ui/mdc/p13n/panels/ListView.js +0 -404
- package/src/sap/ui/mdc/p13n/panels/SelectionPanel.js +0 -92
- package/src/sap/ui/mdc/p13n/panels/SortPanel.js +0 -150
- package/src/sap/ui/mdc/ui/Container.js +0 -240
- package/src/sap/ui/mdc/ui/ContainerItem.js +0 -79
|
@@ -1,150 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* ! OpenUI5
|
|
3
|
-
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
|
-
*/
|
|
6
|
-
sap.ui.define([
|
|
7
|
-
"sap/ui/mdc/odata/v4/FilterBarDelegate",
|
|
8
|
-
'sap/ui/base/ManagedObjectObserver'
|
|
9
|
-
], function(FilterBarDelegate, ManagedObjectObserver) {
|
|
10
|
-
"use strict";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Helper class for sap.ui.mdc.filterbar.vh.GenericFilterBarDelegate.
|
|
14
|
-
* This GenericFilterbarDelegate creates the propertyInfo based on the FilterItems of the Filterbar and does NOT load and analyse any metadata!
|
|
15
|
-
* <h3><b>Note:</b></h3>
|
|
16
|
-
* The class is experimental and the API/behaviour is not finalised and hence this should not be used for productive usage.
|
|
17
|
-
*
|
|
18
|
-
* @author SAP SE
|
|
19
|
-
* @private
|
|
20
|
-
* @experimental
|
|
21
|
-
* @since 1.86
|
|
22
|
-
* @alias sap.ui.mdc.filterbar.vh.GenericFilterBarDelegate
|
|
23
|
-
*/
|
|
24
|
-
var GenericFilterBarDelegate = Object.assign({}, FilterBarDelegate);
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* Fetches the relevant metadata (from the FilterItems of the FiterBar) for the FilterBar and returns property info array
|
|
28
|
-
*
|
|
29
|
-
* @param {Object} oFilterBar - instance of the valuehelp FilterBar
|
|
30
|
-
* @returns {Array} array of property info
|
|
31
|
-
*/
|
|
32
|
-
GenericFilterBarDelegate.fetchProperties = function(oFilterBar) {
|
|
33
|
-
if (!oFilterBar.__oObserver) {
|
|
34
|
-
oFilterBar.__oObserver = new ManagedObjectObserver(_observeChanges);
|
|
35
|
-
oFilterBar.__oObserver.observe(oFilterBar, {
|
|
36
|
-
aggregations: ["filterItems"]
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
return new Promise(function(fResolve) {
|
|
41
|
-
var aFilterItems = oFilterBar.getFilterItems();
|
|
42
|
-
oFilterBar.__aProperties = [];
|
|
43
|
-
aFilterItems.forEach(function(oFF){
|
|
44
|
-
addFilterField(oFF, oFilterBar.__aProperties);
|
|
45
|
-
});
|
|
46
|
-
|
|
47
|
-
fResolve(oFilterBar.__aProperties);
|
|
48
|
-
});
|
|
49
|
-
|
|
50
|
-
};
|
|
51
|
-
|
|
52
|
-
function addFilterField(oFF, aProperties) {
|
|
53
|
-
var sPath = oFF.getBindingPath("conditions");
|
|
54
|
-
if (!sPath) {
|
|
55
|
-
return;
|
|
56
|
-
}
|
|
57
|
-
var aPathParts = sPath.split("/");
|
|
58
|
-
var sFieldPath = aPathParts[aPathParts.length - 1];
|
|
59
|
-
|
|
60
|
-
aProperties.push({
|
|
61
|
-
name: sFieldPath,
|
|
62
|
-
label: oFF.getLabel() || sFieldPath,
|
|
63
|
-
type: oFF.getDataType(),
|
|
64
|
-
formatOptions: oFF.getDataTypeFormatOptions(),
|
|
65
|
-
constraints: oFF.getDataTypeConstraints(),
|
|
66
|
-
typeConfig: oFF._getFormatOptions().delegate.getTypeUtil().getTypeConfig(oFF.getDataType(), oFF.getDataTypeFormatOptions(), oFF.getDataTypeConstraints()),
|
|
67
|
-
required: oFF.getRequired(),
|
|
68
|
-
hiddenFilter: false,
|
|
69
|
-
visible: oFF.getVisible(),
|
|
70
|
-
maxConditions : oFF.getMaxConditions(),
|
|
71
|
-
fieldHelp: oFF.getFieldHelp()
|
|
72
|
-
});
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
function removeFilterField(oFF, aProperties) {
|
|
76
|
-
var sPath = oFF.getBindingPath("conditions");
|
|
77
|
-
if (!sPath) {
|
|
78
|
-
return;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
function _getProperty(sName) {
|
|
82
|
-
var oNamedProperty = null;
|
|
83
|
-
aProperties.some(function(oProperty) {
|
|
84
|
-
if (oProperty.name === sName) {
|
|
85
|
-
oNamedProperty = oProperty;
|
|
86
|
-
}
|
|
87
|
-
return oNamedProperty !== null;
|
|
88
|
-
});
|
|
89
|
-
|
|
90
|
-
return oNamedProperty;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
function _removeProperty(sName) {
|
|
94
|
-
var nIdx = -1;
|
|
95
|
-
aProperties.some(function(oProperty, index) {
|
|
96
|
-
if (oProperty.name === sName) {
|
|
97
|
-
nIdx = index;
|
|
98
|
-
}
|
|
99
|
-
return nIdx !== -1;
|
|
100
|
-
});
|
|
101
|
-
|
|
102
|
-
if (nIdx >= 0) {
|
|
103
|
-
aProperties.splice(nIdx, 1);
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
return nIdx;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
var aPathParts = sPath.split("/");
|
|
110
|
-
var sFieldPath = aPathParts[aPathParts.length - 1];
|
|
111
|
-
if (_getProperty(sFieldPath)) {
|
|
112
|
-
_removeProperty(sFieldPath);
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
function _observeChanges(oChanges) {
|
|
119
|
-
var oFilterBar, aProperties;
|
|
120
|
-
|
|
121
|
-
if (oChanges.name === "filterItems") {
|
|
122
|
-
if (oChanges.mutation === "insert") {
|
|
123
|
-
var oNewFF = oChanges.child;
|
|
124
|
-
oFilterBar = oNewFF.getParent();
|
|
125
|
-
aProperties = oFilterBar.__aProperties;
|
|
126
|
-
addFilterField(oNewFF, aProperties);
|
|
127
|
-
return;
|
|
128
|
-
}
|
|
129
|
-
if (oChanges.mutation === "remove") {
|
|
130
|
-
var oRemoveFF = oChanges.child;
|
|
131
|
-
oFilterBar = oRemoveFF.getParent();
|
|
132
|
-
aProperties = oFilterBar.__aProperties;
|
|
133
|
-
removeFilterField(oRemoveFF, aProperties);
|
|
134
|
-
return;
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
GenericFilterBarDelegate.cleanup = function(oFilterBar) {
|
|
140
|
-
|
|
141
|
-
if (oFilterBar.__oObserver) {
|
|
142
|
-
oFilterBar.__oObserver.disconnect();
|
|
143
|
-
delete oFilterBar.__oObserver;
|
|
144
|
-
delete oFilterBar.__aProperties;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
};
|
|
148
|
-
|
|
149
|
-
return GenericFilterBarDelegate;
|
|
150
|
-
});
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
<core:FragmentDefinition xmlns:m="sap.m" xmlns:mdcLink="sap.ui.mdc.link" xmlns:core="sap.ui.core">
|
|
2
|
-
|
|
3
|
-
<m:Dialog horizontalScrolling="false"
|
|
4
|
-
contentWidth="25rem"
|
|
5
|
-
contentHeight="35rem"
|
|
6
|
-
draggable="true"
|
|
7
|
-
resizable="true"
|
|
8
|
-
title="{$this.i18n>info.SELECTION_DIALOG_ALIGNEDTITLE}"
|
|
9
|
-
stretch="{device>/system/phone}"
|
|
10
|
-
afterClose="onAfterClose"
|
|
11
|
-
class="mdcbaseinfoSelectionDialog">
|
|
12
|
-
<m:content>
|
|
13
|
-
<m:Table id="idList"
|
|
14
|
-
mode="MultiSelect"
|
|
15
|
-
includeItemInSelection="false"
|
|
16
|
-
selectionChange="onSelectionChange"
|
|
17
|
-
items="{path:'$this>/items',
|
|
18
|
-
templateShareable:false}">
|
|
19
|
-
<m:headerToolbar>
|
|
20
|
-
<m:OverflowToolbar>
|
|
21
|
-
<m:SearchField id="idSearchField" liveChange="onSearchFieldLiveChange" width="100%">
|
|
22
|
-
<m:layoutData>
|
|
23
|
-
<m:OverflowToolbarLayoutData shrinkable="true" moveToOverflow="true" priority="High"/>
|
|
24
|
-
</m:layoutData>
|
|
25
|
-
</m:SearchField>
|
|
26
|
-
</m:OverflowToolbar>
|
|
27
|
-
</m:headerToolbar>
|
|
28
|
-
<m:columns>
|
|
29
|
-
<m:Column>
|
|
30
|
-
<m:Text text="{$this.i18n>info.SELECTION_DIALOG_INFO_TOOLBAR} ({path:'$this>/@custom/countOfSelectedItems'}/{path:'$this>/@custom/countOfItems'}) "/>
|
|
31
|
-
</m:Column>
|
|
32
|
-
</m:columns>
|
|
33
|
-
<m:items>
|
|
34
|
-
<m:ColumnListItem id="idListItem" selected="{path:'$this>visible'}">
|
|
35
|
-
<mdcLink:PanelListItem visible="true"
|
|
36
|
-
text="{$this>text}"
|
|
37
|
-
description="{$this>description}"
|
|
38
|
-
href="{= ${$this>/showItemAsLink} ? ${$this>href}:null}"
|
|
39
|
-
target="{$this>target}"
|
|
40
|
-
icon="{$this>icon}"
|
|
41
|
-
pressLink="onPressLink"/>
|
|
42
|
-
</m:ColumnListItem>
|
|
43
|
-
</m:items>
|
|
44
|
-
</m:Table>
|
|
45
|
-
</m:content>
|
|
46
|
-
|
|
47
|
-
<m:buttons>
|
|
48
|
-
<m:Button id="idOk" text="{$this.i18n>p13nDialog.OK}" press="onPressOk" type="Emphasized">
|
|
49
|
-
<m:layoutData>
|
|
50
|
-
<m:OverflowToolbarLayoutData priority="NeverOverflow"/>
|
|
51
|
-
</m:layoutData>
|
|
52
|
-
</m:Button>
|
|
53
|
-
<m:Button id="idCancel" text="{$this.i18n>p13nDialog.CANCEL}" press="onPressCancel">
|
|
54
|
-
<m:layoutData>
|
|
55
|
-
<m:OverflowToolbarLayoutData priority="NeverOverflow"/>
|
|
56
|
-
</m:layoutData>
|
|
57
|
-
</m:Button>
|
|
58
|
-
<m:Button visible="{$this>/showReset}" enabled="{$this>/showResetEnabled}" id="idReset" text="{$this.i18n>p13nDialog.RESET}" press="onPressReset">
|
|
59
|
-
<m:layoutData>
|
|
60
|
-
<m:OverflowToolbarLayoutData priority="NeverOverflow"/>
|
|
61
|
-
</m:layoutData>
|
|
62
|
-
</m:Button>
|
|
63
|
-
</m:buttons>
|
|
64
|
-
</m:Dialog>
|
|
65
|
-
|
|
66
|
-
</core:FragmentDefinition>
|
|
@@ -1,213 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* ! OpenUI5
|
|
3
|
-
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
sap.ui.define([
|
|
8
|
-
'sap/ui/core/XMLComposite', 'sap/ui/model/Filter', 'sap/ui/model/FilterOperator', 'sap/ui/base/ManagedObjectObserver', 'sap/base/Log', 'sap/ui/Device', 'sap/ui/model/json/JSONModel', 'sap/m/MessageBox'
|
|
9
|
-
], function(XMLComposite, Filter, FilterOperator, ManagedObjectObserver, Log, Device, JSONModel, MessageBox) {
|
|
10
|
-
"use strict";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Constructor for a new SelectionDialog.
|
|
14
|
-
*
|
|
15
|
-
* @param {string} [sId] ID for the new control, generated automatically if no ID is given
|
|
16
|
-
* @param {object} [mSettings] initial settings for the new control
|
|
17
|
-
* @class The SelectionDialog control is used to show <code>items</code>.
|
|
18
|
-
* @extends sap.ui.core.XMLComposite
|
|
19
|
-
* @author SAP SE
|
|
20
|
-
* @version 1.97.1
|
|
21
|
-
* @constructor
|
|
22
|
-
* @private
|
|
23
|
-
* @since 1.60.0
|
|
24
|
-
* @alias sap.ui.mdc.link.SelectionDialog
|
|
25
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
26
|
-
*/
|
|
27
|
-
var SelectionDialog = XMLComposite.extend("sap.ui.mdc.link.SelectionDialog", /** @lends sap.ui.mdc.link.SelectionDialog.prototype */
|
|
28
|
-
{
|
|
29
|
-
metadata: {
|
|
30
|
-
library: "sap.ui.mdc",
|
|
31
|
-
properties: {
|
|
32
|
-
showItemAsLink: {
|
|
33
|
-
type: "boolean",
|
|
34
|
-
defaultValue: true,
|
|
35
|
-
invalidate: true
|
|
36
|
-
},
|
|
37
|
-
/**
|
|
38
|
-
* This property determines whether the 'Restore' button is shown inside the dialog. If this property is set to true, clicking the
|
|
39
|
-
* 'Reset' button will trigger the <code>reset</code> event sending a notification that model data must be reset.
|
|
40
|
-
*/
|
|
41
|
-
showReset: {
|
|
42
|
-
type: "boolean",
|
|
43
|
-
defaultValue: false,
|
|
44
|
-
invalidate: true
|
|
45
|
-
},
|
|
46
|
-
|
|
47
|
-
/**
|
|
48
|
-
* This property determines whether the 'Restore' button is enabled and is taken into account only if <code>showReset</code> is set
|
|
49
|
-
* to <code>true</code>.
|
|
50
|
-
*/
|
|
51
|
-
showResetEnabled: {
|
|
52
|
-
type: "boolean",
|
|
53
|
-
defaultValue: false,
|
|
54
|
-
invalidate: true
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
defaultAggregation: "items",
|
|
58
|
-
aggregations: {
|
|
59
|
-
/**
|
|
60
|
-
* Defines personalization items.
|
|
61
|
-
*/
|
|
62
|
-
items: {
|
|
63
|
-
type: "sap.ui.mdc.link.SelectionDialogItem",
|
|
64
|
-
multiple: true,
|
|
65
|
-
singularName: "item"
|
|
66
|
-
}
|
|
67
|
-
},
|
|
68
|
-
events: {
|
|
69
|
-
/**
|
|
70
|
-
* Event fired if an item in <code>SelectionDialog</code> is set as visible or invisible.
|
|
71
|
-
*/
|
|
72
|
-
visibilityChanged: {
|
|
73
|
-
key: {
|
|
74
|
-
type: "string"
|
|
75
|
-
},
|
|
76
|
-
visible: {
|
|
77
|
-
type: "boolean"
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
|
-
/**
|
|
81
|
-
* Event fired if the 'ok' button in <code>SelectionDialog</code> is clicked.
|
|
82
|
-
*/
|
|
83
|
-
ok: {},
|
|
84
|
-
/**
|
|
85
|
-
* Event fired if the 'cancel' button in <code>SelectionDialog</code> is clicked.
|
|
86
|
-
*/
|
|
87
|
-
cancel: {},
|
|
88
|
-
/**
|
|
89
|
-
* Event fired if the 'reset' button in <code>SelectionDialog</code> is clicked.
|
|
90
|
-
*/
|
|
91
|
-
reset: {}
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
});
|
|
95
|
-
|
|
96
|
-
SelectionDialog.prototype.init = function() {
|
|
97
|
-
// Set device model
|
|
98
|
-
var oDeviceModel = new JSONModel(Device);
|
|
99
|
-
oDeviceModel.setDefaultBindingMode("OneWay");
|
|
100
|
-
oDeviceModel.setSizeLimit(1000);
|
|
101
|
-
this.setModel(oDeviceModel, "device");
|
|
102
|
-
this._getManagedObjectModel().setSizeLimit(1000);
|
|
103
|
-
this._bUnconfirmedResetPressed = false;
|
|
104
|
-
};
|
|
105
|
-
SelectionDialog.prototype.open = function() {
|
|
106
|
-
this._getManagedObjectModel().setProperty("/@custom/countOfItems", this._getTable().getItems().length);
|
|
107
|
-
this._updateCountOfSelectedItems();
|
|
108
|
-
this._getCompositeAggregation().open();
|
|
109
|
-
};
|
|
110
|
-
SelectionDialog.prototype.close = function() {
|
|
111
|
-
this._getCompositeAggregation().close();
|
|
112
|
-
};
|
|
113
|
-
SelectionDialog.prototype.onSelectionChange = function(oEvent) {
|
|
114
|
-
oEvent.getParameter("listItems").forEach(function(oTableItem) {
|
|
115
|
-
this._selectTableItem(oTableItem);
|
|
116
|
-
}, this);
|
|
117
|
-
};
|
|
118
|
-
SelectionDialog.prototype.onSearchFieldLiveChange = function(oEvent) {
|
|
119
|
-
var aFilters = [];
|
|
120
|
-
|
|
121
|
-
var oSearchField = oEvent.getSource();
|
|
122
|
-
var sSearchText = oSearchField ? oSearchField.getValue() : "";
|
|
123
|
-
if (sSearchText) {
|
|
124
|
-
aFilters.push(new Filter([
|
|
125
|
-
new Filter("text", FilterOperator.Contains, sSearchText), new Filter("tooltip", FilterOperator.Contains, sSearchText), new Filter("description", FilterOperator.Contains, sSearchText)
|
|
126
|
-
], false));
|
|
127
|
-
}
|
|
128
|
-
this._getTable().getBinding("items").filter(aFilters);
|
|
129
|
-
};
|
|
130
|
-
SelectionDialog.prototype.onPressOk = function() {
|
|
131
|
-
this.fireOk();
|
|
132
|
-
};
|
|
133
|
-
SelectionDialog.prototype.onPressCancel = function() {
|
|
134
|
-
this.fireCancel();
|
|
135
|
-
};
|
|
136
|
-
SelectionDialog.prototype.onPressReset = function() {
|
|
137
|
-
this._resetSelection();
|
|
138
|
-
this.fireReset();
|
|
139
|
-
};
|
|
140
|
-
SelectionDialog.prototype.onAfterClose = function() {
|
|
141
|
-
this.fireCancel();
|
|
142
|
-
};
|
|
143
|
-
SelectionDialog.prototype.onPressLink = function(oEvent) {
|
|
144
|
-
var sHref = oEvent.getParameter("href");
|
|
145
|
-
if (this.getParent().getBeforeNavigationCallback() && oEvent.getParameter("target") !== "_blank") {
|
|
146
|
-
oEvent.preventDefault();
|
|
147
|
-
this.getParent().getBeforeNavigationCallback()(oEvent).then(function (bNavigate) {
|
|
148
|
-
if (bNavigate) {
|
|
149
|
-
window.location.href = sHref;
|
|
150
|
-
}
|
|
151
|
-
});
|
|
152
|
-
} else if (oEvent.getParameter("target") !== "_blank") {
|
|
153
|
-
oEvent.preventDefault();
|
|
154
|
-
MessageBox.show(sap.ui.getCore().getLibraryResourceBundle("sap.ui.mdc").getText("info.SELECTION_DIALOG_LINK_VALIDATION_QUESTION"), {
|
|
155
|
-
icon: MessageBox.Icon.WARNING,
|
|
156
|
-
title: sap.ui.getCore().getLibraryResourceBundle("sap.ui.mdc").getText("info.SELECTION_DIALOG_LINK_VALIDATION_TITLE"),
|
|
157
|
-
actions: [
|
|
158
|
-
MessageBox.Action.YES, MessageBox.Action.NO
|
|
159
|
-
],
|
|
160
|
-
onClose: function (oAction) {
|
|
161
|
-
if (oAction === MessageBox.Action.YES) {
|
|
162
|
-
window.location.href = sHref;
|
|
163
|
-
}
|
|
164
|
-
},
|
|
165
|
-
styleClass: this.$().closest(".sapUiSizeCompact").length ? "sapUiSizeCompact" : ""
|
|
166
|
-
});
|
|
167
|
-
}
|
|
168
|
-
};
|
|
169
|
-
SelectionDialog.prototype._selectTableItem = function(oTableItem) {
|
|
170
|
-
this._updateCountOfSelectedItems();
|
|
171
|
-
|
|
172
|
-
this.fireVisibilityChanged({
|
|
173
|
-
key: this._getKeyByTableItem(oTableItem),
|
|
174
|
-
visible: oTableItem.getSelected()
|
|
175
|
-
});
|
|
176
|
-
};
|
|
177
|
-
SelectionDialog.prototype._getTable = function() {
|
|
178
|
-
return sap.ui.getCore().byId(this.getId() + "--idList") || null;
|
|
179
|
-
};
|
|
180
|
-
SelectionDialog.prototype._getSelectedTableContextPaths = function() {
|
|
181
|
-
return this._getTable().getSelectedContextPaths();
|
|
182
|
-
};
|
|
183
|
-
/**
|
|
184
|
-
*
|
|
185
|
-
* @param {sap.m.ListItemBase} oTableItem Item whose key shall be returned
|
|
186
|
-
* @returns {string | null} key of the oTableItem
|
|
187
|
-
* @private
|
|
188
|
-
*/
|
|
189
|
-
SelectionDialog.prototype._getKeyByTableItem = function(oTableItem) {
|
|
190
|
-
var iIndex = this._getTable().indexOfItem(oTableItem);
|
|
191
|
-
return iIndex < 0 ? null : this._getTable().getBinding("items").getContexts()[iIndex].getObject().getKey();
|
|
192
|
-
};
|
|
193
|
-
SelectionDialog.prototype._updateCountOfSelectedItems = function() {
|
|
194
|
-
this._getManagedObjectModel().setProperty("/@custom/countOfSelectedItems", this._getSelectedTableContextPaths().length);
|
|
195
|
-
};
|
|
196
|
-
|
|
197
|
-
SelectionDialog.prototype._resetSelection = function() {
|
|
198
|
-
var oTable = this._getTable();
|
|
199
|
-
if (oTable) {
|
|
200
|
-
oTable.getItems().forEach(function(oTableItem) {
|
|
201
|
-
var iIndex = oTable.indexOfItem(oTableItem);
|
|
202
|
-
var bIsBaseline = oTable.getBinding("items").getContexts(undefined, undefined, undefined, true)[iIndex].getObject().getIsBaseline();
|
|
203
|
-
if (oTableItem.getSelected() !== bIsBaseline) {
|
|
204
|
-
oTableItem.setSelected(bIsBaseline);
|
|
205
|
-
this._selectTableItem(oTableItem);
|
|
206
|
-
}
|
|
207
|
-
}.bind(this));
|
|
208
|
-
}
|
|
209
|
-
};
|
|
210
|
-
|
|
211
|
-
return SelectionDialog;
|
|
212
|
-
|
|
213
|
-
});
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* ! OpenUI5
|
|
3
|
-
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
sap.ui.define([
|
|
8
|
-
'sap/ui/core/Element'
|
|
9
|
-
], function(Element) {
|
|
10
|
-
"use strict";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Constructor for a new SelectionDialogItem.
|
|
14
|
-
*
|
|
15
|
-
* @param {string} [sId] ID for the new control, generated automatically if no ID is given
|
|
16
|
-
* @param {object} [mSettings] initial settings for the new control
|
|
17
|
-
* @class tbd
|
|
18
|
-
* @extends sap.ui.core.Element
|
|
19
|
-
* @version 1.97.1
|
|
20
|
-
* @constructor
|
|
21
|
-
* @abstract
|
|
22
|
-
* @private
|
|
23
|
-
* @since 1.60.0
|
|
24
|
-
* @alias sap.ui.mdc.link.SelectionDialogItem
|
|
25
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
26
|
-
*/
|
|
27
|
-
var SelectionDialogItem = Element.extend("sap.ui.mdc.link.SelectionDialogItem", /** @lends sap.ui.mdc.link.SelectionDialogItem.prototype */
|
|
28
|
-
{
|
|
29
|
-
metadata: {
|
|
30
|
-
library: "sap.ui.mdc",
|
|
31
|
-
properties: {
|
|
32
|
-
/**
|
|
33
|
-
* The unique key of the item.
|
|
34
|
-
*/
|
|
35
|
-
key: {
|
|
36
|
-
type: "string"
|
|
37
|
-
},
|
|
38
|
-
/**
|
|
39
|
-
* The text to be displayed for the item.
|
|
40
|
-
*/
|
|
41
|
-
text: {
|
|
42
|
-
type: "string"
|
|
43
|
-
},
|
|
44
|
-
/**
|
|
45
|
-
* The description to be displayed for the item.
|
|
46
|
-
*/
|
|
47
|
-
description: {
|
|
48
|
-
type: "string"
|
|
49
|
-
},
|
|
50
|
-
/**
|
|
51
|
-
* Defines href of the item.
|
|
52
|
-
*/
|
|
53
|
-
href: {
|
|
54
|
-
type: "string",
|
|
55
|
-
defaultValue: undefined
|
|
56
|
-
},
|
|
57
|
-
/**
|
|
58
|
-
* Defines target of the item.
|
|
59
|
-
*/
|
|
60
|
-
target: {
|
|
61
|
-
type: "string"
|
|
62
|
-
},
|
|
63
|
-
/**
|
|
64
|
-
* Defines icon of the item.
|
|
65
|
-
*/
|
|
66
|
-
icon: {
|
|
67
|
-
type: "string"
|
|
68
|
-
},
|
|
69
|
-
/**
|
|
70
|
-
* Defines visibility of the item.
|
|
71
|
-
*/
|
|
72
|
-
visible: {
|
|
73
|
-
type: "boolean",
|
|
74
|
-
defaultValue: false
|
|
75
|
-
},
|
|
76
|
-
isBaseline: {
|
|
77
|
-
type: "boolean",
|
|
78
|
-
defaultValue: false
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
});
|
|
83
|
-
|
|
84
|
-
return SelectionDialogItem;
|
|
85
|
-
|
|
86
|
-
});
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* ! OpenUI5
|
|
3
|
-
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
sap.ui.define([
|
|
8
|
-
"../../ChartDelegateNew",
|
|
9
|
-
"../../util/loadModules",
|
|
10
|
-
"../../library",
|
|
11
|
-
"sap/ui/core/Core"
|
|
12
|
-
], function (
|
|
13
|
-
ChartDelegate,
|
|
14
|
-
loadModules,
|
|
15
|
-
library,
|
|
16
|
-
Core
|
|
17
|
-
) {
|
|
18
|
-
"use strict";
|
|
19
|
-
/**
|
|
20
|
-
* Delegate class for sap.ui.mdc.ChartNew and ODataV4.
|
|
21
|
-
* Enables additional analytical capabilities.
|
|
22
|
-
* <b>Note:</b> The class is experimental and the API/behavior is not finalized.
|
|
23
|
-
*
|
|
24
|
-
* @author SAP SE
|
|
25
|
-
* @private
|
|
26
|
-
* @ui5-restricted sap.fe
|
|
27
|
-
* @MDC_PUBLIC_CANDIDATE
|
|
28
|
-
* @since 1.88
|
|
29
|
-
* @alias sap.ui.mdc.odata.v4.ChartDelegateNew
|
|
30
|
-
*/
|
|
31
|
-
var Delegate = Object.assign({}, ChartDelegate);
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
return Delegate;
|
|
35
|
-
});
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* ! OpenUI5
|
|
3
|
-
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
sap.ui.define([
|
|
8
|
-
"sap/ui/mdc/chartNew/PropertyHelperNew"
|
|
9
|
-
], function(
|
|
10
|
-
PropertyHelperBase
|
|
11
|
-
) {
|
|
12
|
-
"use strict";
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* Constructor for a new table property helper.
|
|
16
|
-
*
|
|
17
|
-
* @param {object[]} aProperties The properties to process in this helper
|
|
18
|
-
* @param {sap.ui.base.ManagedObject} [oParent] A reference to an instance that will act as the parent of this helper
|
|
19
|
-
*
|
|
20
|
-
* @class
|
|
21
|
-
* Table property helpers give tables of this library a consistent and standardized view on properties and their attributes.
|
|
22
|
-
* Validates the given properties, sets defaults, and provides utilities to work with these properties.
|
|
23
|
-
* The utilities can only be used for properties that are known to the helper. Known properties are all those that are passed to the constructor.
|
|
24
|
-
*
|
|
25
|
-
* @extends sap.ui.mdc.chartNew.PropertyHelperNew
|
|
26
|
-
*
|
|
27
|
-
* @author SAP SE
|
|
28
|
-
* @version 1.97.1
|
|
29
|
-
*
|
|
30
|
-
* @private
|
|
31
|
-
* @experimental
|
|
32
|
-
* @since 1.83
|
|
33
|
-
* @alias sap.ui.mdc.table.PropertyHelper
|
|
34
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
35
|
-
*/
|
|
36
|
-
var PropertyHelper = PropertyHelperBase.extend("sap.ui.mdc.odata.v4.ChartPropertyHelperNew");
|
|
37
|
-
|
|
38
|
-
return PropertyHelper;
|
|
39
|
-
},true);
|