@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 +1 -1
- package/src/sap/suite/ui/generic/template/.library +1 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/i18n/i18n_zh_CN.properties +1 -1
- package/src/sap/suite/ui/generic/template/AnalyticalListPage/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/Canvas/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/ListReport/i18n/i18n_ko.properties +1 -1
- package/src/sap/suite/ui/generic/template/ListReport/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/QuickCreate/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/QuickView/manifest.json +1 -1
- package/src/sap/suite/ui/generic/template/lib/AppComponent.js +1 -1
- package/src/sap/suite/ui/generic/template/lib/ai/EasyFilterBarHandler.js +21 -8
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_es.properties +2 -2
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_fr_CA.properties +1 -1
- 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
|
@@ -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={
|
|
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
|
|
|
@@ -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\
|
|
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
|
|
|
@@ -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.
|
|
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
|
-
|
|
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
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
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=
|
|
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=
|
|
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
|
|
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.
|
|
3224
|
+
* @version 1.136.13
|
|
3225
3225
|
* @since 1.30.0
|
|
3226
3226
|
* @alias sap.suite.ui.generic.template.lib.NavigationController
|
|
3227
3227
|
*/
|