@sapui5/sap.suite.ui.generic.template 1.136.11 → 1.136.13

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.136.11",
3
+ "version": "1.136.13",
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.136.11</version>
10
+ <version>1.136.13</version>
11
11
 
12
12
  <documentation>Library with generic Suite UI templates.</documentation>
13
13
 
@@ -124,7 +124,7 @@ VIS_FILTER_TOOLTIP_STATUS_ERROR=\u72B6\u6001\uFF1A\u9519\u8BEF
124
124
 
125
125
  VIS_FILTER_TOOLTIP_STATUS_CRITICAL=\u72B6\u6001\uFF1A\u7D27\u6025
126
126
 
127
- VIS_FILTER_TITLE_MD_WITH_UNIT_CURR={1} \u4E2D\u7684 {0}
127
+ VIS_FILTER_TITLE_MD_WITH_UNIT_CURR={0}\uFF08\u4EE5{1}\u8BA1\uFF09
128
128
 
129
129
  VIS_FILTER_DONUT_OTHER=\u5176\u4ED6
130
130
 
@@ -8,7 +8,7 @@
8
8
  "i18n": "i18n/i18n.properties",
9
9
  "applicationVersion": {
10
10
  "__comment": "applicationVersion oder componentversion??",
11
- "version": "1.136.11"
11
+ "version": "1.136.13"
12
12
  },
13
13
  "title": "{{TITLE}}",
14
14
  "description": "{{DESCRIPTION}}",
@@ -8,7 +8,7 @@
8
8
  "i18n": "i18n/i18n.properties",
9
9
  "applicationVersion": {
10
10
  "__comment": "applicationVersion oder componentversion??",
11
- "version": "1.136.11"
11
+ "version": "1.136.13"
12
12
  },
13
13
  "title": "Canvas",
14
14
  "description": "Canvas Page",
@@ -96,7 +96,7 @@ LOCKED_OBJECT_FILTER=\uB2E4\uB978 \uC0AC\uC6A9\uC790\uC5D0 \uC758\uD574 \uC7A0\u
96
96
 
97
97
  UNSAVED_CHANGES=\uBCC0\uACBD\uC0AC\uD56D\uC774 \uC800\uC7A5\uB418\uC9C0 \uC54A\uC74C
98
98
 
99
- UNSAVED_CHANGES_FILTER=\uB2E4\uB978 \uC0AC\uC6A9\uC790\uAC00 \uC800\uC7A5\uD558\uC9C0 \uC54A\uC740 \uBCC0\uACBD\uC0AC\uD56D
99
+ UNSAVED_CHANGES_FILTER=\uB2E4\uB978 \uC0AC\uC6A9\uC790\uC758 \uC800\uC7A5\uB418\uC9C0 \uC54A\uC740 \uBCC0\uACBD\uC0AC\uD56D
100
100
 
101
101
  SHARE=\uACF5\uC720
102
102
 
@@ -8,7 +8,7 @@
8
8
  "i18n": "i18n/i18n.properties",
9
9
  "applicationVersion": {
10
10
  "__comment": "applicationVersion oder componentversion??",
11
- "version": "1.136.11"
11
+ "version": "1.136.13"
12
12
  },
13
13
  "title": "{{TITLE}}",
14
14
  "description": "{{DESCRIPTION}}",
@@ -6,7 +6,7 @@
6
6
  "type": "component",
7
7
  "i18n": "i18n/i18n.properties",
8
8
  "applicationVersion": {
9
- "version": "1.136.11"
9
+ "version": "1.136.13"
10
10
  },
11
11
  "title": "{{TITLE}}",
12
12
  "description": "{{DESCRIPTION}}",
@@ -6,7 +6,7 @@
6
6
  "type": "component",
7
7
  "i18n": "i18n/i18n.properties",
8
8
  "applicationVersion": {
9
- "version": "1.136.11"
9
+ "version": "1.136.13"
10
10
  },
11
11
  "title": "{{TITLE}}",
12
12
  "description": "{{DESCRIPTION}}",
@@ -6,7 +6,7 @@
6
6
  "type": "component",
7
7
  "i18n": "i18n/i18n.properties",
8
8
  "applicationVersion": {
9
- "version": "1.136.11"
9
+ "version": "1.136.13"
10
10
  },
11
11
  "title": "{{TITLE}}",
12
12
  "description": "{{DESCRIPTION}}",
