@sapui5/sap.fe.templates 1.90.0 → 1.90.4

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.
Files changed (37) hide show
  1. package/package.json +1 -1
  2. package/src/sap/fe/templates/.library +4 -1
  3. package/src/sap/fe/templates/AnalyticalListPage/Component.js +1 -1
  4. package/src/sap/fe/templates/AnalyticalListPage/chart/FEChartDelegate.js +1 -1
  5. package/src/sap/fe/templates/ExtensionAPI.js +1 -1
  6. package/src/sap/fe/templates/ListComponent.js +1 -1
  7. package/src/sap/fe/templates/ListReport/Component.js +1 -1
  8. package/src/sap/fe/templates/ListReport/ExtensionAPI.js +1 -1
  9. package/src/sap/fe/templates/ListReport/ListReportController.controller.js +1 -1
  10. package/src/sap/fe/templates/ListReport/overrides/IntentBasedNavigation.js +1 -1
  11. package/src/sap/fe/templates/ListReport/overrides/ViewState.js +1 -1
  12. package/src/sap/fe/templates/ObjectPage/AnnotationHelper.js +1 -1
  13. package/src/sap/fe/templates/ObjectPage/Component.js +1 -1
  14. package/src/sap/fe/templates/ObjectPage/ExtensionAPI.js +1 -1
  15. package/src/sap/fe/templates/ObjectPage/ObjectPage.view.xml +1 -1
  16. package/src/sap/fe/templates/ObjectPage/ObjectPageController.controller.js +1 -13
  17. package/src/sap/fe/templates/ObjectPage/controls/StashableHBox.js +1 -1
  18. package/src/sap/fe/templates/ObjectPage/controls/StashableVBox.js +1 -1
  19. package/src/sap/fe/templates/ObjectPage/controls/SubSectionBlock.js +1 -1
  20. package/src/sap/fe/templates/ObjectPage/designtime/FlexBox.designtime.js +1 -1
  21. package/src/sap/fe/templates/ObjectPage/designtime/StashableHBox.designtime.js +1 -1
  22. package/src/sap/fe/templates/ObjectPage/designtime/StashableVBox.designtime.js +1 -1
  23. package/src/sap/fe/templates/ObjectPage/flexibility/StashableHBox.flexibility.js +1 -1
  24. package/src/sap/fe/templates/ObjectPage/flexibility/StashableVBox.flexibility.js +1 -1
  25. package/src/sap/fe/templates/ObjectPage/overrides/IntentBasedNavigation.js +1 -1
  26. package/src/sap/fe/templates/ObjectPage/overrides/InternalRouting.js +1 -1
  27. package/src/sap/fe/templates/ObjectPage/overrides/MessageHandler.js +7 -1
  28. package/src/sap/fe/templates/ObjectPage/overrides/Routing.js +1 -1
  29. package/src/sap/fe/templates/ObjectPage/overrides/ViewState.js +1 -10
  30. package/src/sap/fe/templates/RootContainer/controller/Fcl.controller.js +1 -1
  31. package/src/sap/fe/templates/RootContainer/controller/NavContainer.controller.js +1 -1
  32. package/src/sap/fe/templates/RootContainer/controller/RootContainerBaseController.js +1 -1
  33. package/src/sap/fe/templates/RootContainer/overrides/EditFlow.js +1 -1
  34. package/src/sap/fe/templates/controls/Paginator.js +1 -1
  35. package/src/sap/fe/templates/controls/Share/ShareUtils.js +1 -1
  36. package/src/sap/fe/templates/library.js +5 -4
  37. package/ui5.yaml +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/sap.fe.templates",
3
- "version": "1.90.0",
3
+ "version": "1.90.4",
4
4
  "description": "SAPUI5 Library sap.fe.templates",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "author": "SAP SE (https://www.sap.com)",
@@ -6,7 +6,7 @@
6
6
  <copyright>SAP UI development toolkit for HTML5 (SAPUI5)
7
7
  (c) Copyright 2009-2021 SAP SE. All rights reserved
8
8
  </copyright>
9
- <version>1.90.0</version>
9
+ <version>1.90.4</version>
10
10
 
11
11
  <documentation>UI5 library: sap.fe.templates</documentation>
12
12
 
@@ -49,6 +49,9 @@
49
49
  <dependency>
50
50
  <libraryName>sap.collaboration</libraryName>
51
51
  </dependency>
52
+ <dependency>
53
+ <libraryName>sap.fe.common</libraryName>
54
+ </dependency>
52
55
  </dependencies>
53
56
 
54
57
  <appData>
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * ! SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2022 SAP SE. All rights reserved.
4
4
  */
