@sapui5/sap.suite.ui.generic.template 1.96.6 → 1.96.9
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/ObjectPage/i18n/i18n_no.properties +1 -1
- package/src/sap/suite/ui/generic/template/ObjectPage/view/fragments/SmartForm.fragment.xml +10 -6
- 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/lib/ContextBookkeeping.js +13 -4
- package/src/sap/suite/ui/generic/template/lib/i18n/i18n_da.properties +4 -4
- 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/src/sap/suite/ui/generic/template/listTemplates/fragments/DetailSmartTable.fragment.xml +3 -3
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.9",
|
|
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)",
|
|
@@ -56,9 +56,11 @@
|
|
|
56
56
|
id="{:= ${parameter>/stableId}.getStableId({type: 'ObjectPageSection', subType: 'Group', sFacet: ${facetId>id}, sIsPartOfPreview: ${facet>com.sap.vocabularies.UI.v1.PartOfPreview/Bool}})}"
|
|
57
57
|
visible="{path: 'facet>', formatter: 'AH.getBindingForHiddenPath'}"
|
|
58
58
|
binding="{parts: [{path: 'facet>Target'}, {path: 'entitySet>'}], formatter: 'AH.getFormGroupBindingString'}">
|
|
59
|
-
<
|
|
60
|
-
<
|
|
61
|
-
|
|
59
|
+
<template:if test="{= ${groupFacet>Label}}">
|
|
60
|
+
<sfo:title>
|
|
61
|
+
<core:Title text="{= ${path: 'groupFacet>Label', formatter: 'AHModel.format'}}"/>
|
|
62
|
+
</sfo:title>
|
|
63
|
+
</template:if>
|
|
62
64
|
<sfo:groupElements>
|
|
63
65
|
<core:Fragment fragmentName="sap.suite.ui.generic.template.ObjectPage.view.fragments.FormGroupContent" type="XML" />
|
|
64
66
|
</sfo:groupElements>
|
|
@@ -68,9 +70,11 @@
|
|
|
68
70
|
<sfo:Group
|
|
69
71
|
id="{:= ${parameter>/stableId}.getStableId({type: 'ObjectPageSection', subType: 'Group', sFacet: ${facetId>id}, sIsPartOfPreview: ${facet>com.sap.vocabularies.UI.v1.PartOfPreview/Bool}})}"
|
|
70
72
|
binding="{parts: [{path: 'facet>Target'}, {path: 'entitySet>'}], formatter: 'AH.getFormGroupBindingString'}">
|
|
71
|
-
<
|
|
72
|
-
<
|
|
73
|
-
|
|
73
|
+
<template:if test="{= ${groupFacet>Label}}">
|
|
74
|
+
<sfo:title>
|
|
75
|
+
<core:Title text="{= ${path: 'groupFacet>Label', formatter: 'AHModel.format'}}"/>
|
|
76
|
+
</sfo:title>
|
|
77
|
+
</template:if>
|
|
74
78
|
<sfo:groupElements>
|
|
75
79
|
<core:Fragment fragmentName="sap.suite.ui.generic.template.ObjectPage.view.fragments.FormGroupContent" type="XML" />
|
|
76
80
|
</sfo:groupElements>
|
|
@@ -259,16 +259,25 @@ sap.ui.define(["sap/ui/base/Object", "sap/base/util/each", "sap/base/util/extend
|
|
|
259
259
|
} else { // create drafts do not possess a rootContextInfo, still RemovalPromise should be set for the draft itself
|
|
260
260
|
fnSetRemovalPromiseForChild(oContextData, oRemovalPromise, bIsCancellation, true);
|
|
261
261
|
}
|
|
262
|
-
|
|
263
|
-
|
|
262
|
+
var oModel = oContext.getModel();
|
|
263
|
+
oRemovalPromise.then(function (oResponse) {
|
|
264
|
+
if (!oContextData.oContextInfo.bIsCreate || !bIsCancellation) { // on success remove Edit Promise from the active version
|
|
264
265
|
var sDisplayPath = oResponse.context.getPath();
|
|
265
266
|
var oDisplayContextInfo = mPath2ContextData[sDisplayPath];
|
|
266
267
|
if (oDisplayContextInfo) {
|
|
267
268
|
delete oDisplayContextInfo.oEditingPromise;
|
|
268
269
|
setDraftExists(oDisplayContextInfo, false);
|
|
269
270
|
}
|
|
270
|
-
}
|
|
271
|
-
|
|
271
|
+
}
|
|
272
|
+
// There are scenarios in which the model has not received the information that the draft context is removed, namely
|
|
273
|
+
// - when the draft is removed due to an activation
|
|
274
|
+
// - when the draft is removed with a discard action
|
|
275
|
+
// In these cases we actively invalidate the information in the model. This will ensure that a new read is triggered if the same key
|
|
276
|
+
// is used for another draft.
|
|
277
|
+
// Note: The invalidaton is postponed to the end of the busy session to ensure that no view is bound to the draft context
|
|
278
|
+
// anymore (which possibly could trigger a reload of the non-existing draft).
|
|
279
|
+
oTemplateContract.oBusyHelper.getUnbusy().then(oModel.invalidateEntry.bind(oModel, oContext));
|
|
280
|
+
});
|
|
272
281
|
}
|
|
273
282
|
|
|
274
283
|
// Public method that is called, when the activation of oContext is started. oActivationPromise must be a RemovalPromise like described in draftRemovalStarted
|
|
@@ -103,7 +103,7 @@ RATING_INDICATOR_AGGREGATE_COUNT=({0})
|
|
|
103
103
|
|
|
104
104
|
|
|
105
105
|
|
|
106
|
-
ST_GENERIC_BAD_REQUEST=Ingen data fundet
|
|
106
|
+
ST_GENERIC_BAD_REQUEST=Ingen data fundet.
|
|
107
107
|
|
|
108
108
|
ST_GENERIC_ERROR_AUTHENTICATED_FAILED=Autentifikation mislykkedes
|
|
109
109
|
|
|
@@ -249,15 +249,15 @@ NOITEMS_SMARTTABLE_WITH_FILTER=Ingen elementer tilg\u00E6ngelige. Pr\u00F8v at t
|
|
|
249
249
|
|
|
250
250
|
NOITEMS_SMARTTABLE_WITH_FILTER_FOR_SEGMENTEDBUTTON=Der findes ingen elementer for de valgte filterkriterier og det valgte tabelview.
|
|
251
251
|
|
|
252
|
-
NOITEMS_SMARTCHART=Ingen data
|
|
252
|
+
NOITEMS_SMARTCHART=Ingen data fundet.
|
|
253
253
|
|
|
254
254
|
NOITEMS_LR_SMARTCHART=Der findes ingen data for de valgte filterkriterier og det valgte diagramview.
|
|
255
255
|
|
|
256
|
-
NOITEMS_SMARTCHART_WITH_FILTER=Ingen data
|
|
256
|
+
NOITEMS_SMARTCHART_WITH_FILTER=Ingen data fundet. Pr\u00F8v at tilpasse s\u00F8gning eller filterparametre.
|
|
257
257
|
|
|
258
258
|
SMARTCHART_INITIAL_NODATA=Indstil de relevante filtre for at starte.
|
|
259
259
|
|
|
260
|
-
NOITEMS_LR_SMARTTABLE=Ingen data fundet
|
|
260
|
+
NOITEMS_LR_SMARTTABLE=Ingen data fundet.
|
|
261
261
|
|
|
262
262
|
NOITEMS_LR_SMARTTABLE_WITH_FILTER=Ingen data fundet. Pr\u00F8v at tilpasse s\u00F8gning eller filterparametre.
|
|
263
263
|
|
|
@@ -2697,7 +2697,7 @@ sap.ui.define(["sap/ui/base/Object",
|
|
|
2697
2697
|
* @param {sap.suite.ui.generic.template.lib.AppComponent} oAppComponent The AppComponent instance
|
|
2698
2698
|
* @public
|
|
2699
2699
|
* @extends sap.ui.base.Object
|
|
2700
|
-
* @version 1.96.
|
|
2700
|
+
* @version 1.96.9
|
|
2701
2701
|
* @since 1.30.0
|
|
2702
2702
|
* @alias sap.suite.ui.generic.template.lib.NavigationController
|
|
2703
2703
|
*/
|
|
@@ -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.9",
|
|
41
41
|
extensions: {
|
|
42
42
|
//Configuration used for rule loading of Support Assistant
|
|
43
43
|
"sap.ui.support": {
|
package/src/sap/suite/ui/generic/template/listTemplates/fragments/DetailSmartTable.fragment.xml
CHANGED
|
@@ -152,12 +152,12 @@ xmlns:customData="http://schemas.sap.com/sapui5/extension/sap.ui.core.CustomData
|
|
|
152
152
|
<!-- TREE TABLE -->
|
|
153
153
|
<table:TreeTable id="{:= ${parameter>/stableId}.getStableId({type: 'ALPTable', subType: 'TreeTable', sQuickVariantKey: ${tabItem>key}})}" visibleRowCountMode="Auto" enableColumnReordering="true" showColumnVisibilityMenu="false" enableColumnFreeze="true" enableCellFilter="true" rowActionCount="{= (!${_templPriv>/listReport/isLeaf} ? 1 : 0 )}" rowSelectionChange="._templateEventHandlers.onRowSelectionChange">
|
|
154
154
|
<!--To-Do : As discussed, row-highlighting and extension would be taken up later-->
|
|
155
|
-
|
|
155
|
+
<template:with path="entitySet>" var="listEntitySet">
|
|
156
156
|
<table:rowSettingsTemplate>
|
|
157
|
-
<table:RowSettings highlight="None"/>
|
|
157
|
+
<table:RowSettings highlight="None" navigated="{parts: [{path: "_templPriv>/generic/currentActiveChildContext"}, {path: ""}], formatter: "sap.suite.ui.generic.template.js.RuntimeFormatters.setRowNavigated"}" />
|
|
158
158
|
</table:rowSettingsTemplate>
|
|
159
159
|
</template:with>
|
|
160
|
-
|
|
160
|
+
<!--<table:columns>
|
|
161
161
|
<core:ExtensionPoint name="TreeTableColumnsExtension|{entitySet>name}"/>
|
|
162
162
|
<core:Fragment fragmentName="sap.suite.ui.generic.template.fragments.TreeTableColumns" type="XML"/>
|
|
163
163
|
</table:columns>-->
|