@sapui5/sap.suite.ui.generic.template 1.96.29 → 1.96.30
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/package.json +1 -1
- package/src/sap/suite/ui/generic/template/.library +1 -1
- package/src/sap/suite/ui/generic/template/ListReport/controller/IappStateHandler.js +3 -3
- package/src/sap/suite/ui/generic/template/changeHandler/AddFilterItem.js +1 -1
- package/src/sap/suite/ui/generic/template/changeHandler/AddFooterActionButton.js +1 -1
- package/src/sap/suite/ui/generic/template/changeHandler/AddGroup.js +1 -1
- package/src/sap/suite/ui/generic/template/changeHandler/AddGroupElement.js +1 -1
- package/src/sap/suite/ui/generic/template/changeHandler/AddHeaderActionButton.js +1 -1
- package/src/sap/suite/ui/generic/template/changeHandler/AddHeaderFacet.js +1 -1
- package/src/sap/suite/ui/generic/template/changeHandler/AddSection.js +1 -1
- package/src/sap/suite/ui/generic/template/changeHandler/AddSubSection.js +1 -1
- package/src/sap/suite/ui/generic/template/changeHandler/AddTableColumn.js +1 -1
- package/src/sap/suite/ui/generic/template/changeHandler/AddToolbarActionButton.js +1 -1
- package/src/sap/suite/ui/generic/template/changeHandler/MoveFilterItems.js +1 -1
- package/src/sap/suite/ui/generic/template/changeHandler/MoveGroup.js +1 -1
- package/src/sap/suite/ui/generic/template/changeHandler/MoveGroupElement.js +1 -1
- package/src/sap/suite/ui/generic/template/changeHandler/MoveHeaderAndFooterActionButton.js +1 -1
- package/src/sap/suite/ui/generic/template/changeHandler/MoveHeaderFacet.js +1 -1
- package/src/sap/suite/ui/generic/template/changeHandler/MoveSection.js +1 -1
- package/src/sap/suite/ui/generic/template/changeHandler/MoveSubSection.js +1 -1
- package/src/sap/suite/ui/generic/template/changeHandler/MoveTableColumns.js +1 -1
- package/src/sap/suite/ui/generic/template/changeHandler/MoveToolbarActionButtons.js +1 -1
- package/src/sap/suite/ui/generic/template/changeHandler/RemoveFilterItem.js +1 -1
- package/src/sap/suite/ui/generic/template/changeHandler/RemoveGroup.js +1 -1
- package/src/sap/suite/ui/generic/template/changeHandler/RemoveGroupElement.js +1 -1
- package/src/sap/suite/ui/generic/template/changeHandler/RemoveHeaderAndFooterActionButton.js +1 -1
- package/src/sap/suite/ui/generic/template/changeHandler/RemoveHeaderFacet.js +1 -1
- package/src/sap/suite/ui/generic/template/changeHandler/RemoveSection.js +1 -1
- package/src/sap/suite/ui/generic/template/changeHandler/RemoveSubSection.js +1 -1
- package/src/sap/suite/ui/generic/template/changeHandler/RemoveTableColumn.js +1 -1
- package/src/sap/suite/ui/generic/template/changeHandler/RemoveToolbarActionButton.js +1 -1
- package/src/sap/suite/ui/generic/template/changeHandler/RevealFilterItem.js +1 -1
- package/src/sap/suite/ui/generic/template/changeHandler/RevealHeaderFacet.js +1 -1
- package/src/sap/suite/ui/generic/template/changeHandler/RevealTableColumn.js +1 -1
- package/src/sap/suite/ui/generic/template/changeHandler/RevealToolbarActionButton.js +1 -1
- package/src/sap/suite/ui/generic/template/changeHandler/generic/AddElement.js +1 -1
- package/src/sap/suite/ui/generic/template/changeHandler/generic/MoveElements.js +1 -1
- package/src/sap/suite/ui/generic/template/changeHandler/generic/RemoveElement.js +1 -1
- package/src/sap/suite/ui/generic/template/changeHandler/generic/RevealElement.js +1 -1
- package/src/sap/suite/ui/generic/template/changeHandler/util/AnnotationPropertyCommand.js +1 -1
- package/src/sap/suite/ui/generic/template/genericUtilities/controlStateWrapperFactory/SmartTableChartCommon.js +7 -3
- package/src/sap/suite/ui/generic/template/lib/navigation/NavigationController.js +1 -1
- package/src/sap/suite/ui/generic/template/library.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sapui5/sap.suite.ui.generic.template",
|
|
3
|
-
"version": "1.96.
|
|
3
|
+
"version": "1.96.30",
|
|
4
4
|
"description": "SAPUI5 Library sap.suite.ui.generic.template",
|
|
5
5
|
"homepage": "https://sap.github.io/ui5-tooling/pages/SAPUI5/",
|
|
6
6
|
"author": "SAP SE (https://www.sap.com)",
|
|
@@ -476,7 +476,7 @@ sap.ui.define([
|
|
|
476
476
|
// -SmartFilterBarWrapper: Would be more consistent to existing Wrappers for Table/Chart (actually, there both is implemented in one Wrapper), and to original logic of SFB/SVM (APIs are provided from
|
|
477
477
|
// SFB, although they might make more sense to be provided from SVM)
|
|
478
478
|
if (!oState.oWorklistData.bWorkListEnabled) {
|
|
479
|
-
fnApplySelectionVariantToSFB(oAppData.oSelectionVariant || "", oAppData.selectionVariant || "", true, oSemanticDates, false);
|
|
479
|
+
fnApplySelectionVariantToSFB(oAppData.oSelectionVariant || "", oAppData.selectionVariant || "", true, oSemanticDates, false, true);
|
|
480
480
|
}
|
|
481
481
|
// fnRestorePageState has even to be called later (after applying SelectionVariant), as it triggers the search (depending on executeOnSelect of variant) and checks for collapsing the header
|
|
482
482
|
// this shows another dependency. Triggering search should be treated separately (after all other states have been restored). Collapsing header needs to be checked (currently happening after search, but
|
|
@@ -1139,9 +1139,9 @@ sap.ui.define([
|
|
|
1139
1139
|
});
|
|
1140
1140
|
}
|
|
1141
1141
|
|
|
1142
|
-
function fnApplySelectionVariantToSFB(oSelectionVariant, sSelectionVariant, bReplace, oSemanticDates, bNavTypeInitial){
|
|
1142
|
+
function fnApplySelectionVariantToSFB(oSelectionVariant, sSelectionVariant, bReplace, oSemanticDates, bNavTypeInitial, bRetainVariant){
|
|
1143
1143
|
fnMapEditableFieldFor(oSelectionVariant);
|
|
1144
|
-
if (bReplace) {
|
|
1144
|
+
if (bReplace && !bRetainVariant) {
|
|
1145
1145
|
oState.oSmartFilterbar.clearVariantSelection();
|
|
1146
1146
|
}
|
|
1147
1147
|
applySelectionProperties(oSelectionVariant, sSelectionVariant, bNavTypeInitial);
|
|
@@ -26,15 +26,19 @@ sap.ui.define([
|
|
|
26
26
|
oControl.setUiState(oControlUiState);
|
|
27
27
|
}
|
|
28
28
|
function fnSetControlVariant() {
|
|
29
|
-
|
|
29
|
+
if (!oState.sVariantId || oControl.getSmartVariant()) {
|
|
30
|
+
// We should set UIState into smart table in two cases
|
|
31
|
+
// 1) we don't have variant
|
|
32
|
+
// 2) smart table have variant management control, but it's on page level and you can't set use variant in it.
|
|
33
|
+
// Smart table will simply ignore passed variant and do nothing. Resulting in variant data not be applied to the table.
|
|
34
|
+
fnSetControlUiState();
|
|
35
|
+
} else if (oState.sVariantId && !oState.bVariantModified) {
|
|
30
36
|
oControl.setCurrentVariantId(oState.sVariantId); //For variant NOT dirty acse
|
|
31
37
|
} else if (oState.sVariantId && oState.bVariantModified) {
|
|
32
38
|
//For variant dirty case
|
|
33
39
|
//TODO: is this right way to set standard variant
|
|
34
40
|
oControl.setCurrentVariantId("");//Set standard variant
|
|
35
41
|
fnSetControlUiState();
|
|
36
|
-
} else if (!oState.sVariantId) {
|
|
37
|
-
fnSetControlUiState();
|
|
38
42
|
}
|
|
39
43
|
}
|
|
40
44
|
function fnSetDefaultVariant() {
|
|
@@ -2698,7 +2698,7 @@ sap.ui.define(["sap/ui/base/Object",
|
|
|
2698
2698
|
* @param {sap.suite.ui.generic.template.lib.AppComponent} oAppComponent The AppComponent instance
|
|
2699
2699
|
* @public
|
|
2700
2700
|
* @extends sap.ui.base.Object
|
|
2701
|
-
* @version 1.96.
|
|
2701
|
+
* @version 1.96.30
|
|
2702
2702
|
* @since 1.30.0
|
|
2703
2703
|
* @alias sap.suite.ui.generic.template.lib.NavigationController
|
|
2704
2704
|
*/
|
|
@@ -37,7 +37,7 @@ sap.ui.define(['sap/ui/core/library','sap/fe/placeholder/library'
|
|
|
37
37
|
interfaces: [],
|
|
38
38
|
controls: [],
|
|
39
39
|
elements: [],
|
|
40
|
-
version: "1.96.
|
|
40
|
+
version: "1.96.30",
|
|
41
41
|
extensions: {
|
|
42
42
|
//Configuration used for rule loading of Support Assistant
|
|
43
43
|
"sap.ui.support": {
|