@openui5/sap.ui.mdc 1.102.2 → 1.104.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 +17 -0
- package/LICENSES/LicenseRef-tzdata-PublicDomain.txt +5 -0
- package/THIRDPARTY.txt +35 -2
- 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/AggregationBaseDelegate.js +11 -0
- package/src/sap/ui/mdc/Chart.js +141 -57
- package/src/sap/ui/mdc/ChartDelegate.js +97 -92
- 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 +2 -2
- package/src/sap/ui/mdc/FilterBar.js +1 -1
- package/src/sap/ui/mdc/FilterField.js +2 -2
- package/src/sap/ui/mdc/Link.js +77 -12
- package/src/sap/ui/mdc/LinkDelegate.js +81 -76
- package/src/sap/ui/mdc/MultiValueField.js +1 -1
- package/src/sap/ui/mdc/Table.js +7 -1
- package/src/sap/ui/mdc/ValueHelp.js +1 -19
- package/src/sap/ui/mdc/actiontoolbar/ActionToolbarAction.js +2 -1
- package/src/sap/ui/mdc/actiontoolbar/ActionToolbarActionRenderer.js +1 -2
- package/src/sap/ui/mdc/chart/ChartSelectionDetails.js +1 -2
- package/src/sap/ui/mdc/chart/ChartToolbar.js +43 -5
- package/src/sap/ui/mdc/chart/DrillBreadcrumbs.js +6 -2
- package/src/sap/ui/mdc/chart/Item.js +6 -11
- package/src/sap/ui/mdc/chart/PropertyHelper.js +7 -8
- package/src/sap/ui/mdc/chart/SelectionDetailsActions.js +2 -3
- package/src/sap/ui/mdc/condition/Condition.js +1 -1
- package/src/sap/ui/mdc/condition/ConditionConverter.js +16 -131
- package/src/sap/ui/mdc/condition/ConditionModel.js +50 -21
- package/src/sap/ui/mdc/condition/FilterConverter.js +1 -1
- package/src/sap/ui/mdc/condition/FilterOperatorUtil.js +3 -3
- package/src/sap/ui/mdc/condition/Operator.js +1 -1
- package/src/sap/ui/mdc/condition/OperatorDynamicDateOption.js +1 -1
- package/src/sap/ui/mdc/condition/RangeOperator.js +1 -1
- package/src/sap/ui/mdc/designtime/actiontoolbar/ActionToolbar.designtime.js +18 -4
- package/src/sap/ui/mdc/designtime/actiontoolbar/ActionToolbarAction.designtime.js +53 -0
- package/src/sap/ui/mdc/designtime/chart/Chart.designtime.js +3 -0
- package/src/sap/ui/mdc/designtime/field/Field.designtime.js +9 -4
- package/src/sap/ui/mdc/designtime/table/Table.designtime.js +3 -1
- 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 +135 -39
- package/src/sap/ui/mdc/field/ConditionsType.js +71 -10
- package/src/sap/ui/mdc/field/CustomFieldHelp.js +1 -2
- package/src/sap/ui/mdc/field/CustomFieldInfo.js +1 -1
- package/src/sap/ui/mdc/field/DefineConditionPanel.js +93 -81
- package/src/sap/ui/mdc/field/DynamicDateRangeConditionsType.js +1 -1
- package/src/sap/ui/mdc/field/FieldBase.js +94 -74
- package/src/sap/ui/mdc/field/FieldBaseDelegate.js +20 -1
- package/src/sap/ui/mdc/field/FieldHelpBase.js +1 -39
- package/src/sap/ui/mdc/field/FieldInfoBase.js +23 -21
- package/src/sap/ui/mdc/field/FieldInput.js +2 -2
- package/src/sap/ui/mdc/field/FieldInputRenderUtil.js +1 -1
- package/src/sap/ui/mdc/field/FieldMultiInput.js +2 -2
- package/src/sap/ui/mdc/field/FieldValueHelp.js +1 -1
- package/src/sap/ui/mdc/field/FieldValueHelpContentWrapperBase.js +1 -19
- package/src/sap/ui/mdc/field/FieldValueHelpMTableWrapper.js +1 -1
- package/src/sap/ui/mdc/field/FieldValueHelpMdcTableWrapper.js +1 -1
- package/src/sap/ui/mdc/field/FieldValueHelpTableWrapperBase.js +1 -1
- package/src/sap/ui/mdc/field/FieldValueHelpUITableWrapper.js +1 -1
- package/src/sap/ui/mdc/field/InParameter.js +1 -4
- package/src/sap/ui/mdc/field/ListFieldHelp.js +1 -1
- 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 +2 -2
- package/src/sap/ui/mdc/field/TokenizerDisplay.js +2 -2
- package/src/sap/ui/mdc/field/ValueHelpPanel.js +1 -5
- package/src/sap/ui/mdc/field/content/DateTimeContent.js +1 -1
- package/src/sap/ui/mdc/filterbar/FilterBarBase.js +4 -4
- package/src/sap/ui/mdc/filterbar/IFilterContainer.js +1 -1
- package/src/sap/ui/mdc/filterbar/PropertyHelper.js +1 -1
- package/src/sap/ui/mdc/filterbar/p13n/AdaptationFilterBar.js +1 -1
- package/src/sap/ui/mdc/filterbar/vh/FilterBar.js +1 -1
- package/src/sap/ui/mdc/flexibility/ActionToolbar.flexibility.js +80 -4
- package/src/sap/ui/mdc/flexibility/AggregateFlex.js +19 -38
- package/src/sap/ui/mdc/flexibility/Chart.flexibility.js +1 -1
- package/src/sap/ui/mdc/flexibility/ChartTypeFlex.js +23 -41
- package/src/sap/ui/mdc/flexibility/ConditionFlex.js +43 -58
- 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 +25 -55
- package/src/sap/ui/mdc/flexibility/ItemBaseFlex.js +38 -57
- package/src/sap/ui/mdc/flexibility/SortFlex.js +23 -52
- package/src/sap/ui/mdc/flexibility/Table.flexibility.js +3 -3
- package/src/sap/ui/mdc/flexibility/Util.js +82 -0
- package/src/sap/ui/mdc/flexibility/xConfigFlex.js +137 -0
- package/src/sap/ui/mdc/flp/FlpLinkDelegate.js +3 -1
- package/src/sap/ui/mdc/library.js +4 -15
- 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 +9 -1
- package/src/sap/ui/mdc/link/Panel.js +26 -11
- package/src/sap/ui/mdc/link/PanelItem.js +10 -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 +16 -2
- package/src/sap/ui/mdc/messagebundle_ar.properties +12 -2
- package/src/sap/ui/mdc/messagebundle_bg.properties +12 -2
- package/src/sap/ui/mdc/messagebundle_ca.properties +12 -2
- package/src/sap/ui/mdc/messagebundle_cs.properties +15 -5
- package/src/sap/ui/mdc/messagebundle_cy.properties +12 -2
- package/src/sap/ui/mdc/messagebundle_da.properties +12 -2
- package/src/sap/ui/mdc/messagebundle_de.properties +12 -2
- package/src/sap/ui/mdc/messagebundle_el.properties +24 -14
- package/src/sap/ui/mdc/messagebundle_en.properties +12 -2
- package/src/sap/ui/mdc/messagebundle_en_GB.properties +12 -2
- package/src/sap/ui/mdc/messagebundle_en_US_sappsd.properties +12 -2
- package/src/sap/ui/mdc/messagebundle_en_US_saprigi.properties +12 -2
- package/src/sap/ui/mdc/messagebundle_en_US_saptrc.properties +12 -2
- package/src/sap/ui/mdc/messagebundle_es.properties +18 -8
- package/src/sap/ui/mdc/messagebundle_es_MX.properties +12 -2
- package/src/sap/ui/mdc/messagebundle_et.properties +12 -2
- package/src/sap/ui/mdc/messagebundle_fi.properties +12 -2
- package/src/sap/ui/mdc/messagebundle_fr.properties +14 -4
- package/src/sap/ui/mdc/messagebundle_fr_CA.properties +12 -2
- package/src/sap/ui/mdc/messagebundle_hi.properties +12 -2
- package/src/sap/ui/mdc/messagebundle_hr.properties +15 -5
- package/src/sap/ui/mdc/messagebundle_hu.properties +13 -3
- package/src/sap/ui/mdc/messagebundle_id.properties +12 -2
- package/src/sap/ui/mdc/messagebundle_it.properties +57 -47
- package/src/sap/ui/mdc/messagebundle_iw.properties +12 -2
- package/src/sap/ui/mdc/messagebundle_ja.properties +12 -2
- package/src/sap/ui/mdc/messagebundle_kk.properties +12 -2
- package/src/sap/ui/mdc/messagebundle_ko.properties +14 -4
- package/src/sap/ui/mdc/messagebundle_lt.properties +12 -2
- package/src/sap/ui/mdc/messagebundle_lv.properties +12 -2
- package/src/sap/ui/mdc/messagebundle_ms.properties +12 -2
- package/src/sap/ui/mdc/messagebundle_nl.properties +26 -16
- package/src/sap/ui/mdc/messagebundle_no.properties +12 -2
- package/src/sap/ui/mdc/messagebundle_pl.properties +12 -2
- package/src/sap/ui/mdc/messagebundle_pt.properties +16 -6
- package/src/sap/ui/mdc/messagebundle_pt_PT.properties +12 -2
- package/src/sap/ui/mdc/messagebundle_ro.properties +12 -2
- package/src/sap/ui/mdc/messagebundle_ru.properties +12 -2
- package/src/sap/ui/mdc/messagebundle_sh.properties +13 -3
- package/src/sap/ui/mdc/messagebundle_sk.properties +12 -2
- package/src/sap/ui/mdc/messagebundle_sl.properties +12 -2
- package/src/sap/ui/mdc/messagebundle_sv.properties +12 -2
- package/src/sap/ui/mdc/messagebundle_th.properties +17 -7
- package/src/sap/ui/mdc/messagebundle_tr.properties +12 -2
- package/src/sap/ui/mdc/messagebundle_uk.properties +12 -2
- package/src/sap/ui/mdc/messagebundle_vi.properties +12 -2
- package/src/sap/ui/mdc/messagebundle_zh_CN.properties +12 -2
- package/src/sap/ui/mdc/messagebundle_zh_TW.properties +13 -3
- 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/TypeUtil.js +24 -2
- package/src/sap/ui/mdc/odata/v4/ChartPropertyHelper.js +5 -5
- package/src/sap/ui/mdc/odata/v4/FieldBaseDelegate.js +6 -0
- package/src/sap/ui/mdc/odata/v4/TableDelegate.js +15 -28
- package/src/sap/ui/mdc/odata/v4/TypeUtil.js +6 -6
- package/src/sap/ui/mdc/odata/v4/ValueHelpDelegate.js +0 -33
- package/src/sap/ui/mdc/odata/v4/vizChart/ChartDelegate.js +360 -152
- package/src/sap/ui/mdc/p13n/Engine.js +1 -1
- package/src/sap/ui/mdc/p13n/PersistenceProvider.js +1 -0
- package/src/sap/ui/mdc/p13n/PropertyHelper.js +1 -1
- package/src/sap/ui/mdc/p13n/StateUtil.js +1 -1
- package/src/sap/ui/mdc/p13n/UIManager.js +1 -1
- package/src/sap/ui/mdc/p13n/modules/DefaultProviderRegistry.js +1 -1
- package/src/sap/ui/mdc/p13n/panels/ActionToolbarPanel.js +133 -0
- package/src/sap/ui/mdc/p13n/panels/AdaptFiltersPanel.js +1 -7
- package/src/sap/ui/mdc/p13n/panels/ChartItemPanel.js +31 -6
- package/src/sap/ui/mdc/p13n/panels/FilterPanel.js +7 -32
- package/src/sap/ui/mdc/p13n/panels/LinkSelectionPanel.js +12 -4
- package/src/sap/ui/mdc/p13n/subcontroller/ActionToolbarController.js +1 -1
- package/src/sap/ui/mdc/p13n/subcontroller/BaseController.js +1 -1
- package/src/sap/ui/mdc/p13n/subcontroller/LinkPanelController.js +24 -28
- package/src/sap/ui/mdc/table/CreationRow.js +1 -1
- package/src/sap/ui/mdc/table/PropertyHelper.js +30 -32
- package/src/sap/ui/mdc/table/ResponsiveTableType.js +2 -1
- 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/V4AnalyticsPropertyHelper.js +2 -7
- package/src/sap/ui/mdc/table/menu/Item.js +3 -3
- package/src/sap/ui/mdc/table/menu/QuickActionContainer.js +34 -0
- package/src/sap/ui/mdc/themes/base/ValueHelpDialog.less +5 -0
- package/src/sap/ui/mdc/util/FilterUtil.js +2 -2
- package/src/sap/ui/mdc/util/PromiseCache.js +1 -1
- package/src/sap/ui/mdc/util/PropertyHelper.js +49 -51
- package/src/sap/ui/mdc/util/TypeUtil.js +105 -17
- package/src/sap/ui/mdc/valuehelp/Dialog.js +97 -30
- package/src/sap/ui/mdc/valuehelp/Popover.js +48 -7
- package/src/sap/ui/mdc/valuehelp/base/Container.js +37 -28
- package/src/sap/ui/mdc/valuehelp/base/Content.js +39 -21
- package/src/sap/ui/mdc/valuehelp/base/DialogTab.js +5 -5
- package/src/sap/ui/mdc/valuehelp/base/FilterableListContent.js +41 -34
- package/src/sap/ui/mdc/valuehelp/base/ListContent.js +1 -1
- package/src/sap/ui/mdc/valuehelp/content/Bool.js +4 -4
- package/src/sap/ui/mdc/valuehelp/content/Conditions.js +11 -3
- package/src/sap/ui/mdc/valuehelp/content/FixedList.js +1 -1
- package/src/sap/ui/mdc/valuehelp/content/MDCTable.js +25 -3
- package/src/sap/ui/mdc/valuehelp/content/MTable.js +3 -3
- package/test/sap/ui/mdc/testutils/opa/JSDocGeneration.md +18 -0
- package/test/sap/ui/mdc/testutils/opa/TestLibrary.js +4 -1
- package/test/sap/ui/mdc/testutils/opa/Util.js +42 -0
- package/test/sap/ui/mdc/testutils/opa/Utils.js +22 -0
- package/test/sap/ui/mdc/testutils/opa/chart/ActionsBase.js +1 -1
- package/test/sap/ui/mdc/testutils/opa/chart/JSDoc.md +413 -0
- package/test/sap/ui/mdc/testutils/opa/chart/TestObjects.js +320 -264
- package/test/sap/ui/mdc/testutils/opa/field/Actions.js +50 -0
- package/test/sap/ui/mdc/testutils/opa/field/Assertions.js +40 -0
- package/test/sap/ui/mdc/testutils/opa/field/JSDoc.md +37 -0
- package/test/sap/ui/mdc/testutils/opa/field/TestObjects.js +52 -0
- package/test/sap/ui/mdc/testutils/opa/field/waitForField.js +36 -0
- package/test/sap/ui/mdc/testutils/opa/field/waitForFieldValueHelpButton.js +42 -0
- package/test/sap/ui/mdc/testutils/opa/filterbar/Actions.js +31 -7
- package/test/sap/ui/mdc/testutils/opa/filterbar/Assertions.js +53 -7
- package/test/sap/ui/mdc/testutils/opa/filterbar/JSDoc.md +188 -0
- package/test/sap/ui/mdc/testutils/opa/filterbar/TestObjects.js +79 -13
- package/test/sap/ui/mdc/testutils/opa/filterbar/waitForAdaptFiltersButton.js +47 -0
- package/test/sap/ui/mdc/testutils/opa/filterbar/waitForFilterBar.js +28 -0
- package/test/sap/ui/mdc/testutils/opa/filterfield/Actions.js +70 -0
- package/test/sap/ui/mdc/testutils/opa/filterfield/Assertions.js +87 -0
- package/test/sap/ui/mdc/testutils/opa/filterfield/JSDoc.md +63 -0
- package/test/sap/ui/mdc/testutils/opa/filterfield/TestObjects.js +71 -0
- package/test/sap/ui/mdc/testutils/opa/filterfield/waitForFilterField.js +36 -0
- package/test/sap/ui/mdc/testutils/opa/filterfield/waitForFilterFieldValueHelpButton.js +42 -0
- package/test/sap/ui/mdc/testutils/opa/link/JSDoc.md +136 -0
- package/test/sap/ui/mdc/testutils/opa/link/TestObjects.js +108 -91
- package/test/sap/ui/mdc/testutils/opa/p13n/Actions.js +34 -82
- package/test/sap/ui/mdc/testutils/opa/table/Actions.js +190 -6
- package/test/sap/ui/mdc/testutils/opa/table/Assertions.js +210 -0
- package/test/sap/ui/mdc/testutils/opa/table/JSDoc.md +205 -0
- package/test/sap/ui/mdc/testutils/opa/table/TestObjects.js +138 -9
- package/test/sap/ui/mdc/testutils/opa/table/Util.js +20 -0
- package/test/sap/ui/mdc/testutils/opa/table/waitForColumnHeader.js +44 -0
- package/test/sap/ui/mdc/testutils/opa/table/waitForListItemInDialogWithLabel.js +55 -0
- package/test/sap/ui/mdc/testutils/opa/table/waitForP13nButtonWithParentAndIcon.js +42 -0
- package/test/sap/ui/mdc/testutils/opa/table/waitForTable.js +26 -0
- package/test/sap/ui/mdc/testutils/opa/valueHelp/JSDoc.md +35 -0
- package/test/sap/ui/mdc/testutils/opa/valueHelp/TestObjects.js +7 -0
- package/test/sap/ui/mdc/testutils/opa/variant/Actions.js +124 -0
- package/test/sap/ui/mdc/testutils/opa/variant/Assertions.js +48 -0
- package/test/sap/ui/mdc/testutils/opa/variant/JSDoc.md +84 -0
- package/test/sap/ui/mdc/testutils/opa/variant/TestObjects.js +95 -0
- package/test/sap/ui/mdc/testutils/opa/variant/waitForVariantManager.js +43 -0
- package/test/sap/ui/mdc/testutils/opa/variant/waitForVariantManagerButton.js +45 -0
- package/test/sap/ui/mdc/testutils/opa/variant/waitForVariantManagerItem.js +54 -0
- package/test/sap/ui/mdc/testutils/opa/variant/waitForVariantManagerOverlay.js +44 -0
- package/ui5.yaml +4 -1
- package/src/sap/ui/mdc/flexibility/AggregationConfigFlex.js +0 -139
- package/src/sap/ui/mdc/odata/json/FilterBarDelegate.js +0 -155
- package/src/sap/ui/mdc/odata/v4/FilterBarDelegate.js +0 -750
- package/test/sap/ui/mdc/testutils/opa/chart/ChartNew.js +0 -24
- package/test/sap/ui/mdc/testutils/opa/chartNew/TestObjects.js +0 -288
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* ${copyright}
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
sap.ui.define([
|
|
6
|
-
"sap/ui/test/Opa5",
|
|
7
|
-
"sap/ui/mdc/integration/testlibrary/chartNew/ActionsViz",
|
|
8
|
-
"sap/ui/mdc/integration/testlibrary/chartNew/AssertionsViz"
|
|
9
|
-
], function(
|
|
10
|
-
Opa5,
|
|
11
|
-
ChartActions,
|
|
12
|
-
ChartAssertions
|
|
13
|
-
) {
|
|
14
|
-
"use strict";
|
|
15
|
-
|
|
16
|
-
Opa5.extendConfig({
|
|
17
|
-
testLibBase: {
|
|
18
|
-
mdcTestLibrary: {
|
|
19
|
-
actions: ChartActions,
|
|
20
|
-
assertions: ChartAssertions
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
});
|
|
@@ -1,288 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* ${copyright}
|
|
3
|
-
*/
|
|
4
|
-
sap.ui.define([
|
|
5
|
-
"sap/ui/test/Opa5",
|
|
6
|
-
"../chart/ActionsViz",
|
|
7
|
-
"../chart/AssertionsViz",
|
|
8
|
-
"../p13n/Actions"
|
|
9
|
-
], function(
|
|
10
|
-
Opa5,
|
|
11
|
-
chartActions,
|
|
12
|
-
chartAssertions,
|
|
13
|
-
p13nActions
|
|
14
|
-
) {
|
|
15
|
-
"use strict";
|
|
16
|
-
|
|
17
|
-
Opa5.createPageObjects({
|
|
18
|
-
onTheMDCChart: {
|
|
19
|
-
actions: {
|
|
20
|
-
/**
|
|
21
|
-
* @typedef {object} ChartPersonalizationConfiguration
|
|
22
|
-
* @property {string} key Key of the value that is the result of the personalization
|
|
23
|
-
* @property {string} role Role of the given value
|
|
24
|
-
*/
|
|
25
|
-
/**
|
|
26
|
-
* OPA5 test action
|
|
27
|
-
* This only works with the new chart personalization
|
|
28
|
-
* @param {sap.ui.core.Control | string} oChart Instance / ID of the <code>MDCChart</code> that is personalized
|
|
29
|
-
* @param {ChartPersonalizationConfiguration[]} aConfigurations Array containing the chart personalization configuration objects
|
|
30
|
-
* @returns {Promise} OPA waitFor
|
|
31
|
-
* 1. Opens the personalization dialog of a given chart.
|
|
32
|
-
* 2. Selects a chart type given by <code>sChartType</code>.
|
|
33
|
-
* 3. Executes the given ChartPersonalizationConfigurations.
|
|
34
|
-
* 4. Closes the personalization dialog.
|
|
35
|
-
*/
|
|
36
|
-
iPersonalizeChart: function(oChart, aConfigurations){
|
|
37
|
-
return p13nActions.iPersonalizeChart.call(this, oChart, null, aConfigurations, true, chartActions.iOpenThePersonalizationDialog);
|
|
38
|
-
},
|
|
39
|
-
/**
|
|
40
|
-
* @typedef {object} SortPersonalizationConfiguration
|
|
41
|
-
* @property {string} key Key of the item that is the result of the personalization
|
|
42
|
-
* @property {boolean} descending Determines whether the sort direction is descending
|
|
43
|
-
*/
|
|
44
|
-
/**
|
|
45
|
-
* OPA5 test action
|
|
46
|
-
* @param {sap.ui.core.Control | string} oChart Instance / ID of the <code>MDCChart</code> that is sorted
|
|
47
|
-
* @param {SortPersonalizationConfiguration[]} aConfigurations Array containing the sort personalization configuration objects
|
|
48
|
-
* @returns {Promise} OPA waitFor
|
|
49
|
-
* 1. Opens the personalization dialog of a given chart.
|
|
50
|
-
* 2. Executes the given SortPersonalizationConfiguration.
|
|
51
|
-
* 3. Closes the personalization dialog.
|
|
52
|
-
*/
|
|
53
|
-
iPersonalizeSort: function(oChart, aConfigurations) {
|
|
54
|
-
return p13nActions.iPersonalizeSort.call(this, oChart, aConfigurations, chartActions.iOpenThePersonalizationDialog);
|
|
55
|
-
},
|
|
56
|
-
/**
|
|
57
|
-
* Opa5 test action
|
|
58
|
-
* @param {sap.ui.core.Control | string} oChart Instance / ID of the <code>MDCChart</code> that is reset
|
|
59
|
-
* @returns {Promise} OPA waitFor
|
|
60
|
-
* 1. Opens the personalization dialog of a given chart.
|
|
61
|
-
* 2. Clicks on the reset personalization button.
|
|
62
|
-
* 3. Confirms the reset dialog.
|
|
63
|
-
* 4. Closes the personalization dialog.
|
|
64
|
-
*/
|
|
65
|
-
iResetThePersonalization: function(oChart) {
|
|
66
|
-
return p13nActions.iResetThePersonalization.call(this, oChart, chartActions.iOpenThePersonalizationDialog);
|
|
67
|
-
},
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* OPA5 test action
|
|
71
|
-
* Clicks on the "Zoom In" button in the toolbar of a mdc chart.
|
|
72
|
-
* @param {string} sId The id of the mdc chart
|
|
73
|
-
* @returns {Promise} OPA waitFor
|
|
74
|
-
*/
|
|
75
|
-
iClickOnZoomIn : function(sId){
|
|
76
|
-
return chartActions.iClickOnZoomIn.call(this, sId);
|
|
77
|
-
},
|
|
78
|
-
|
|
79
|
-
/**
|
|
80
|
-
* OPA5 test action
|
|
81
|
-
* Clicks on the "Zoom Out" button in the toolbar of a mdc chart.
|
|
82
|
-
* @param {string} sId The id of the mdc chart
|
|
83
|
-
* @returns {Promise} OPA waitFor
|
|
84
|
-
*/
|
|
85
|
-
iClickOnZoomOut : function(sId){
|
|
86
|
-
return chartActions.iClickOnZoomOut.call(this, sId);
|
|
87
|
-
},
|
|
88
|
-
/**
|
|
89
|
-
* OPA5 test action
|
|
90
|
-
* Clicks on the "Legend" toggle button in the toolbar of a mdc chart.
|
|
91
|
-
* @param {string} sId The id of the mdc chart
|
|
92
|
-
* @returns {Promise} OPA waitFor
|
|
93
|
-
*/
|
|
94
|
-
iClickOnTheLegendToggleButton : function(sId){
|
|
95
|
-
return chartActions.iClickOnTheLegendToggleButton.call(this, sId);
|
|
96
|
-
},
|
|
97
|
-
/**
|
|
98
|
-
* OPA5 test action
|
|
99
|
-
* Clicks on the "Show Details" button in the toolbar of a mdc chart.
|
|
100
|
-
* @param {*} sId The id of the mdc chart
|
|
101
|
-
* @returns {Promise} OPA waitFor
|
|
102
|
-
*/
|
|
103
|
-
iClickOnTheSelectionDetailsButton: function(sId){
|
|
104
|
-
return chartActions.iClickOnTheSelectionDetailsButton.call(this, sId);
|
|
105
|
-
},
|
|
106
|
-
/**
|
|
107
|
-
* OPA5 test action
|
|
108
|
-
* Clicks on the "Drilldown" button in the toolbar of a mdc chart.
|
|
109
|
-
* @param {string} sId The id of the mdc chart.
|
|
110
|
-
* @returns {Promise} OPA waitFor
|
|
111
|
-
*/
|
|
112
|
-
iClickOnTheDrillDownButton: function(sId){
|
|
113
|
-
return chartActions.iClickOnTheDrillDownButton.call(this, sId);
|
|
114
|
-
},
|
|
115
|
-
/**
|
|
116
|
-
* OPA5 test action
|
|
117
|
-
* Clicks on the "Chart Type" button in the toolbar of a mdc chart.
|
|
118
|
-
* @param {string} sId The id of the mdc chart.
|
|
119
|
-
* @returns {Promise} OPA waitFor
|
|
120
|
-
*/
|
|
121
|
-
iClickOnTheChartTypeButton: function(sId){
|
|
122
|
-
return chartActions.iClickOnTheChartTypeButton.apply(this, arguments);
|
|
123
|
-
},
|
|
124
|
-
/**
|
|
125
|
-
* OPA5 test action
|
|
126
|
-
* Clicks on the "Personalisation" button in the toolbar of a mdc chart.
|
|
127
|
-
* @param {string} sId The id of the mdc chart.
|
|
128
|
-
* @returns {Promise} OPA waitFor
|
|
129
|
-
*/
|
|
130
|
-
iClickOnThePersonalisationButton: function(sId){
|
|
131
|
-
return chartActions.iClickOnThePersonalisationButton.call(this, sId);
|
|
132
|
-
},
|
|
133
|
-
/**
|
|
134
|
-
* OPA5 test action
|
|
135
|
-
* Selects a specific chart type for a mdc chart in an open chart type popover
|
|
136
|
-
* @param {string} sChartTypeName The name of the chart type
|
|
137
|
-
* @returns {Promise} OPA waitFor
|
|
138
|
-
*/
|
|
139
|
-
iSelectChartTypeInPopover: function(sChartTypeName){
|
|
140
|
-
return chartActions.iSelectChartTypeInPopover.call(this, sChartTypeName);
|
|
141
|
-
},
|
|
142
|
-
/**
|
|
143
|
-
* OPA5 test action
|
|
144
|
-
* Clicks on an drill-down breadcrumb with given name for given mdc chart
|
|
145
|
-
* @param {string} sName The name of the breadcrumbs
|
|
146
|
-
* @param {string} sId Id of the mdc chart.
|
|
147
|
-
* @returns {Promise} OPA waitFor
|
|
148
|
-
*/
|
|
149
|
-
iClickOnTheBreadcrumbWithName: function(sName, sId){
|
|
150
|
-
return chartActions.iClickOnTheBreadcrumbWithName.call(this, sName, sId);
|
|
151
|
-
},
|
|
152
|
-
/**
|
|
153
|
-
* OPA5 test action
|
|
154
|
-
* Selects a specific dimension to drill-down for a mdc chart in an open chart drill-down popover
|
|
155
|
-
* @param {string} sDrillName Name of the Dimension which should be drilled-down
|
|
156
|
-
* @returns {Promise} OPA waitFor
|
|
157
|
-
*/
|
|
158
|
-
iSelectANewDrillDimensionInPopover: function(sDrillName){
|
|
159
|
-
return chartActions.iSelectANewDrillDimensionInPopover.call(this, sDrillName);
|
|
160
|
-
},
|
|
161
|
-
/**
|
|
162
|
-
* OPA5 test action
|
|
163
|
-
* Selects given datapoints on given chart.
|
|
164
|
-
* @param {array} aDataPoints Datapoint objects to select
|
|
165
|
-
* @param {string} sId Id of the mdc chart
|
|
166
|
-
* @returns {Promise} OPA waitFor
|
|
167
|
-
*/
|
|
168
|
-
iSelectTheDatapoint: function (aDataPoints, sId){
|
|
169
|
-
return chartActions.iSelectTheDatapoint.call(this, aDataPoints, sId);
|
|
170
|
-
},
|
|
171
|
-
/**
|
|
172
|
-
* OPA5 test action
|
|
173
|
-
* Selectes given categories (dimensions) for the given mdc chart
|
|
174
|
-
* @param {object} oCategories Categories to select
|
|
175
|
-
* @param {string} sId Id of the mdc chart
|
|
176
|
-
* @returns {Promise} OPA waitFor
|
|
177
|
-
*/
|
|
178
|
-
iSelectTheCategories: function (oCategories, sId){
|
|
179
|
-
return chartActions.iSelectTheDatapoint.call(this, oCategories, sId);
|
|
180
|
-
},
|
|
181
|
-
/**
|
|
182
|
-
* OPA5 test action
|
|
183
|
-
* Performs a drill-down on the MDC Chart
|
|
184
|
-
* @param {string} sId The id of the MDC Chart.
|
|
185
|
-
* @param {string} sDrillName Name of the Dimension which should be drilled-down.
|
|
186
|
-
* @returns {Promise} OPA waitFor
|
|
187
|
-
*/
|
|
188
|
-
iDrillDownInDimension: function(sId, sDrillName) {
|
|
189
|
-
return chartActions.iDrillDownInDimension.call(this, sId, sDrillName);
|
|
190
|
-
},
|
|
191
|
-
/**
|
|
192
|
-
* OPA5 test action
|
|
193
|
-
* Performs a drill-down on the MDC Chart
|
|
194
|
-
* @param {string} sId The id of the MDC Chart
|
|
195
|
-
* @param {string} sChartTypeName Name of the Dimension which should be drilled-down.
|
|
196
|
-
* @returns {Promise} OPA waitFor
|
|
197
|
-
*/
|
|
198
|
-
iSelectAChartType: function(sId, sChartTypeName) {
|
|
199
|
-
return chartActions.iSelectAChartType.call(this, sId, sChartTypeName);
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
},
|
|
203
|
-
assertions: {
|
|
204
|
-
/**
|
|
205
|
-
* OPA5 assertion
|
|
206
|
-
* Assertion to check that there is a mdc chart visible on the screen.
|
|
207
|
-
* @returns {Promise} OPA waitFor
|
|
208
|
-
*/
|
|
209
|
-
iShouldSeeAChart: function() {
|
|
210
|
-
return chartAssertions.iShouldSeeAChart.call(this);
|
|
211
|
-
},
|
|
212
|
-
/**
|
|
213
|
-
* Assertion to check that there is a legend visible on the screen for given mdc chart.
|
|
214
|
-
* @param {string} sId Id of the chart to be checked for a visible legend
|
|
215
|
-
* @returns {Promise} OPA waitFor
|
|
216
|
-
*/
|
|
217
|
-
iShouldSeeALegend: function(sId) {
|
|
218
|
-
return chartAssertions.iShouldSeeALegend.call(this, sId);
|
|
219
|
-
},
|
|
220
|
-
/**
|
|
221
|
-
* Assertion to check that there is no legend visible on the screen for given mdc chart.
|
|
222
|
-
* @param {string} sId Id of the chart to be checked for a visible legend
|
|
223
|
-
* @returns {Promise} OPA waitFor
|
|
224
|
-
*/
|
|
225
|
-
iShouldSeeNoLegend: function(sId) {
|
|
226
|
-
return chartAssertions.iShouldSeeNoLegend.call(this, sId);
|
|
227
|
-
},
|
|
228
|
-
|
|
229
|
-
/**
|
|
230
|
-
* Assertion to check that there is a chart type popover visible on the screen.
|
|
231
|
-
* @returns {Promise} OPA waitFor
|
|
232
|
-
*/
|
|
233
|
-
iShouldSeeAChartTypePopover: function() {
|
|
234
|
-
return chartAssertions.iShouldSeeAChartTypePopover.call(this);
|
|
235
|
-
},
|
|
236
|
-
/**
|
|
237
|
-
* Assertion to check that there is chart visible with given chart type.
|
|
238
|
-
* @param {string} sChartId Id of the chart to be checked for a chart type
|
|
239
|
-
* @param {string} sChartType Chart type which should be selected for the given chart
|
|
240
|
-
* @returns {Promise} OPA waitFor
|
|
241
|
-
*/
|
|
242
|
-
iShouldSeeTheChartWithChartType: function(sChartId, sChartType){
|
|
243
|
-
return chartAssertions.iShouldSeeTheChartWithChartType.call(this, sChartId, sChartType);
|
|
244
|
-
},
|
|
245
|
-
/**
|
|
246
|
-
* Assertion to check that there is a chart with given drillstack visible.
|
|
247
|
-
* @param {array} aCheckDrillStack Drillstack to check for
|
|
248
|
-
* @param {string} sChartId Id of the mdc chart
|
|
249
|
-
* @returns {Promise} OPA waitFor
|
|
250
|
-
*/
|
|
251
|
-
iShouldSeeTheDrillStack: function(aCheckDrillStack, sChartId) {
|
|
252
|
-
return chartAssertions.iShouldSeeTheDrillStack.call(this, aCheckDrillStack, sChartId);
|
|
253
|
-
},
|
|
254
|
-
/**
|
|
255
|
-
* Assertion to check that there is a drilldown popover visible.
|
|
256
|
-
* @returns {Promise} OPA waitFor
|
|
257
|
-
*/
|
|
258
|
-
iShouldSeeADrillDownPopover: function() {
|
|
259
|
-
return chartAssertions.iShouldSeeADrillDownPopover.call(this);
|
|
260
|
-
},
|
|
261
|
-
/**
|
|
262
|
-
* Assertion to check that there is a drilldown popover visible.
|
|
263
|
-
* @returns {Promise} OPA waitFor
|
|
264
|
-
*/
|
|
265
|
-
iShouldSeeADetailsPopover: function() {
|
|
266
|
-
return chartAssertions.iShouldSeeADetailsPopover.call(this);
|
|
267
|
-
},
|
|
268
|
-
/**
|
|
269
|
-
* Assertion to check visible dimensions on the MDC Chart
|
|
270
|
-
* @param {string} sId Id of the MDC Chart
|
|
271
|
-
* @returns {Promise} OPA waitFor
|
|
272
|
-
*/
|
|
273
|
-
iShouldSeeVisibleDimensionsInOrder: function(aDimensions, sId) {
|
|
274
|
-
return chartAssertions.iShouldSeeVisibleDimensionsInOrder.call(this, aDimensions, sId);
|
|
275
|
-
},
|
|
276
|
-
/**
|
|
277
|
-
* Assertion to check visible measures on the MDC Chart
|
|
278
|
-
* @param {string} sId Id of the MDC Chart
|
|
279
|
-
* @returns {Promise} OPA waitFor
|
|
280
|
-
*/
|
|
281
|
-
iShouldSeeVisibleMeasuresInOrder: function(aMeasures, sId) {
|
|
282
|
-
return chartAssertions.iShouldSeeVisibleMeasuresInOrder.call(this, aMeasures, sId);
|
|
283
|
-
}
|
|
284
|
-
}
|
|
285
|
-
}
|
|
286
|
-
});
|
|
287
|
-
|
|
288
|
-
});
|