@@ -964,7 +964,7 @@ sap.ui.define([
964
964
  * @public
965
965
  * @extends sap.ui.core.UIComponent
966
966
  * @author SAP SE
967
- * @version 1.136.11
967
+ * @version 1.136.13
968
968
  * @name sap.suite.ui.generic.template.lib.AppComponent
969
969
  */
970
970
  var oAppComponent = UIComponent.extend("sap.suite.ui.generic.template.lib.AppComponent", {
@@ -407,7 +407,7 @@ sap.ui.define([
407
407
  oTemplateUtils.oComponentUtils.getBusyHelper().setBusy(oQueryPromise);
408
408
  }
409
409
 
410
- function fnTokensChanged(oEvent) {
410
+ function fnTokensChanged(oEvent) {
411
411
  var oSmartFilterbar = oState.oSmartFilterbar;
412
412
  var oFiltersFromAI = oEvent.getParameter("tokens");
413
413
  var sSmartFilterBarId = oSmartFilterbar.getId();
@@ -428,19 +428,32 @@ sap.ui.define([
428
428
  oSmartFilterBarVariant.customFilters.editState = oVariantDataFromAI.oEditStateFilter;
429
429
  }
430
430
 
431
- if (oSmartFilterBarVariant.semanticDates) {
432
- var { Low: value1, High: value2 } = oVariantDataFromAI.aSelectOptions[0].Ranges[0];
433
- var dateData = oSmartFilterBarVariant.semanticDates.Dates[0].Data;
434
- dateData.operation = "DATERANGE";
435
- dateData.value1 = value1;
436
- dateData.value2 = value2 || value1;
431
+ //checking if the variant of SFB has previous semantic dates and if there are new filter values from easy filter then update the SFB variant
432
+ if (oSmartFilterBarVariant.semanticDates?.Dates) {
433
+ oSmartFilterBarVariant.semanticDates.Dates.forEach(function (semanticDate) {
434
+ var propertyName = semanticDate.PropertyName;
435
+
436
+ // Find matching property in aSelectOptions
437
+ var matchingSelectOption = oVariantDataFromAI.aSelectOptions.find(function (selectOption) {
438
+ return selectOption.PropertyName === propertyName;
439
+ });
440
+
441
+ // If matching property found and has ranges
442
+ if (matchingSelectOption?.Ranges?.length > 0) {
443
+ var { Low: value1 = null, High: value2 = null } = matchingSelectOption.Ranges[0];
444
+ // Update the semantic date data in the smart filter bar
445
+ var dateData = semanticDate.Data;
446
+ dateData.operation = "DATERANGE";
447
+ dateData.value1 = value1;
448
+ dateData.value2 = value2 || value1; // Use value1 if value2 is null/empty
449
+ }
450
+ });
437
451
  }
438
452
 
439
453
  oSmartFilterBarWrapper.setState(oSmartFilterBarVariant);
440
454
  oSmartFilterbar.getSmartVariant() && oSmartFilterbar.getSmartVariant().currentVariantSetModified(true);
441
455
  oSmartFilterbar.search();
442
456
  }
443
-
444
457
  /**
445
458
  * Event handler for the EasyFilter control's showValueHelp event.
446
459
  * Identifies the input field for which the value help is requested and triggers the value help opening from SFB.
@@ -265,11 +265,11 @@ NOITEMS_SMARTTABLE=No hay elementos disponibles.
265
265
 
266
266
  NOITEMS_SMARTTABLE_WITH_FILTER=Sin elementos disponibles. Ajuste los par\u00E1metro de b\u00FAsqueda o filtro.
267
267
 
268
- NOITEMS_SMARTTABLE_WITH_FILTER_FOR_SEGMENTEDBUTTON=S.el.p.crit.fil.y vis.tab.sel.
268
+ NOITEMS_SMARTTABLE_WITH_FILTER_FOR_SEGMENTEDBUTTON=No se han encontrado elementos para la vista de tabla y los criterios de filtro seleccionados.
269
269
 
270
270
  NOITEMS_SMARTCHART=No se han encontrado datos.
271
271
 
272
- NOITEMS_LR_SMARTCHART=S.dat.p.crit.fil.y vis.gr.sel.
272
+ NOITEMS_LR_SMARTCHART=No se han encontrado datos para la vista de gr\u00E1fico y los criterios de filtro seleccionados.
273
273
 
274
274
  NOITEMS_SMARTCHART_WITH_FILTER=No se han encontrado datos. Intente ajustar los par\u00E1metros de filtro.
275
275
 
@@ -336,7 +336,7 @@ ST_GENERIC_503_SOURCE_MESSAGE=Message source\u00A0\:
336
336
 
337
337
  RTA_CONFIGURATION_TITLE_TABLE=Configurer le tableau
338
338
 
339
- RTA_CONFIGURATION_TITLE_LIST_REPORT=Configurer list report
339
+ RTA_CONFIGURATION_TITLE_LIST_REPORT=Configurer le rapport de liste
340
340
 
341
341
  RTA_CONFIGURATION_TITLE_ANALYTICAL_LIST_PAGE=Configurer la page Analytical List Page
342
342
 
@@ -3221,7 +3221,7 @@ sap.ui.define(["sap/ui/base/Object",
3221
3221
  * @param {sap.suite.ui.generic.template.lib.AppComponent} oAppComponent The AppComponent instance
3222
3222
  * @public
3223
3223
  * @extends sap.ui.base.Object
3224
- * @version 1.136.11
3224
+ * @version 1.136.13
3225
3225
  * @since 1.30.0
3226
3226
  * @alias sap.suite.ui.generic.template.lib.NavigationController
3227
3227
  */
@@ -66,7 +66,7 @@ sap.ui.define([
66
66
  interfaces: [],
67
67
  controls: [],
68
68
  elements: [],
69
- version: "1.136.11",
69
+ version: "1.136.13",
70
70
  extensions: {
71
71
  //Configuration used for rule loading of Support Assistant
72
72
  "sap.ui.support": {