5
5
  sap.ui.define(
6
6
  ["sap/fe/templates/ListComponent"],
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2022 SAP SE. All rights reserved.
4
4
  */
5
5
  // ---------------------------------------------------------------------------------------
6
6
  // Helper class used to help create content in the chart/item and fill relevant metadata
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2022 SAP SE. All rights reserved.
4
4
  */
5
5
  sap.ui.define(
6
6
  ["sap/ui/base/Object", "sap/fe/core/CommonUtils", "sap/fe/macros/DelegateUtil", "sap/base/Log", "sap/ui/core/Component"],
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * ! SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2022 SAP SE. All rights reserved.
4
4
  */
5
5
  sap.ui.define(
6
6
  ["sap/fe/core/TemplateComponent", "sap/fe/core/library"],
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * ! SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2022 SAP SE. All rights reserved.
4
4
  */
5
5
  sap.ui.define(
6
6
  ["sap/fe/templates/ListComponent"],
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2022 SAP SE. All rights reserved.
4
4
  */
5
5
  sap.ui.define(["sap/fe/templates/ExtensionAPI", "sap/fe/macros/filter/FilterUtils"], function(ExtensionAPI, FilterUtils) {
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2022 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  sap.ui.define(
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2022 SAP SE. All rights reserved.
4
4
  */
5
5
  sap.ui.define(["sap/fe/core/CommonUtils"], function(CommonUtils) {
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2022 SAP SE. All rights reserved.
4
4
  */
5
5
  sap.ui.define(
6
6
  [
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2022 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  sap.ui.define(
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * ! SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2022 SAP SE. All rights reserved.
4
4
  */
5
5
  sap.ui.define(
6
6
  [
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2022 SAP SE. All rights reserved.
4
4
  */
5
5
  sap.ui.define(["sap/fe/templates/ExtensionAPI", "sap/fe/core/helpers/SideEffectsUtil", "sap/fe/core/converters/helpers/ID"], function(
6
6
  ExtensionAPI,
@@ -73,7 +73,7 @@
73
73
  </uxap:dependents>
74
74
  <template:if test="{converterContext>showHeader}">
75
75
  <uxap:headerTitle>
76
- <uxap:ObjectPageDynamicHeaderTitle areaShrinkRatio="0:1:1">
76
+ <uxap:ObjectPageDynamicHeaderTitle primaryArea="Begin">
77
77
  <uxap:expandedHeading>
78
78
  <FlexBox>
79
79
  <FlexBox visible="{= ${viewData>/editableHeaderContent} ? '{= (${ui>/editMode} === \'Editable\') }' : false}">
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2022 SAP SE. All rights reserved.
4
4
  */
5
5
  sap.ui.define(
6
6
  [
@@ -605,18 +605,6 @@ sap.ui.define(
605
605
  };
606
606
  return that.editFlow
607
607
  .saveDocument(oContext, mParameters)
608
- .then(function() {
609
- var oMessageButton = that.getView().byId("fe::FooterBar::MessageButton");
610
- var oDelegateOnAfter = {
611
- onAfterRendering: function(oEvent) {
612
- that._showMessagePopover(oMessageButton);
613
- oMessageButton.removeEventDelegate(that._oDelegateOnAfter);
614
- delete that._oDelegateOnAfter;
615
- }
616
- };
617
- that._oDelegateOnAfter = oDelegateOnAfter;
618
- oMessageButton.addEventDelegate(oDelegateOnAfter, that);
619
- })
620
608
  .catch(function(err) {
621
609
  var oMessageButton = that.getView().byId("fe::FooterBar::MessageButton");
622
610
  if (oMessageButton) {
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2022 SAP SE. All rights reserved.
4
4
  */
5
5
  sap.ui.define(
6
6
  ["sap/m/HBox", "sap/m/HBoxRenderer", "sap/ui/core/StashedControlSupport"],
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2022 SAP SE. All rights reserved.
4
4
  */
5
5
  sap.ui.define(
6
6
  ["sap/m/VBox", "sap/m/VBoxRenderer", "sap/ui/core/StashedControlSupport"],
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2022 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  sap.ui.define(["sap/uxap/BlockBase"], function(BlockBase) {
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2022 SAP SE. All rights reserved.
4
4
  */
5
5
  // Provides the Design Time Metadata for the sap.m.FlexBox control
6
6
  sap.ui.define([], function() {
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2022 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  // Provides the Design Time Metadata for the sap.fe.templates.ObjectPage.controls.StashableHBox control
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2022 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  // Provides the Design Time Metadata for the sap.fe.templates.ObjectPage.controls.StashableVBox control
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2022 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  sap.ui.define(["sap/ui/fl/changeHandler/BaseRename"], function(BaseRename) {
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2022 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  sap.ui.define([], function() {
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2022 SAP SE. All rights reserved.
4
4
  */
5
5
  sap.ui.define(["sap/fe/core/CommonUtils", "sap/fe/navigation/SelectionVariant"], function(CommonUtils, SelectionVariant) {
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2022 SAP SE. All rights reserved.
4
4
  */
5
5
  sap.ui.define(["sap/fe/core/CommonUtils", "sap/fe/navigation/SelectionVariant"], function(CommonUtils, SelectionVariant) {
6
6
  "use strict";
@@ -3,7 +3,13 @@ sap.ui.define([], function() {
3
3
  return {
4
4
  getShowBoundMessagesInMessageDialog: function() {
5
5
  // in case of edit mode we show the messages in the message popover
6
- return !this.base.getModel("ui").getProperty("/isEditable");
6
+ return (
7
+ !this.base.getModel("ui").getProperty("/isEditable") ||
8
+ this.base
9
+ .getView()
10
+ .getBindingContext("internal")
11
+ .getProperty("isActionParameterDialogOpen")
12
+ );
7
13
  }
8
14
  };
9
15
  });
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2022 SAP SE. All rights reserved.
4
4
  */
5
5
  sap.ui.define(["sap/fe/core/CommonUtils", "sap/fe/navigation/SelectionVariant"], function(CommonUtils, SelectionVariant) {
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2022 SAP SE. All rights reserved.
4
4
  */
5
5
  sap.ui.define(["sap/fe/core/library"], function(CoreLibrary) {
6
6
  "use strict";
@@ -36,15 +36,6 @@ sap.ui.define(["sap/fe/core/library"], function(CoreLibrary) {
36
36
  });
37
37
 
38
38
  aStateControls.push(oView.byId("fe::ObjectPage"));
39
- },
40
- onAfterStateApplied: function() {
41
- var oView = this.getView(),
42
- oController = oView.getController();
43
- oController._findTables().forEach(function(oTable) {
44
- if (oTable.getQuickFilter()) {
45
- oTable.rebindTable();
46
- }
47
- });
48
39
  }
49
40
  };
50
41
  });
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2022 SAP SE. All rights reserved.
4
4
  */
5
5
  sap.ui.define(
6
6
  [
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2022 SAP SE. All rights reserved.
4
4
  */
5
5
  sap.ui.define(
6
6
  [
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2022 SAP SE. All rights reserved.
4
4
  */
5
5
  sap.ui.define(
6
6
  [
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2022 SAP SE. All rights reserved.
4
4
  */
5
5
  sap.ui.define([], function() {
6
6
  "use strict";
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2022 SAP SE. All rights reserved.
4
4
  */
5
5
 
6
6
  sap.ui.define(
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2022 SAP SE. All rights reserved.
4
4
  */
5
5
  sap.ui.define(
6
6
  [
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  * ! SAPUI5
3
- * (c) Copyright 2009-2021 SAP SE. All rights reserved.
3
+ * (c) Copyright 2009-2022 SAP SE. All rights reserved.
4
4
  */
5
5
  /**
6
6
  * Initialization Code and shared classes of library sap.fe.templates
@@ -11,7 +11,8 @@ sap.ui.define(
11
11
  "sap/ui/core/library", // library dependency
12
12
  "sap/fe/core/library", // library dependency
13
13
  "sap/f/library", // library dependency
14
- "sap/fe/macros/library" // library dependency
14
+ "sap/fe/macros/library", // library dependency
15
+ "sap/fe/common/library" // library dependency
15
16
  ],
16
17
  function() {
17
18
  "use strict";
@@ -40,12 +41,12 @@ sap.ui.define(
40
41
  // delegate further initialization of this library to the Core
41
42
  sap.ui.getCore().initLibrary({
42
43
  name: "sap.fe.templates",
43
- dependencies: ["sap.ui.core", "sap.fe.core", "sap.fe.macros", "sap.f"],
44
+ dependencies: ["sap.ui.core", "sap.fe.core", "sap.fe.macros", "sap.fe.common", "sap.f"],
44
45
  types: ["sap.fe.templates.ObjectPage.SectionLayout"],
45
46
  interfaces: [],
46
47
  controls: [],
47
48
  elements: [],
48
- version: "1.90.0",
49
+ version: "1.90.4",
49
50
  noLibraryCSS: true,
50
51
  extensions: {
51
52
  flChangeHandlers: {
package/ui5.yaml CHANGED
@@ -10,6 +10,7 @@ framework:
10
10
  name: SAPUI5
11
11
  libraries:
12
12
  - name: sap.f
13
+ - name: sap.fe.common
13
14
  - name: sap.fe.core
14
15
  - name: sap.fe.macros
15
16
  - name: sap.m