@sapui5/sap.suite.ui.generic.template 1.108.33 → 1.108.35

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/sap.suite.ui.generic.template",
3
- "version": "1.108.33",
3
+ "version": "1.108.35",
4
4
  "description": "SAPUI5 Library sap.suite.ui.generic.template",
5
5
  "keywords": [
6
6
  "sapui5",
@@ -7,7 +7,7 @@
7
7
 
8
8
  (c) Copyright 2009-2015 SAP SE. All rights reserved
9
9
  </copyright>
10
- <version>1.108.33</version>
10
+ <version>1.108.35</version>
11
11
 
12
12
  <documentation>Library with generic Suite UI templates.</documentation>
13
13
 
@@ -1275,11 +1275,7 @@ sap.ui.define([
1275
1275
  return true;
1276
1276
  }
1277
1277
  } else if (oContext instanceof Object && typeof sDimFieldValue === "string") {
1278
- var oFormatter = DateFormat.getDateInstance({
1279
- pattern: "yyyyMMdd"
1280
- });
1281
- var oDate = oFormatter.parse(sDimFieldValue);
1282
- if (oContext.ranges.length && FilterUtil.getDateInMedium(oContext.ranges[0].value1) === FilterUtil.getDateInMedium(oDate)) {
1278
+ if (oContext.ranges.length && oContext.ranges[0].value1 === sDimFieldValue) {
1283
1279
  return true;
1284
1280
  }
1285
1281
  }
@@ -3,8 +3,9 @@ sap.ui.define([
3
3
  'sap/m/ResponsivePopover',
4
4
  'sap/m/library',
5
5
  "sap/base/util/deepExtend",
6
- 'sap/m/DynamicDateRange'
7
- ], function(Controller, ResponsivePopover, SapMLibrary, deepExtend, DynamicDateRange) {
6
+ 'sap/m/DynamicDateRange',
7
+ "sap/ui/core/format/DateFormat"
8
+ ], function(Controller, ResponsivePopover, SapMLibrary, deepExtend, DynamicDateRange, DateFormat) {
8
9
  "use strict";
9
10
 
10
11
 
@@ -59,7 +60,15 @@ sap.ui.define([
59
60
  for (var i in oDate.ranges) {
60
61
  if (oDate.ranges[i] && oDate.ranges[i].value1) {
61
62
  oCurDynamicDateVal.operator = oDate.conditionTypeInfo.data.operation;
62
- oCurDynamicDateVal.values.push(oDate.ranges[i].value1);
63
+ if (typeof oDate.ranges[i].value1 === 'string') {
64
+ var oFormatter = DateFormat.getDateInstance({
65
+ pattern: "yyyyMMdd"
66
+ });
67
+ var oFormattedDate = oFormatter.parse(oDate.ranges[i].value1);
68
+ oCurDynamicDateVal.values.push(oFormattedDate);
69
+ } else {
70
+ oCurDynamicDateVal.values.push(oDate.ranges[i].value1);
71
+ }
63
72
  }
64
73
  }
65
74
  this._oDynamicDateRange.setValue(oCurDynamicDateVal);
@@ -481,7 +481,7 @@ sap.ui.define([
481
481
  processName: "Navigation",
482
482
  eventHandlers: {
483
483
  attachProcessStart: oNavContainer.attachNavigate.bind(oNavContainer),
484
- attachProcessStop: oNavContainer.attachAfterNavigate.bind(oNavContainer)
484
+ attachProcessStop: oNavContainer.attachNavigationFinished.bind(oNavContainer)
485
485
  }});
486
486
  }
487
487
  oTemplateContract.oHeaderLoadingObserver = new ProcessObserver({
@@ -856,7 +856,7 @@ sap.ui.define([
856
856
  * @extends sap.ui.core.UIComponent
857
857
  * @abstract
858
858
  * @author SAP SE
859
- * @version 1.108.33
859
+ * @version 1.108.35
860
860
  * @name sap.suite.ui.generic.template.lib.AppComponent
861
861
  */
862
862
  return UIComponent.extend("sap.suite.ui.generic.template.lib.AppComponent", {
@@ -27,9 +27,9 @@ ST_SUCCESS=Con \u00E9xito
27
27
 
28
28
  ST_CHANGES_APPLIED=Se han aplicado las modificaciones
29
29
 
30
- DATA_LOSS_MESSAGE=Si sale se per.entr.
30
+ DATA_LOSS_MESSAGE=Sus entradas se perder\u00E1n al abandonar esta p\u00E1gina
31
31
 
32
- DATA_LOSS_GENERAL_MESSAGE=Si cont.se per.entr.
32
+ DATA_LOSS_GENERAL_MESSAGE=Si contin\u00FAa se perder\u00E1n sus entradas
33
33
 
34
34
  PROCEED=Continuar
35
35
 
@@ -2975,7 +2975,7 @@ sap.ui.define(["sap/ui/base/Object",
2975
2975
  * @param {sap.suite.ui.generic.template.lib.AppComponent} oAppComponent The AppComponent instance
2976
2976
  * @public
2977
2977
  * @extends sap.ui.base.Object
2978
- * @version 1.108.33
2978
+ * @version 1.108.35
2979
2979
  * @since 1.30.0
2980
2980
  * @alias sap.suite.ui.generic.template.lib.NavigationController
2981
2981
  */
@@ -38,7 +38,7 @@ sap.ui.define(['sap/ui/core/Core', 'sap/ui/core/library','sap/fe/placeholder/lib
38
38
  interfaces: [],
39
39
  controls: [],
40
40
  elements: [],
41
- version: "1.108.33",
41
+ version: "1.108.35",
42
42
  extensions: {
43
43
  //Configuration used for rule loading of Support Assistant
44
44
  "sap.ui.support": {