@sapui5/sap.fe.templates 1.114.4 → 1.114.6
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/fe/templates/.library +1 -1
- package/src/sap/fe/templates/AnalyticalListPage/manifest.json +1 -1
- package/src/sap/fe/templates/ListReport/manifest.json +1 -1
- package/src/sap/fe/templates/ObjectPage/manifest.json +1 -1
- package/src/sap/fe/templates/TableScroller-dbg.js +8 -6
- package/src/sap/fe/templates/TableScroller.js +1 -1
- package/src/sap/fe/templates/TableScroller.js.map +1 -1
- package/src/sap/fe/templates/TableScroller.ts +17 -10
- package/src/sap/fe/templates/library-dbg.js +1 -1
- package/src/sap/fe/templates/library-preload.js +6 -6
- package/src/sap/fe/templates/library-preload.js.map +1 -1
- package/src/sap/fe/templates/library.js +1 -1
- package/src/sap/fe/templates/manifest.json +1 -1
package/package.json
CHANGED
|
@@ -7,16 +7,17 @@ sap.ui.define([], function () {
|
|
|
7
7
|
|
|
8
8
|
const TableScroller = {
|
|
9
9
|
/**
|
|
10
|
-
* Scrolls an
|
|
10
|
+
* Scrolls an MDCTable to a given row, identified by its context path.
|
|
11
11
|
* If the row with the path can't be found, the table stays unchanged.
|
|
12
12
|
*
|
|
13
|
-
* @param oTable The table
|
|
13
|
+
* @param oTable The table that is being scrolled through
|
|
14
14
|
* @param sRowPath The path identifying the row to scroll to
|
|
15
15
|
*/
|
|
16
16
|
scrollTableToRow: function (oTable, sRowPath) {
|
|
17
|
+
var _oTable$getGroupCondi, _oTable$getGroupCondi2;
|
|
17
18
|
const oTableRowBinding = oTable.getRowBinding();
|
|
18
19
|
const getTableContexts = function () {
|
|
19
|
-
if (oTable.data()
|
|
20
|
+
if (oTable.data("tableType") === "GridTable") {
|
|
20
21
|
return oTableRowBinding.getContexts(0);
|
|
21
22
|
} else {
|
|
22
23
|
return oTableRowBinding.getCurrentContexts();
|
|
@@ -26,11 +27,12 @@ sap.ui.define([], function () {
|
|
|
26
27
|
const oTableRow = getTableContexts().find(function (item) {
|
|
27
28
|
return item && item.getPath() === sRowPath;
|
|
28
29
|
});
|
|
29
|
-
if (oTableRow) {
|
|
30
|
+
if (oTableRow && oTableRow.getIndex() !== undefined) {
|
|
30
31
|
oTable.scrollToIndex(oTableRow.getIndex());
|
|
31
32
|
}
|
|
32
33
|
};
|
|
33
|
-
if (oTableRowBinding) {
|
|
34
|
+
if ((oTable.getGroupConditions() === undefined || ((_oTable$getGroupCondi = oTable.getGroupConditions()) === null || _oTable$getGroupCondi === void 0 ? void 0 : (_oTable$getGroupCondi2 = _oTable$getGroupCondi.groupLevels) === null || _oTable$getGroupCondi2 === void 0 ? void 0 : _oTable$getGroupCondi2.length) === 0) && oTableRowBinding) {
|
|
35
|
+
// we only scroll if there are no grouping otherwise scrollToIndex doesn't behave as expected
|
|
34
36
|
const oTableRowBindingContexts = getTableContexts();
|
|
35
37
|
if (oTableRowBindingContexts.length === 0 && oTableRowBinding.getLength() > 0 || oTableRowBindingContexts.some(function (context) {
|
|
36
38
|
return context === undefined;
|
|
@@ -46,4 +48,4 @@ sap.ui.define([], function () {
|
|
|
46
48
|
};
|
|
47
49
|
return TableScroller;
|
|
48
50
|
}, false);
|
|
49
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
51
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6WyJUYWJsZVNjcm9sbGVyIiwic2Nyb2xsVGFibGVUb1JvdyIsIm9UYWJsZSIsInNSb3dQYXRoIiwib1RhYmxlUm93QmluZGluZyIsImdldFJvd0JpbmRpbmciLCJnZXRUYWJsZUNvbnRleHRzIiwiZGF0YSIsImdldENvbnRleHRzIiwiZ2V0Q3VycmVudENvbnRleHRzIiwiZmluZEFuZFNjcm9sbCIsIm9UYWJsZVJvdyIsImZpbmQiLCJpdGVtIiwiZ2V0UGF0aCIsImdldEluZGV4IiwidW5kZWZpbmVkIi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sSUFDRWUsd0JBQXdCLENBQUNELE1BQU0sS0FBSyxDQUFDLElBQUloQixnQkFBZ0IsQ0FBQ2tCLFNBQVMsRUFBRSxHQUFHLENBQUMsSUFDMUVELHdCQUF3QixDQUFDRSxJQUFJLENBQUMsVUFBVUMsT0FBTyxFQUFFO1VBQ2hELE9BQU9BLE9BQU8sS0FBS1IsU0FBUztRQUM3QixDQUFDLENBQUMsRUFDRDtVQUNEO1VBQ0FaLGdCQUFnQixDQUFDcUIsZUFBZSxDQUFDLGNBQWMsRUFBRWYsYUFBYSxDQUFDO1FBQ2hFLENBQUMsTUFBTTtVQUNOO1VBQ0FBLGFBQWEsRUFBRTtRQUNoQjtNQUNEO0lBQ0Q7RUFDRCxDQUFDO0VBQUMsT0FFYVYsYUFBYTtBQUFBIn0=
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
* SAP UI development toolkit for HTML5 (SAPUI5)
|
|
3
3
|
* (c) Copyright 2009-2023 SAP SE. All rights reserved
|
|
4
4
|
*/
|
|
5
|
-
sap.ui.define([],function(){"use strict";const
|
|
5
|
+
sap.ui.define([],function(){"use strict";const n={scrollTableToRow:function(n,e){var t,o;const i=n.getRowBinding();const d=function(){if(n.data("tableType")==="GridTable"){return i.getContexts(0)}else{return i.getCurrentContexts()}};const u=function(){const t=d().find(function(n){return n&&n.getPath()===e});if(t&&t.getIndex()!==undefined){n.scrollToIndex(t.getIndex())}};if((n.getGroupConditions()===undefined||((t=n.getGroupConditions())===null||t===void 0?void 0:(o=t.groupLevels)===null||o===void 0?void 0:o.length)===0)&&i){const n=d();if(n.length===0&&i.getLength()>0||n.some(function(n){return n===undefined})){i.attachEventOnce("dataReceived",u)}else{u()}}}};return n},false);
|
|
6
6
|
//# sourceMappingURL=TableScroller.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableScroller.js","names":["sap","ui","define","TableScroller","scrollTableToRow","oTable","sRowPath","oTableRowBinding","getRowBinding","getTableContexts","data","
|
|
1
|
+
{"version":3,"file":"TableScroller.js","names":["sap","ui","define","TableScroller","scrollTableToRow","oTable","sRowPath","_oTable$getGroupCondi","_oTable$getGroupCondi2","oTableRowBinding","getRowBinding","getTableContexts","data","getContexts","getCurrentContexts","findAndScroll","oTableRow","find","item","getPath","getIndex","undefined","scrollToIndex","getGroupConditions","groupLevels","length","oTableRowBindingContexts","getLength","some","context","attachEventOnce"],"sources":["TableScroller-dbg.js"],"mappings":";;;;AAIAA,IAAIC,GAAGC,OAAO,GAAI,WAChB,aAEA,MAAMC,EAAgB,CAQpBC,iBAAkB,SAAUC,EAAQC,GAClC,IAAIC,EAAuBC,EAC3B,MAAMC,EAAmBJ,EAAOK,gBAChC,MAAMC,EAAmB,WACvB,GAAIN,EAAOO,KAAK,eAAiB,YAAa,CAC5C,OAAOH,EAAiBI,YAAY,EACtC,KAAO,CACL,OAAOJ,EAAiBK,oBAC1B,CACF,EACA,MAAMC,EAAgB,WACpB,MAAMC,EAAYL,IAAmBM,KAAK,SAAUC,GAClD,OAAOA,GAAQA,EAAKC,YAAcb,CACpC,GACA,GAAIU,GAAaA,EAAUI,aAAeC,UAAW,CACnDhB,EAAOiB,cAAcN,EAAUI,WACjC,CACF,EACA,IAAKf,EAAOkB,uBAAyBF,aAAed,EAAwBF,EAAOkB,wBAA0B,MAAQhB,SAA+B,OAAS,GAAKC,EAAyBD,EAAsBiB,eAAiB,MAAQhB,SAAgC,OAAS,EAAIA,EAAuBiB,UAAY,IAAMhB,EAAkB,CAEhV,MAAMiB,EAA2Bf,IACjC,GAAIe,EAAyBD,SAAW,GAAKhB,EAAiBkB,YAAc,GAAKD,EAAyBE,KAAK,SAAUC,GACvH,OAAOA,IAAYR,SACrB,GAAI,CAEFZ,EAAiBqB,gBAAgB,eAAgBf,EACnD,KAAO,CAELA,GACF,CACF,CACF,GAEF,OAAOZ,CACT,EAAG"}
|
|
@@ -1,16 +1,18 @@
|
|
|
1
|
+
import type MdcTable from "sap/ui/mdc/Table";
|
|
2
|
+
import type ODataListBinding from "sap/ui/model/odata/v4/ODataListBinding";
|
|
1
3
|
const TableScroller = {
|
|
2
4
|
/**
|
|
3
|
-
* Scrolls an
|
|
5
|
+
* Scrolls an MDCTable to a given row, identified by its context path.
|
|
4
6
|
* If the row with the path can't be found, the table stays unchanged.
|
|
5
7
|
*
|
|
6
|
-
* @param oTable The table
|
|
8
|
+
* @param oTable The table that is being scrolled through
|
|
7
9
|
* @param sRowPath The path identifying the row to scroll to
|
|
8
10
|
*/
|
|
9
|
-
scrollTableToRow: function (oTable:
|
|
10
|
-
const oTableRowBinding = oTable.getRowBinding();
|
|
11
|
+
scrollTableToRow: function (oTable: MdcTable, sRowPath: string) {
|
|
12
|
+
const oTableRowBinding = oTable.getRowBinding() as ODataListBinding;
|
|
11
13
|
|
|
12
14
|
const getTableContexts = function () {
|
|
13
|
-
if (oTable.data()
|
|
15
|
+
if (oTable.data("tableType") === "GridTable") {
|
|
14
16
|
return oTableRowBinding.getContexts(0);
|
|
15
17
|
} else {
|
|
16
18
|
return oTableRowBinding.getCurrentContexts();
|
|
@@ -18,20 +20,25 @@ const TableScroller = {
|
|
|
18
20
|
};
|
|
19
21
|
|
|
20
22
|
const findAndScroll = function () {
|
|
21
|
-
const oTableRow = getTableContexts().find(function (item
|
|
23
|
+
const oTableRow = getTableContexts().find(function (item) {
|
|
22
24
|
return item && item.getPath() === sRowPath;
|
|
23
25
|
});
|
|
24
|
-
if (oTableRow) {
|
|
25
|
-
oTable.scrollToIndex(oTableRow.getIndex());
|
|
26
|
+
if (oTableRow && oTableRow.getIndex() !== undefined) {
|
|
27
|
+
oTable.scrollToIndex(oTableRow.getIndex() as number);
|
|
26
28
|
}
|
|
27
29
|
};
|
|
28
30
|
|
|
29
|
-
if (
|
|
31
|
+
if (
|
|
32
|
+
(oTable.getGroupConditions() === undefined ||
|
|
33
|
+
(oTable.getGroupConditions() as { groupLevels?: object[] })?.groupLevels?.length === 0) &&
|
|
34
|
+
oTableRowBinding
|
|
35
|
+
) {
|
|
36
|
+
// we only scroll if there are no grouping otherwise scrollToIndex doesn't behave as expected
|
|
30
37
|
const oTableRowBindingContexts = getTableContexts();
|
|
31
38
|
|
|
32
39
|
if (
|
|
33
40
|
(oTableRowBindingContexts.length === 0 && oTableRowBinding.getLength() > 0) ||
|
|
34
|
-
oTableRowBindingContexts.some(function (context
|
|
41
|
+
oTableRowBindingContexts.some(function (context) {
|
|
35
42
|
return context === undefined;
|
|
36
43
|
})
|
|
37
44
|
) {
|
|
@@ -39,7 +39,7 @@ sap.ui.define(["sap/f/library", "sap/fe/core/library", "sap/fe/macros/library",
|
|
|
39
39
|
controls: [],
|
|
40
40
|
elements: [],
|
|
41
41
|
// eslint-disable-next-line no-template-curly-in-string
|
|
42
|
-
version: "1.114.
|
|
42
|
+
version: "1.114.6",
|
|
43
43
|
noLibraryCSS: true
|
|
44
44
|
});
|
|
45
45
|
if (!thisLib.ObjectPage) {
|
|
@@ -189,16 +189,16 @@ sap.ui.predefine("sap/fe/templates/ObjectPage/view/fragments/FooterContent.block
|
|
|
189
189
|
* SAP UI development toolkit for HTML5 (SAPUI5)
|
|
190
190
|
* (c) Copyright 2009-2023 SAP SE. All rights reserved
|
|
191
191
|
*/
|
|
192
|
-
sap.ui.predefine("sap/fe/templates/TableScroller", [],function(){"use strict";const
|
|
192
|
+
sap.ui.predefine("sap/fe/templates/TableScroller", [],function(){"use strict";const n={scrollTableToRow:function(n,e){var t,o;const i=n.getRowBinding();const d=function(){if(n.data("tableType")==="GridTable"){return i.getContexts(0)}else{return i.getCurrentContexts()}};const u=function(){const t=d().find(function(n){return n&&n.getPath()===e});if(t&&t.getIndex()!==undefined){n.scrollToIndex(t.getIndex())}};if((n.getGroupConditions()===undefined||((t=n.getGroupConditions())===null||t===void 0?void 0:(o=t.groupLevels)===null||o===void 0?void 0:o.length)===0)&&i){const n=d();if(n.length===0&&i.getLength()>0||n.some(function(n){return n===undefined})){i.attachEventOnce("dataReceived",u)}else{u()}}}};return n},false);
|
|
193
193
|
/*!
|
|
194
194
|
* SAP UI development toolkit for HTML5 (SAPUI5)
|
|
195
195
|
* (c) Copyright 2009-2023 SAP SE. All rights reserved
|
|
196
196
|
*/
|
|
197
|
-
sap.ui.predefine("sap/fe/templates/library", ["sap/f/library","sap/fe/core/library","sap/fe/macros/library","sap/fe/templates/ListReport/view/fragments/MultipleMode.block","sap/fe/templates/ObjectPage/components/DraftHandlerButton.block","sap/fe/templates/ObjectPage/view/fragments/FooterContent.block","sap/ui/core/Core","sap/ui/core/library"],function(e,a,t,s,r,p,o,c){"use strict";var i={};const n="sap.fe.templates";i.templatesNamespace=n;const l="sap.fe.templates.ListReport";i.templatesLRNamespace=l;const f="sap.fe.templates.ObjectPage";i.templatesOPNamespace=f;const m=o.initLibrary({name:"sap.fe.templates",dependencies:["sap.ui.core","sap.fe.core","sap.fe.macros","sap.f"],types:["sap.fe.templates.ObjectPage.SectionLayout"],interfaces:[],controls:[],elements:[],version:"1.114.
|
|
197
|
+
sap.ui.predefine("sap/fe/templates/library", ["sap/f/library","sap/fe/core/library","sap/fe/macros/library","sap/fe/templates/ListReport/view/fragments/MultipleMode.block","sap/fe/templates/ObjectPage/components/DraftHandlerButton.block","sap/fe/templates/ObjectPage/view/fragments/FooterContent.block","sap/ui/core/Core","sap/ui/core/library"],function(e,a,t,s,r,p,o,c){"use strict";var i={};const n="sap.fe.templates";i.templatesNamespace=n;const l="sap.fe.templates.ListReport";i.templatesLRNamespace=l;const f="sap.fe.templates.ObjectPage";i.templatesOPNamespace=f;const m=o.initLibrary({name:"sap.fe.templates",dependencies:["sap.ui.core","sap.fe.core","sap.fe.macros","sap.f"],types:["sap.fe.templates.ObjectPage.SectionLayout"],interfaces:[],controls:[],elements:[],version:"1.114.6",noLibraryCSS:true});if(!m.ObjectPage){m.ObjectPage={}}m.ObjectPage.SectionLayout={Page:"Page",Tabs:"Tabs"};s.register();r.register();p.register();return m},false);
|
|
198
198
|
sap.ui.require.preload({
|
|
199
|
-
"sap/fe/templates/AnalyticalListPage/manifest.json":'{"_version":"1.14.0","sap.app":{"id":"sap.fe.templates.AnalyticalListPage","type":"component","applicationVersion":{"version":"1.114.
|
|
199
|
+
"sap/fe/templates/AnalyticalListPage/manifest.json":'{"_version":"1.14.0","sap.app":{"id":"sap.fe.templates.AnalyticalListPage","type":"component","applicationVersion":{"version":"1.114.6"},"title":"Analytical List Page","tags":{"keywords":["Analytical List Page"]},"ach":"CA-UI5-FE","embeddedBy":"../","offline":false,"resources":"resources.json"},"sap.ui5":{"services":{"templatedViewService":{"settings":{"converterType":"AnalyticalListPage"}}},"dependencies":{"minUI5Version":"${sap.ui5.core.version}","libs":{"sap.fe.macros":{}}}}}',
|
|
200
200
|
"sap/fe/templates/ListReport/ListReport.view.xml":'<mvc:View\n\txmlns="sap.m"\n\txmlns:mvc="sap.ui.core.mvc"\n\txmlns:f="sap.f"\n\txmlns:macro="sap.fe.macros"\n\txmlns:macroInternal="sap.fe.macros.internal"\n\txmlns:control="sap.fe.core.controls"\n\txmlns:core="sap.ui.core"\n\txmlns:fragments="sap.fe.templates.ListReport.view.fragments"\n\txmlns:l="sap.ui.layout"\n\txmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"\n\txmlns:unittest="http://schemas.sap.com/sapui5/preprocessorextension/sap.fe.unittesting/1"\n\txmlns:customData="http://schemas.sap.com/sapui5/extension/sap.ui.core.CustomData/1"\n\ttemplate:require="{\n\t\tID: \'sap/fe/core/helpers/StableIdHelper\',\n\t\tCOMMON: \'sap/fe/macros/CommonHelper\',\n\t\tFILTER: \'sap/fe/core/templating/FilterHelper\',\n\t\tLR: \'sap/fe/templates/ListReport/ListReportTemplating\'\n\t}"\n\tcontrollerName="sap.fe.templates.ListReport.ListReportController"\n><template:with path="converterContext>mainEntitySet" var="entitySet"><template:with path="converterContext>mainEntityType" var="entityType"><f:DynamicPage\n\t\t\t\tid="fe::ListReport"\n\t\t\t\tunittest:id="listReportFooterTest"\n\t\t\t\tstickySubheaderProvider="{converterContext>stickySubheaderProvider}"\n\t\t\t\tshowFooter="false"\n\t\t\t\tbusy="{ui>/busy}"\n\t\t\t\tbusyIndicatorDelay="0"\n\t\t\t\tclass="{= !${converterContext>hasMultiVisualizations} && ${converterContext>views}.length > 1 ? \'sapUiNoContentPadding\' : \'sapUiResponsiveContentPadding\'}"\n\t\t\t><f:dependents><template:if test="{converterContext>headerActions}"><template:repeat list="{converterContext>headerActions}" var="headerAction"><template:if test="{headerAction>command}"><control:CommandExecution\n\t\t\t\t\t\t\t\t\tcore:require="{FPM: \'sap/fe/core/helpers/FPMHelper\'}"\n\t\t\t\t\t\t\t\t\texecute="{= COMMON.buildActionWrapper(${headerAction>})}"\n\t\t\t\t\t\t\t\t\tvisible="{headerAction>visible}"\n\t\t\t\t\t\t\t\t\tenabled="{headerAction>enabled}"\n\t\t\t\t\t\t\t\t\tcommand="{headerAction>command}"\n\t\t\t\t\t\t\t\t/></template:if></template:repeat></template:if><template:if test="{= !${converterContext>hideFilterBar} && !${viewData>/liveMode} }"><template:then><control:CommandExecution execute=".handlers.onFilterSearch" command="FE_FilterSearch" /></template:then></template:if></f:dependents><f:title><f:DynamicPageTitle stateChange=".handlers.onDynamicPageTitleStateChanged"><f:heading><template:with path="converterContext>kpiDefinitions" var="definitions"><template:if test="{definitions>length}"><template:then><l:HorizontalLayout class="sapUiNoContentPadding sapUiNoMarginTop sapUiNoMarginBottom"><core:Fragment\n\t\t\t\t\t\t\t\t\t\t\t\tfragmentName="sap.fe.templates.ListReport.view.fragments.VariantManagement"\n\t\t\t\t\t\t\t\t\t\t\t\ttype="XML"\n\t\t\t\t\t\t\t\t\t\t\t/><template:repeat list="{converterContext>kpiDefinitions}" var="kpi"><template:with path="kpi>datapoint" var="datapoint"><macro:KPITag\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tid="{kpi>id}"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tmetaPath="{datapoint>annotationPath}"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tkpiModelName="kpiModel"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\thasUnit="{= ${datapoint>unit} !== undefined}"\n\t\t\t\t\t\t\t\t\t\t\t\t\t/></template:with></template:repeat></l:HorizontalLayout></template:then><template:else><core:Fragment\n\t\t\t\t\t\t\t\t\t\t\tfragmentName="sap.fe.templates.ListReport.view.fragments.VariantManagement"\n\t\t\t\t\t\t\t\t\t\t\ttype="XML"\n\t\t\t\t\t\t\t\t\t\t/></template:else></template:if></template:with></f:heading><f:snappedContent><Text id="fe::appliedFiltersText" /></f:snappedContent><f:actions><ToolbarSpacer /><template:if test="{converterContext>headerActions}"><template:repeat list="{converterContext>headerActions}" var="headerAction"><Button\n\t\t\t\t\t\t\t\t\t\tcore:require="{FPM: \'sap/fe/core/helpers/FPMHelper\'}"\n\t\t\t\t\t\t\t\t\t\tid="{= ID.generate([\'fe\',${headerAction>id}])}"\n\t\t\t\t\t\t\t\t\t\ttext="{headerAction>text}"\n\t\t\t\t\t\t\t\t\t\tpress="{= ${headerAction>command} ? (\'cmd:\' + ${headerAction>command}) : COMMON.buildActionWrapper(${headerAction>})}"\n\t\t\t\t\t\t\t\t\t\ttype="Transparent"\n\t\t\t\t\t\t\t\t\t\tvisible="{headerAction>visible}"\n\t\t\t\t\t\t\t\t\t\tenabled="{headerAction>enabled}"\n\t\t\t\t\t\t\t\t\t/></template:repeat></template:if><template:if\n\t\t\t\t\t\t\t\ttest="{= ${converterContext>/filterLayout} === \'compactvisual\' && !${converterContext>hideFilterBar}}"\n\t\t\t\t\t\t\t><SegmentedButton\n\t\t\t\t\t\t\t\t\tid="{= ID.generate([ ${converterContext>filterBarId}, \'LayoutToggle\']) }"\n\t\t\t\t\t\t\t\t\tselectedKey="{converterContext>/filterInitialLayout}"\n\t\t\t\t\t\t\t\t><items><SegmentedButtonItem\n\t\t\t\t\t\t\t\t\t\t\ttooltip="{sap.fe.i18n>T_SEGMENTED_BUTTON_TOOLTIP_COMPACT}"\n\t\t\t\t\t\t\t\t\t\t\tkey="compact"\n\t\t\t\t\t\t\t\t\t\t\ticon="sap-icon://filter-fields"\n\t\t\t\t\t\t\t\t\t\t/><SegmentedButtonItem\n\t\t\t\t\t\t\t\t\t\t\ttooltip="{sap.fe.i18n>T_SEGMENTED_BUTTON_TOOLTIP_VISUAL}"\n\t\t\t\t\t\t\t\t\t\t\tkey="visual"\n\t\t\t\t\t\t\t\t\t\t\ticon="sap-icon://filter-analytics"\n\t\t\t\t\t\t\t\t\t\t/></items></SegmentedButton></template:if><macro:Share id="fe::Share" visible="{= ${fclhelper>/} ? ${fclhelper>/showShareIcon} : true }" /></f:actions><template:if test="{converterContext>useHiddenFilterBar}"><template:then><f:dependents><template:with path="converterContext>filterBar" var="filterBarContext"><macroInternal:FilterBar\n\t\t\t\t\t\t\t\t\t\t\tunittest:id="listReportFilterBarTest"\n\t\t\t\t\t\t\t\t\t\t\tid="{converterContext>filterBarId}"\n\t\t\t\t\t\t\t\t\t\t\t_applyIdToContent="true"\n\t\t\t\t\t\t\t\t\t\t\tmetaPath="{entityType>}"\n\t\t\t\t\t\t\t\t\t\t\tvariantBackreference="{= LR.getVariantBackReference(${viewData>}, ${converterContext>} )}"\n\t\t\t\t\t\t\t\t\t\t\tselectionFields="{filterBarContext>selectionFields}"\n\t\t\t\t\t\t\t\t\t\t\tpropertyInfo="{filterBarContext>propertyInfo}"\n\t\t\t\t\t\t\t\t\t\t\tinternalFilterChanged=".handlers.onFiltersChanged"\n\t\t\t\t\t\t\t\t\t\t\tfilterConditions="{parts:[{path:\'converterContext>filterConditions\'}, {path:\'entitySet>\'}], formatter: \'FILTER.getFilterConditions\'}"\n\t\t\t\t\t\t\t\t\t\t\tinternalSearch=".handlers.onSearch"\n\t\t\t\t\t\t\t\t\t\t\thideBasicSearch="{filterBarContext>hideBasicSearch}"\n\t\t\t\t\t\t\t\t\t\t\tliveMode="{viewData>/liveMode}"\n\t\t\t\t\t\t\t\t\t\t\tshowAdaptFiltersButton="true"\n\t\t\t\t\t\t\t\t\t\t\tp13nMode="Item,Value"\n\t\t\t\t\t\t\t\t\t\t\tuseSemanticDateRange="{converterContext>useSemanticDateRange}"\n\t\t\t\t\t\t\t\t\t\t\tsuspendSelection="false"\n\t\t\t\t\t\t\t\t\t\t\ttoggleControlId="{= ${converterContext>/filterLayout} === \'compactvisual\' ? ID.generate([ ${converterContext>filterBarId}, \'LayoutToggle\']) : undefined }"\n\t\t\t\t\t\t\t\t\t\t\tinitialLayout="{= ${converterContext>/filterLayout} === \'compactvisual\' ? ${converterContext>/filterInitialLayout} : undefined }"\n\t\t\t\t\t\t\t\t\t\t\tstateChange=".handlers.onStateChange"\n\t\t\t\t\t\t\t\t\t\t/></template:with></f:dependents></template:then></template:if></f:DynamicPageTitle></f:title><f:header><template:if test="{= !${converterContext>hideFilterBar} }"><template:then><template:with path="converterContext>filterBar" var="filterBarContext"><f:DynamicPageHeader pinnable="{converterContext>showPinnableToggle}"><VBox><macroInternal:FilterBar\n\t\t\t\t\t\t\t\t\t\t\tunittest:id="listReportFilterBarTest"\n\t\t\t\t\t\t\t\t\t\t\tid="{converterContext>filterBarId}"\n\t\t\t\t\t\t\t\t\t\t\t_applyIdToContent="true"\n\t\t\t\t\t\t\t\t\t\t\tmetaPath="{entityType>}"\n\t\t\t\t\t\t\t\t\t\t\tvariantBackreference="{= LR.getVariantBackReference(${viewData>}, ${converterContext>} )}"\n\t\t\t\t\t\t\t\t\t\t\tselectionFields="{filterBarContext>selectionFields}"\n\t\t\t\t\t\t\t\t\t\t\tpropertyInfo="{filterBarContext>propertyInfo}"\n\t\t\t\t\t\t\t\t\t\t\tinternalFilterChanged=".handlers.onFiltersChanged"\n\t\t\t\t\t\t\t\t\t\t\tfilterConditions="{parts:[{path:\'converterContext>filterConditions\'}, {path:\'entitySet>\'}], formatter: \'FILTER.getFilterConditions\'}"\n\t\t\t\t\t\t\t\t\t\t\tinternalSearch=".handlers.onSearch"\n\t\t\t\t\t\t\t\t\t\t\thideBasicSearch="{filterBarContext>hideBasicSearch}"\n\t\t\t\t\t\t\t\t\t\t\tshowClearButton="{filterBarContext>showClearButton}"\n\t\t\t\t\t\t\t\t\t\t\tafterClear=".onAfterClear"\n\t\t\t\t\t\t\t\t\t\t\tliveMode="{viewData>/liveMode}"\n\t\t\t\t\t\t\t\t\t\t\tshowAdaptFiltersButton="true"\n\t\t\t\t\t\t\t\t\t\t\tp13nMode="Item,Value"\n\t\t\t\t\t\t\t\t\t\t\tuseSemanticDateRange="{converterContext>useSemanticDateRange}"\n\t\t\t\t\t\t\t\t\t\t\tsuspendSelection="false"\n\t\t\t\t\t\t\t\t\t\t\ttoggleControlId="{= ${converterContext>/filterLayout} === \'compactvisual\' ? ID.generate([ ${converterContext>filterBarId}, \'LayoutToggle\']) : undefined }"\n\t\t\t\t\t\t\t\t\t\t\tinitialLayout="{= ${converterContext>/filterLayout} === \'compactvisual\' ? ${converterContext>/filterInitialLayout} : undefined }"\n\t\t\t\t\t\t\t\t\t\t\tstateChange=".handlers.onStateChange"\n\t\t\t\t\t\t\t\t\t\t/></VBox></f:DynamicPageHeader></template:with></template:then></template:if></f:header><f:content><template:if test="{= ${converterContext>views}.length > 0}"><template:if test="{converterContext>multiViewsControl}"><template:then><fragments:MultipleMode /></template:then><template:elseif\n\t\t\t\t\t\t\t\ttest="{= ${converterContext>views}.length === 1 && !${converterContext>hasMultiVisualizations} }"\n\t\t\t\t\t\t\t><template:with path="converterContext>views/0/presentation" var="presentationContext"><core:Fragment\n\t\t\t\t\t\t\t\t\t\tfragmentName="sap.fe.templates.ListReport.view.fragments.CollectionVisualization"\n\t\t\t\t\t\t\t\t\t\ttype="XML"\n\t\t\t\t\t\t\t\t\t/></template:with></template:elseif><template:else><core:Fragment\n\t\t\t\t\t\t\t\t\tfragmentName="sap.fe.templates.ListReport.view.fragments.CollectionVisualization"\n\t\t\t\t\t\t\t\t\ttype="XML"\n\t\t\t\t\t\t\t\t/></template:else></template:if></template:if></f:content></f:DynamicPage></template:with></template:with></mvc:View>\n',
|
|
201
|
-
"sap/fe/templates/ListReport/manifest.json":'{"_version":"1.14.0","sap.app":{"id":"sap.fe.templates.ListReport","type":"component","applicationVersion":{"version":"1.114.
|
|
201
|
+
"sap/fe/templates/ListReport/manifest.json":'{"_version":"1.14.0","sap.app":{"id":"sap.fe.templates.ListReport","type":"component","applicationVersion":{"version":"1.114.6"},"title":"List Report","tags":{"keywords":["List Report"]},"ach":"CA-UI5-FE","embeddedBy":"../","offline":false,"resources":"resources.json"},"sap.ui5":{"services":{"templatedViewService":{"settings":{"converterType":"ListReport"}}},"handleValidation":true,"dependencies":{"minUI5Version":"${sap.ui5.core.version}","libs":{"sap.fe.core":{},"sap.ui.mdc":{},"sap.fe.macros":{},"sap.ui.fl":{},"sap.fe.navigation":{}}}}}',
|
|
202
202
|
"sap/fe/templates/ListReport/view/fragments/Chart.fragment.xml":'<core:FragmentDefinition xmlns="sap.m" xmlns:core="sap.ui.core"><core:Fragment fragmentName="sap.fe.templates.ListReport.view.fragments.MacroChart" type="XML" /></core:FragmentDefinition>\n',
|
|
203
203
|
"sap/fe/templates/ListReport/view/fragments/CollectionVisualization.fragment.xml":'<core:FragmentDefinition\n\txmlns="sap.fe.templates.controls"\n\txmlns:m="sap.m"\n\txmlns:core="sap.ui.core"\n\txmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"\n><template:if test="{= ${converterContext>hasMultiVisualizations} }"><template:then><m:VBox fitContainer="true" alignItems="Stretch" alignContent="Stretch" justifyContent="Start" renderType="Div"><template:repeat list="{converterContext>views}" var="view"><template:with path="view>primaryVisualization" var="presentationContext"><template:repeat list="{presentationContext>visualizations}" var="visualizationDefinition"><m:MessageStrip\n\t\t\t\t\t\t\t\ttext="{= \'{parts:[{path:\\\'internal>controls/ignoredFields\' + (${visualizationDefinition>collection}) + (${visualizationDefinition>type}) + \'\\\'}, {value: \\\'\' + (${visualizationDefinition>type} === \'Chart\') + \'\\\'},{value: \' + (${visualizationDefinition>type} === \'Chart\' ? JSON.stringify(${visualizationDefinition>applySupported}) : \'\\\'\\\'\') + \'}], formatter: \\\'.formatters.setALPControlMessageStrip\\\'}\'}"\n\t\t\t\t\t\t\t\ttype="Information"\n\t\t\t\t\t\t\t\tshowIcon="true"\n\t\t\t\t\t\t\t\tshowCloseButton="true"\n\t\t\t\t\t\t\t\tclass="sapUiSmallMargin"\n\t\t\t\t\t\t\t\tvisible="{= \'{= (${internal>controls/ignoredFields\' + (${visualizationDefinition>collection}) + (${visualizationDefinition>type}) + \'} || []).length>0 && ${pageInternal>alpContentView} !== \\\'Table\\\'}\' }"\n\t\t\t\t\t\t\t/><core:Fragment\n\t\t\t\t\t\t\t\tfragmentName="sap.fe.templates.ListReport.view.fragments.{visualizationDefinition>type}"\n\t\t\t\t\t\t\t\ttype="XML"\n\t\t\t\t\t\t\t/></template:repeat></template:with><template:with path="view>secondaryVisualization" var="presentationContext"><template:repeat list="{presentationContext>visualizations}" var="visualizationDefinition"><m:HBox\n\t\t\t\t\t\t\t\theight="100%"\n\t\t\t\t\t\t\t\twidth="100%"\n\t\t\t\t\t\t\t\tvisible="{= ${pageInternal>alpContentView} !== \'Chart\'}"\n\t\t\t\t\t\t\t\tclass="sapUiSmallMarginTop"\n\t\t\t\t\t\t\t><core:Fragment\n\t\t\t\t\t\t\t\t\tfragmentName="sap.fe.templates.ListReport.view.fragments.{visualizationDefinition>type}"\n\t\t\t\t\t\t\t\t\ttype="XML"\n\t\t\t\t\t\t\t\t/></m:HBox></template:repeat></template:with></template:repeat></m:VBox></template:then><template:else><template:repeat list="{presentationContext>visualizations}" var="visualizationDefinition"><core:Fragment fragmentName="sap.fe.templates.ListReport.view.fragments.{visualizationDefinition>type}" type="XML" /></template:repeat></template:else></template:if></core:FragmentDefinition>\n',
|
|
204
204
|
"sap/fe/templates/ListReport/view/fragments/CustomView.fragment.xml":'<core:FragmentDefinition\n\txmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"\n\txmlns:core="sap.ui.core"\n\txmlns:fpm="sap.fe.macros.fpm"\n><fpm:CustomFragment id="{view>customTabId}" fragmentName="{view>fragment}" /></core:FragmentDefinition>\n',
|
|
@@ -206,7 +206,7 @@ sap.ui.require.preload({
|
|
|
206
206
|
"sap/fe/templates/ListReport/view/fragments/Table.fragment.xml":'<core:FragmentDefinition\n\txmlns="sap.m"\n\txmlns:macro="sap.fe.macros.internal"\n\txmlns:core="sap.ui.core"\n\txmlns:unittest="http://schemas.sap.com/sapui5/preprocessorextension/sap.fe.unittesting/1"\n><macro:Table\n\t\tunittest:id="TablePropertyExpressionTest"\n\t\tmetaPath="{presentationContext>annotationPath}"\n\t\ttableDefinition="{visualizationDefinition>}"\n\t\tcontextPath="{fullContextPath>}"\n\t\tfilterBarId="{= ${converterContext>filterBarId} ? ${converterContext>filterBarId} : undefined}"\n\t\tnoDataText="{= ${sap.fe.i18n>T_TABLE_AND_CHART_NO_DATA_TEXT} }"\n\t\tbusy="{ui>/busy}"\n\t\tvariantSelected=".handlers.onVariantSelected"\n\t\tvariantSaved=".handlers.onVariantSaved"\n\t\tisAlp="{converterContext>hasMultiVisualizations}"\n\t\tonSegmentedButtonPressed="{= ${converterContext>hasMultiVisualizations} ? \'.handlers.onSegmentedButtonPressed\' : undefined }"\n\t\tvisible="{= ${converterContext>hasMultiVisualizations} ? \'{= ${pageInternal>alpContentView} !== \\\'Chart\\\'}\' : \'true\' }"\n\t\ttabTitle="{view>title}"\n\t\theaderLevel="H2"\n\t\tfieldMode="nowrapper"\n\t\tstateChange=".handlers.onStateChange"\n\t/></core:FragmentDefinition>\n',
|
|
207
207
|
"sap/fe/templates/ListReport/view/fragments/VariantManagement.fragment.xml":'<core:FragmentDefinition\n\txmlns="sap.m"\n\txmlns:core="sap.ui.core"\n\txmlns:v="sap.ui.fl.variants"\n\txmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"\n\txmlns:unittest="http://schemas.sap.com/sapui5/preprocessorextension/sap.fe.unittesting/1"\n\ttemplate:require="{\n\t\tID: \'sap/fe/core/helpers/StableIdHelper\'\n\t}"\n><template:if\n\t\ttest="{= ${viewData>/variantManagement} === \'Page\' || (${viewData>/variantManagement} === \'Control\' && !${converterContext>hideFilterBar})}"\n\t><template:then><v:VariantManagement\n\t\t\t\tid="{= ${viewData>/variantManagement} === \'Control\' ? ID.generate([ ${converterContext>filterBarId}, \'VariantManagement\']) : \'fe::PageVariantManagement\'}"\n\t\t\t\tunittest:id="{= ${viewData>/variantManagement} === \'Control\' ? \'listReportVMControlTest\' : \'listReportVMPageTest\'}"\n\t\t\t\tfor="{converterContext>variantManagement/targetControlIds}"\n\t\t\t\tshowSetAsDefault="true"\n\t\t\t\tselect=".handlers.onVariantSelected"\n\t\t\t\tsave=".handlers.onVariantSaved"\n\t\t\t\theaderLevel="H2"\n\t\t\t\tdisplayTextForExecuteOnSelectionForStandardVariant="{= ${viewData>/initialLoad} === \'Auto\' ? ${sap.fe.i18n>T_LR_VARIANT_APPLY_AUTOMATICALLY_WHEN_FILTER_SET} : undefined }"\n\t\t\t\texecuteOnSelectionForStandardDefault="{= ${viewData>/initialLoad} === \'Enabled\' || ${viewData>/initialLoad} === \'Auto\'}"\n\t\t\t/></template:then><template:else><Title unittest:id="listReportTitleTest" text="{= ${manifest>/sap.app/subTitle} || ${manifest>/sap.app/title} }" level="H2" /></template:else></template:if></core:FragmentDefinition>\n',
|
|
208
208
|
"sap/fe/templates/ObjectPage/ObjectPage.view.xml":'<mvc:View\n\txmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"\n\txmlns:unittest="http://schemas.sap.com/sapui5/preprocessorextension/sap.fe.unittesting/1"\n\txmlns:customdata="http://schemas.sap.com/sapui5/extension/sap.ui.core.CustomData/1"\n\txmlns:mvc="sap.ui.core.mvc"\n\txmlns:core="sap.ui.core"\n\txmlns:uxap="sap.uxap"\n\txmlns="sap.m"\n\txmlns:control="sap.fe.core.controls"\n\txmlns:fragments="sap.fe.templates.ObjectPage.view.fragments"\n\txmlns:fe="sap.fe.templates.controls"\n\txmlns:dt="sap.ui.dt"\n\txmlns:fl="sap.ui.fl"\n\txmlns:macro="sap.fe.macros"\n\txmlns:fclMacro="sap.fe.macros.fcl"\n\txmlns:internalMacro="sap.fe.macros.internal"\n\tcontrollerName="sap.fe.templates.ObjectPage.ObjectPageController"\n\ttemplate:require="{\n\t\t\t\tMODEL: \'sap/ui/model/odata/v4/AnnotationHelper\',\n\t\t\t\tOP: \'sap/fe/templates/ObjectPage/ObjectPageTemplating\',\n\t\t\t\tCONTACT: \'sap/fe/macros/contact/ContactHelper\',\n\t\t\t\tUI: \'sap/fe/core/templating/UIFormatters\',\n\t\t\t\tCOMMON: \'sap/fe/macros/CommonHelper\',\n\t\t\t\tCOMMONFORMATTERS: \'sap/fe/core/templating/CommonFormatters\'\n\t\t\t}"\n><template:with path="entitySet>./" var="entityType"><template:with path="entityType>@com.sap.vocabularies.UI.v1.HeaderInfo" var="headerInfo"><uxap:ObjectPageLayout\n\t\t\t\tid="fe::ObjectPage"\n\t\t\t\tflexEnabled="true"\n\t\t\t\tunittest:id="objectPageLayoutTest"\n\t\t\t\tcustomdata:showRelatedApps="{viewData>/showRelatedApps}"\n\t\t\t\tcustomdata:ObjectPageTitle="{headerInfo>TypeName}"\n\t\t\t\tcustomdata:ObjectPageSubtitle="{= COMMONFORMATTERS.getBindingWithText(${headerInfo>Title/Value@@UI.getDataModelObjectPath}) }"\n\t\t\t\tshowHeaderContent="{converterContext>header/showContent}"\n\t\t\t\tshowFooter="true"\n\t\t\t\tbusy="{ui>/busy}"\n\t\t\t\tbusyIndicatorDelay="0"\n\t\t\t\tshowAnchorBar="{converterContext>showAnchorBar}"\n\t\t\t\tupperCaseAnchorBar="false"\n\t\t\t\tuseIconTabBar="{converterContext>useIconTabBar}"\n\t\t\t\ttoggleHeaderOnTitleClick="{converterContext>showAnchorBar}"\n\t\t\t\theaderContentPinnable="{converterContext>showAnchorBar}"\n\t\t\t\tenableLazyLoading="true"\n\t\t\t\tnavigate=".handlers.onNavigateChange"\n\t\t\t><uxap:landmarkInfo><uxap:ObjectPageAccessibleLandmarkInfo footerLabel="{sap.fe.i18n>T_COMMON_OBJECT_PAGE_FOOTER}" /></uxap:landmarkInfo><uxap:dependents><control:CommandExecution execute="_executeTabShortCut" command="NextTab" /><control:CommandExecution execute="_executeTabShortCut" command="PreviousTab" /><control:CommandExecution\n\t\t\t\t\t\texecute="._editDocument(${$view>/getBindingContext})"\n\t\t\t\t\t\tenabled="{= OP.getEditCommandExecutionEnabled(${converterContext>header/actions}) }"\n\t\t\t\t\t\tvisible="{= OP.getEditCommandExecutionVisible(${converterContext>header/actions}) }"\n\t\t\t\t\t\tcommand="Edit"\n\t\t\t\t\t/><control:CommandExecution\n\t\t\t\t\t\texecute=".editFlow.toggleDraftActive(${$view>/getBindingContext})"\n\t\t\t\t\t\tvisible="{= OP.getSwitchToActiveVisibility(${entitySet>@}) }"\n\t\t\t\t\t\tcommand="SwitchToActiveObject"\n\t\t\t\t\t/><control:CommandExecution\n\t\t\t\t\t\texecute=".editFlow.toggleDraftActive(${$view>/getBindingContext})"\n\t\t\t\t\t\tvisible="{= OP.getSwitchToDraftVisibility(${entitySet>@}) }"\n\t\t\t\t\t\tcommand="SwitchToDraftObject"\n\t\t\t\t\t/><control:CommandExecution\n\t\t\t\t\t\texecute="{= ${entitySet>@@OP.getPressExpressionForDelete}}"\n\t\t\t\t\t\tvisible="{= OP.getDeleteCommandExecutionVisible(${converterContext>header/actions}) }"\n\t\t\t\t\t\tenabled="{= OP.getDeleteCommandExecutionEnabled(${converterContext>header/actions}) }"\n\t\t\t\t\t\tcommand="DeleteObject"\n\t\t\t\t\t/><control:CommandExecution\n\t\t\t\t\t\texecute="._saveDocument(${$view>/getBindingContext})"\n\t\t\t\t\t\tvisible="{ui>/isEditable}"\n\t\t\t\t\t\tcommand="Save"\n\t\t\t\t\t/><control:CommandExecution execute="._validateDocument" visible="{ui>/isEditable}" command="Validate" /><control:CommandExecution\n\t\t\t\t\t\texecute="._cancelDocument(${$view>/getBindingContext},{cancelButton:\'fe::FooterBar::StandardAction::Cancel\'})"\n\t\t\t\t\t\tvisible="{ui>/isEditable}"\n\t\t\t\t\t\tcommand="Cancel"\n\t\t\t\t\t/><control:CommandExecution execute="{converterContext>primaryAction}" command="FE_PrimaryAction" /><template:repeat list="{converterContext>headerCommandActions}" var="headerAction"><template:with path="headerAction>annotationPath" var="dataField"><template:with path="dataField>Action" helper="COMMON.getActionContext" var="actionContext"><template:with path="dataField>Action" helper="COMMON.getPathToBoundActionOverload" var="isBound"><template:if\n\t\t\t\t\t\t\t\t\t\ttest="{= ${headerAction>type} === \'ForAction\' ? ((${isBound>$IsBound} !== true || ${actionContext>@Org.OData.Core.V1.OperationAvailable} !== false) && ${dataField>Determining} !== true) : true }"\n\t\t\t\t\t\t\t\t\t><internalMacro:ActionCommand\n\t\t\t\t\t\t\t\t\t\t\taction="{headerAction>}"\n\t\t\t\t\t\t\t\t\t\t\tonExecuteAction="{= OP.getPressExpressionForEdit(${dataField>}, ${entitySet>@sapui.name}, ${headerAction>}) }"\n\t\t\t\t\t\t\t\t\t\t\tonExecuteIBN="{headerAction>press}"\n\t\t\t\t\t\t\t\t\t\t\tonExecuteManifest="{= COMMON.buildActionWrapper(${headerAction>})}"\n\t\t\t\t\t\t\t\t\t\t\tisIBNEnabled="{headerAction>enabled}"\n\t\t\t\t\t\t\t\t\t\t\tisActionEnabled="{headerAction>enabled}"\n\t\t\t\t\t\t\t\t\t\t/></template:if></template:with></template:with></template:with></template:repeat><template:repeat list="{converterContext>footerCommandActions}" var="footerAction"><template:with path="footerAction>annotationPath" var="dataField"><template:with path="dataField>Action" helper="COMMON.getActionContext" var="actionContext"><template:with path="dataField>Action" helper="COMMON.getPathToBoundActionOverload" var="isBound"><template:if\n\t\t\t\t\t\t\t\t\t\ttest="{= ${footerAction>type} === \'ForAction\' ? ((${isBound>$IsBound} !== true || ${actionContext>@Org.OData.Core.V1.OperationAvailable} !== false) && ${dataField>Determining} === true) : true }"\n\t\t\t\t\t\t\t\t\t><internalMacro:ActionCommand\n\t\t\t\t\t\t\t\t\t\t\taction="{footerAction>}"\n\t\t\t\t\t\t\t\t\t\t\tonExecuteAction="{= OP.getPressExpressionForFooterAnnotationAction(${dataField>@@UI.getDataModelObjectPath}, ${entitySet>@sapui.name}, ${footerAction>}) }"\n\t\t\t\t\t\t\t\t\t\t\tonExecuteIBN="{footerAction>press}"\n\t\t\t\t\t\t\t\t\t\t\tonExecuteManifest="{= COMMON.buildActionWrapper(${footerAction>})}"\n\t\t\t\t\t\t\t\t\t\t\tisIBNEnabled="{footerAction>enabled}"\n\t\t\t\t\t\t\t\t\t\t\tisActionEnabled="{footerAction>enabled}"\n\t\t\t\t\t\t\t\t\t\t/></template:if></template:with></template:with></template:with></template:repeat></uxap:dependents><template:if test="{converterContext>header/visible}"><template:with path="converterContext>header" var="header"><uxap:headerTitle><uxap:ObjectPageDynamicHeaderTitle primaryArea="Begin" areaShrinkRatio="1:0:1.6"><core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.Heading" type="XML" /><uxap:expandedContent><core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.HeadingContent" type="XML" /></uxap:expandedContent><uxap:snappedContent><core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.HeadingContent" type="XML" /></uxap:snappedContent><uxap:content><template:if test="{entitySet>@com.sap.vocabularies.Common.v1.DraftRoot}"><macro:DraftIndicator\n\t\t\t\t\t\t\t\t\t\t\tdraftIndicatorType="IconOnly"\n\t\t\t\t\t\t\t\t\t\t\tclass="sapUiTinyMarginBegin sapMTB sapMTBNewFlex"\n\t\t\t\t\t\t\t\t\t\t\tentitySet="{entitySet>}"\n\t\t\t\t\t\t\t\t\t\t/></template:if><SituationsIndicator xmlns="sap.fe.macros.internal.situations" entitySet="{entitySet>}" /></uxap:content><uxap:navigationActions><template:if test="{= ${viewData>/viewLevel} > 1}"><macro:Paginator id="fe::Paginator" /></template:if><template:if test="{= ${viewData>/fclEnabled} }"><fclMacro:FlexibleColumnLayoutActions /></template:if></uxap:navigationActions><uxap:actions><core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.Actions" type="XML" /></uxap:actions><uxap:breadcrumbs><Breadcrumbs\n\t\t\t\t\t\t\t\t\t\tunittest:id="BreadcrumbsTest"\n\t\t\t\t\t\t\t\t\t\tvisible="{= OP.getVisibleExpressionForBreadcrumbs(${viewData>/}) }"\n\t\t\t\t\t\t\t\t\t\tmodelContextChange="._setBreadcrumbLinks(${$source>/})"\n\t\t\t\t\t\t\t\t\t\tid="fe::Breadcrumbs"\n\t\t\t\t\t\t\t\t\t/></uxap:breadcrumbs></uxap:ObjectPageDynamicHeaderTitle></uxap:headerTitle><template:if test="{header>hasContent}"><uxap:headerContent><template:if test="{= COMMON.isDesktop() }"><template:then><FlexBox\n\t\t\t\t\t\t\t\t\t\t\tid="fe::HeaderContentContainer"\n\t\t\t\t\t\t\t\t\t\t\tunittest:id="FlexBoxTest"\n\t\t\t\t\t\t\t\t\t\t\tdt:designtime="sap/fe/templates/ObjectPage/designtime/FlexBox.designtime"\n\t\t\t\t\t\t\t\t\t\t\twrap="Wrap"\n\t\t\t\t\t\t\t\t\t\t\tfitContainer="false"\n\t\t\t\t\t\t\t\t\t\t\talignItems="Stretch"\n\t\t\t\t\t\t\t\t\t\t><core:Fragment\n\t\t\t\t\t\t\t\t\t\t\t\tfragmentName="sap.fe.templates.ObjectPage.view.fragments.HeaderContent"\n\t\t\t\t\t\t\t\t\t\t\t\ttype="XML"\n\t\t\t\t\t\t\t\t\t\t\t/></FlexBox></template:then><template:else><HeaderContainer\n\t\t\t\t\t\t\t\t\t\t\tid="fe::HeaderContentContainer"\n\t\t\t\t\t\t\t\t\t\t\tshowDividers="false"\n\t\t\t\t\t\t\t\t\t\t\tfl:flexibility="sap/fe/templates/ObjectPage/flexibility/ScrollableHeaderContainer.flexibility"\n\t\t\t\t\t\t\t\t\t\t><core:Fragment\n\t\t\t\t\t\t\t\t\t\t\t\tfragmentName="sap.fe.templates.ObjectPage.view.fragments.HeaderContent"\n\t\t\t\t\t\t\t\t\t\t\t\ttype="XML"\n\t\t\t\t\t\t\t\t\t\t\t/></HeaderContainer></template:else></template:if></uxap:headerContent></template:if></template:with></template:if><uxap:sections><core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.Section" type="XML" /></uxap:sections><uxap:footer><fragments:FooterContent id="fe::FooterBar" actions="{converterContext>/footerActions}" /></uxap:footer></uxap:ObjectPageLayout></template:with></template:with></mvc:View>\n',
|
|
209
|
-
"sap/fe/templates/ObjectPage/manifest.json":'{"_version":"1.14.0","sap.app":{"id":"sap.fe.templates.ObjectPage","type":"component","applicationVersion":{"version":"1.114.
|
|
209
|
+
"sap/fe/templates/ObjectPage/manifest.json":'{"_version":"1.14.0","sap.app":{"id":"sap.fe.templates.ObjectPage","type":"component","applicationVersion":{"version":"1.114.6"},"title":"Object Page","tags":{"keywords":["Object Page"]},"ach":"CA-UI5-FE","embeddedBy":"../","offline":false,"resources":"resources.json"},"sap.ui":{"technology":"UI5","deviceTypes":{"desktop":true,"tablet":true,"phone":true},"supportedThemes":["sap_fiori_3","sap_hcb","sap_bluecrystal","sap_belize","sap_belize_plus","sap_belize_hcw"]},"sap.ui5":{"config":{"sapFiori2Adaptation":{"style":true,"hierarchy":true}},"commands":{"Cancel":{"name":"Cancel","shortcut":"Escape"},"Validate":{"name":"Validate","shortcut":"Enter"},"Create":{"name":"Create","shortcut":"Ctrl+Enter"},"DeleteEntry":{"name":"DeleteEntry","shortcut":"Ctrl+D"},"DeleteObject":{"name":"DeleteObject","shortcut":"Ctrl+Delete"},"Edit":{"name":"Edit","shortcut":"Ctrl+E"},"SwitchToActiveObject":{"name":"SwitchToActiveObject","shortcut":"Ctrl+Shift+A"},"SwitchToDraftObject":{"name":"SwitchToDraftObject","shortcut":"Ctrl+Shift+D"},"NextTab":{"name":"NextTab","shortcut":"Ctrl+F9"},"PreviousTab":{"name":"PreviousTab","shortcut":"Ctrl+Shift+F9"},"Save":{"name":"Save","shortcut":"Ctrl+S"},"TableSettings":{"name":"TableSettings","shortcut":"Ctrl+,"},"Share":{"name":"Share","shortcut":"Shift+Ctrl+S"},"FE_PrimaryAction":{"name":"FE_PrimaryAction","shortcut":"Ctrl+Enter"}},"services":{"templatedViewService":{"factoryName":"sap.fe.core.services.TemplatedViewService","startup":"waitFor","settings":{"converterType":"ObjectPage","viewName":"sap.fe.templates.ObjectPage.ObjectPage"}},"asyncComponentService":{"factoryName":"sap.fe.core.services.AsyncComponentService","startup":"waitFor"}},"handleValidation":true,"dependencies":{"minUI5Version":"${sap.ui5.core.version}","libs":{"sap.f":{},"sap.fe.macros":{"lazy":true},"sap.m":{},"sap.suite.ui.microchart":{"lazy":true},"sap.ui.core":{},"sap.ui.layout":{},"sap.ui.mdc":{},"sap.uxap":{},"sap.ui.fl":{}}},"contentDensities":{"compact":true,"cozy":true}}}',
|
|
210
210
|
"sap/fe/templates/ObjectPage/view/fragments/Actions.fragment.xml":'<core:FragmentDefinition\n\txmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"\n\txmlns:unittest="http://schemas.sap.com/sapui5/preprocessorextension/sap.fe.unittesting/1"\n\txmlns:macrodata="http://schemas.sap.com/sapui5/extension/sap.ui.core.CustomData/1"\n\txmlns="sap.m"\n\txmlns:core="sap.ui.core"\n\txmlns:macro="sap.fe.macros.internal"\n\txmlns:components="sap.fe.templates.ObjectPage.components"\n\ttemplate:require="{\n\t\tID: \'sap/fe/core/helpers/StableIdHelper\',\n\t\tOP: \'sap/fe/templates/ObjectPage/ObjectPageTemplating\',\n\t\tMODEL: \'sap/ui/model/odata/v4/AnnotationHelper\',\n\t\tUI: \'sap/fe/core/templating/UIFormatters\',\n\t\tCRIT: \'sap/fe/core/templating/CriticalityFormatters\',\n\t\tCOMMON: \'sap/fe/macros/CommonHelper\',\n\t\tDATAFIELDANNOTATIONS : \'sap/fe/core/converters/annotations/DataField\',\n\t\tFIELD: \'sap/fe/macros/field/FieldHelper\',\n\t\tDEFAULTACTIONHANDLER: \'sap/fe/macros/internal/helpers/DefaultActionHandler\',\n\t\tFE_MODEL: \'sap/fe/core/helpers/ModelHelper\'\n\t}"\n><template:if test="{converterContext>header/actions}"><template:repeat list="{converterContext>header/actions}" var="headerAction"><template:if test="{= ${headerAction>type} === \'DraftActions\' && OP.checkDraftState(${entitySet>@}) }"><template:then><components:DraftHandlerButton contextPath="{entitySet>}" id="fe::StandardAction::SwitchDraftAndActiveObject" /><template:if test="{= !${entitySet>@@FE_MODEL.isCollaborationDraftSupported} }"><ToolbarSpacer /></template:if></template:then><template:elseif test="{= ${headerAction>type} === \'CollaborationAvatars\' }"><core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.CollaborationDraft" type="XML" /><ToolbarSpacer /></template:elseif><template:elseif test="{= OP.isManifestAction(${headerAction>}) }"><template:if test="{= ${headerAction>type} === \'Menu\'}"><template:then><template:with path="headerAction>defaultAction/annotationPath" var="dataFieldForDefaultAction"><template:with\n\t\t\t\t\t\t\t\t\tpath="dataFieldForDefaultAction>Action"\n\t\t\t\t\t\t\t\t\thelper="COMMON.getActionContext"\n\t\t\t\t\t\t\t\t\tvar="defaultActionContext"\n\t\t\t\t\t\t\t\t><MenuButton\n\t\t\t\t\t\t\t\t\t\tcore:require="{FPM: \'sap/fe/core/helpers/FPMHelper\'}"\n\t\t\t\t\t\t\t\t\t\ttext="{headerAction>text}"\n\t\t\t\t\t\t\t\t\t\tmenuPosition="BeginBottom"\n\t\t\t\t\t\t\t\t\t\tid="{= ID.generate([\'fe\',${headerAction>id}])}"\n\t\t\t\t\t\t\t\t\t\tvisible="{headerAction>visible}"\n\t\t\t\t\t\t\t\t\t\tenabled="{headerAction>enabled}"\n\t\t\t\t\t\t\t\t\t\tuseDefaultActionOnly="{= DEFAULTACTIONHANDLER.getUseDefaultActionOnly(${headerAction>})}"\n\t\t\t\t\t\t\t\t\t\tbuttonMode="{= DEFAULTACTIONHANDLER.getButtonMode(${headerAction>})}"\n\t\t\t\t\t\t\t\t\t\tdefaultAction="{= OP.getDefaultActionHandler(${converterContext>header}, ${headerAction>}, ${dataFieldForDefaultAction>}, ${entitySet>@sapui.name})}"\n\t\t\t\t\t\t\t\t\t><menu><Menu><template:repeat list="{headerAction>menu}" var="menuItemAction"><template:with path="menuItemAction>annotationPath" var="dataField"><template:if test="{= ${menuItemAction>type} === \'ForAction\'}"><template:then><MenuItem\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tid="{= ID.generate([\'fe\', ${dataField>@@UI.getDataModelObjectPath}]) }"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttext="{dataField>Label}"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tpress="{= ${menuItemAction>command} ? (\'cmd:\' + ${menuItemAction>command}) : OP.getPressExpressionForEdit(${dataField>}, ${entitySet>@sapui.name}, ${headerAction>}) }"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tvisible="{menuItemAction>visible}"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tenabled="{menuItemAction>enabled}"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/></template:then><template:elseif test="{= ${menuItemAction>type} === \'ForNavigation\'}"><MenuItem\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tid="{= ID.generate([\'fe\', ${dataField>@@UI.getDataModelObjectPath}]) }"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttext="{dataField>Label}"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tpress="{= ${menuItemAction>command} ? (\'cmd:\' + ${menuItemAction>command}) : ${menuItemAction>press}}"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tenabled="{menuItemAction>enabled}"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tvisible="{menuItemAction>visible}"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmacrodata:IBNData="{menuItemAction>customData}"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/></template:elseif><template:else><MenuItem\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tid="{= ID.generate([\'fe\',${menuItemAction>id}])}"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttext="{menuItemAction>text}"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tpress="{= ${menuItemAction>command} ? (\'cmd:\' + ${menuItemAction>command}) : COMMON.buildActionWrapper(${menuItemAction>}, ${headerAction>})}"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tvisible="{menuItemAction>visible}"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tenabled="{menuItemAction>enabled}"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/></template:else></template:if></template:with></template:repeat></Menu></menu></MenuButton></template:with></template:with></template:then><template:else><Button\n\t\t\t\t\t\t\t\tunittest:id="ManifestActionTest"\n\t\t\t\t\t\t\t\tcore:require="{FPM: \'sap/fe/core/helpers/FPMHelper\'}"\n\t\t\t\t\t\t\t\tid="{= ID.generate([\'fe\',${headerAction>id}])}"\n\t\t\t\t\t\t\t\ttext="{headerAction>text}"\n\t\t\t\t\t\t\t\tpress="{= ${headerAction>command} ? (\'cmd:\' + ${headerAction>command}) : COMMON.buildActionWrapper(${headerAction>})}"\n\t\t\t\t\t\t\t\ttype="Default"\n\t\t\t\t\t\t\t\tvisible="{headerAction>visible}"\n\t\t\t\t\t\t\t\tenabled="{headerAction>enabled}"\n\t\t\t\t\t\t\t/></template:else></template:if></template:elseif><template:elseif test="{= ${headerAction>type} === \'Primary\'}"><template:with path="entitySet>" helper="OP.getEditAction" var="editAction"><template:with path="editAction>@Org.OData.Core.V1.OperationAvailable" var="operationAvailable"><template:if test="{= ${operationAvailable>} !== false }"><Button\n\t\t\t\t\t\t\t\t\tunittest:id="EditActionTest"\n\t\t\t\t\t\t\t\t\tid="fe::StandardAction::Edit"\n\t\t\t\t\t\t\t\t\ttype="{= OP.buildEmphasizedButtonExpression(${fullContextPath>@@UI.getDataModelObjectPath}) }"\n\t\t\t\t\t\t\t\t\ttext="{sap.fe.i18n>C_COMMON_OBJECT_PAGE_EDIT}"\n\t\t\t\t\t\t\t\t\tenabled="{headerAction>enabled}"\n\t\t\t\t\t\t\t\t\tvisible="{headerAction>visible}"\n\t\t\t\t\t\t\t\t\tpress="cmd:Edit"\n\t\t\t\t\t\t\t\t><layoutData><OverflowToolbarLayoutData priority="NeverOverflow" /></layoutData></Button></template:if></template:with></template:with></template:elseif><template:elseif test="{= ${headerAction>type} === \'Secondary\'}"><Button\n\t\t\t\t\t\tunittest:id="DeleteActionTest"\n\t\t\t\t\t\tid="fe::StandardAction::Delete"\n\t\t\t\t\t\ttype="Default"\n\t\t\t\t\t\ttext="{sap.fe.i18n>C_COMMON_DELETE}"\n\t\t\t\t\t\tvisible="{headerAction>visible}"\n\t\t\t\t\t\tenabled="{headerAction>enabled}"\n\t\t\t\t\t\tpress="cmd:DeleteObject"\n\t\t\t\t\t\tariaHasPopup="Dialog"\n\t\t\t\t\t/></template:elseif><template:elseif test="{= ${headerAction>type} === \'ForAction\' || ${headerAction>type} === \'Copy\'}"><template:with path="headerAction>annotationPath" var="dataField"><template:if\n\t\t\t\t\t\t\ttest="{= ${dataField>$Type} === \'com.sap.vocabularies.UI.v1.DataFieldForAction\' && ${dataField>Determining} !== true }"\n\t\t\t\t\t\t><template:with path="dataField>Action" helper="COMMON.getActionContext" var="actionContext"><template:with path="dataField>Action" helper="COMMON.getPathToBoundActionOverload" var="isBound"><template:if\n\t\t\t\t\t\t\t\t\t\ttest="{= !(${dataField>./@com.sap.vocabularies.UI.v1.Hidden} === true) && (${isBound>$IsBound} !== true || ${actionContext>@Org.OData.Core.V1.OperationAvailable} !== false) }"\n\t\t\t\t\t\t\t\t\t><Button\n\t\t\t\t\t\t\t\t\t\t\tid="{= ID.generate([\'fe\', ${dataField>@@UI.getDataModelObjectPath}]) }"\n\t\t\t\t\t\t\t\t\t\t\tunittest:id="AnnotationActionTest"\n\t\t\t\t\t\t\t\t\t\t\ttext="{= ${headerAction>text} ? ${headerAction>text} : ${dataField>Label} }"\n\t\t\t\t\t\t\t\t\t\t\tpress="{= ${headerAction>command} ? (\'cmd:\' + ${headerAction>command}) : OP.getPressExpressionForEdit(${dataField>}, ${entitySet>@sapui.name}, ${headerAction>}) }"\n\t\t\t\t\t\t\t\t\t\t\tvisible="{headerAction>visible}"\n\t\t\t\t\t\t\t\t\t\t\tenabled="{headerAction>enabled}"\n\t\t\t\t\t\t\t\t\t\t\ttype="{= CRIT.buildExpressionForCriticalityButtonType(${dataField>@@UI.getDataModelObjectPath}) }"\n\t\t\t\t\t\t\t\t\t\t\tariaHasPopup="{= DATAFIELDANNOTATIONS.isDataModelObjectPathForActionWithDialog(${actionContext>@@UI.getDataModelObjectPath})}"\n\t\t\t\t\t\t\t\t\t\t/></template:if></template:with></template:with></template:if></template:with></template:elseif><template:elseif test="{= ${headerAction>type} === \'ForNavigation\'}"><template:with path="headerAction>annotationPath" var="dataField"><Button\n\t\t\t\t\t\t\tid="{= ID.generate([\'fe\', ${dataField>@@UI.getDataModelObjectPath}]) }"\n\t\t\t\t\t\t\ttext="{headerAction>text}"\n\t\t\t\t\t\t\tpress="{= ${headerAction>command} ? (\'cmd:\' + ${headerAction>command}) : ${headerAction>press}}"\n\t\t\t\t\t\t\tenabled="{headerAction>enabled}"\n\t\t\t\t\t\t\ttype="{headerAction>buttonType}"\n\t\t\t\t\t\t\tvisible="{headerAction>visible}"\n\t\t\t\t\t\t\tmacrodata:IBNData="{headerAction>customData}"\n\t\t\t\t\t\t/></template:with></template:elseif></template:if></template:repeat></template:if><core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.RelatedApps" type="XML" /><macro:Share id="fe::Share" visible="{= OP.getShareButtonVisibility(${viewData>/}) }"><macro:msTeamsOptions enableCard="true" /></macro:Share></core:FragmentDefinition>\n',
|
|
211
211
|
"sap/fe/templates/ObjectPage/view/fragments/Chart.fragment.xml":'<core:FragmentDefinition xmlns="sap.m" xmlns:core="sap.ui.core"><VBox fitContainer="true" alignItems="Stretch" alignContent="Stretch" justifyContent="Start" renderType="Div"><MessageStrip\n\t\t\ttext="{sap.fe.i18n>C_MULTIVIZ_CHART_IGNORED_FILTER_DRAFT_DATA}"\n\t\t\ttype="Information"\n\t\t\tshowIcon="true"\n\t\t\tshowCloseButton="true"\n\t\t\tclass="sapUiSmallMargin"\n\t\t\tvisible="{=\'{= ${internal>controls/showMessageStrip/\' + (${visualizationDefinition>entityName}) + (${visualizationDefinition>type}) + \'} }\' }"\n\t\t/><core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.MacroChart" type="XML" /></VBox></core:FragmentDefinition>\n',
|
|
212
212
|
"sap/fe/templates/ObjectPage/view/fragments/CollaborationDraft.fragment.xml":'<core:FragmentDefinition\n\txmlns="sap.m"\n\txmlns:core="sap.ui.core"\n\txmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"\n\ttemplate:require="{\n\t\tFE_MODEL: \'sap/fe/core/helpers/ModelHelper\'\n\t}"\n><template:if test="{entitySet>@@FE_MODEL.isCollaborationDraftSupported}"><HBox\n\t\t\tclass="sapUiTinyMarginBegin"\n\t\t\titems="{internal>/collaboration/activeUsers}"\n\t\t\tvisible="{= ${ui>/isEditable} && ${internal>/collaboration/connected} }"\n\t\t\talignItems="Center"\n\t\t\tjustifyContent="Start"\n\t\t><Avatar\n\t\t\t\tinitials="{internal>initials}"\n\t\t\t\tbackgroundColor="Accent{internal>color}"\n\t\t\t\tdisplaySize="XS"\n\t\t\t\tpress="._showCollaborationUserDetails"\n\t\t\t/></HBox><template:if test="{entitySet>@com.sap.vocabularies.Common.v1.DraftRoot/ShareAction}"><HBox visible="{ui>/isEditable}" alignItems="Center" justifyContent="Start"><Avatar backgroundColor="TileIcon" src="sap-icon://add-employee" displaySize="XS" press="._manageCollaboration" /></HBox></template:if></template:if></core:FragmentDefinition>\n',
|
|
@@ -235,6 +235,6 @@ sap.ui.require.preload({
|
|
|
235
235
|
"sap/fe/templates/ObjectPage/view/fragments/SectionPresentationVisualization.fragment.xml":'<core:FragmentDefinition\n\txmlns:core="sap.ui.core"\n\txmlns="sap.m"\n\txmlns:macro="sap.fe.macros"\n\txmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"\n\ttemplate:require="{\n\t\tID: \'sap/fe/core/helpers/StableIdHelper\'\n\t}"\n><template:with path="subSection>presentation" var="presentationContext"><template:with path="subSection>presentation" var="primaryVisualization"><template:repeat list="{presentationContext>visualizations}" var="visualizationDefinition"><core:Fragment fragmentName="sap.fe.templates.ObjectPage.view.fragments.{visualizationDefinition>type}" type="XML" /></template:repeat></template:with></template:with></core:FragmentDefinition>\n',
|
|
236
236
|
"sap/fe/templates/ObjectPage/view/fragments/SideContentCustomContainer.fragment.xml":'<core:FragmentDefinition\n\txmlns="sap.m"\n\txmlns:core="sap.ui.core"\n\txmlns:fpm="sap.fe.macros.fpm"\n\txmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"\n\ttemplate:require="{\n\t\tID: \'sap/fe/core/helpers/StableIdHelper\',\n\t\tCOMMON: \'sap/fe/macros/CommonHelper\'\n\t}"\n><template:with path="subSection>sideContent" var="sideContent"><template:if test="{= ${subSection>sideContent} !== undefined }"><HBox class="sapUiSmallMarginBegin"><fpm:CustomFragment id="{sideContent>id}" fragmentName="{sideContent>template}" /></HBox></template:if></template:with></core:FragmentDefinition>\n',
|
|
237
237
|
"sap/fe/templates/ObjectPage/view/fragments/Table.fragment.xml":'<core:FragmentDefinition\n\txmlns="sap.m"\n\txmlns:macro="sap.fe.macros.internal"\n\txmlns:core="sap.ui.core"\n\txmlns:unittest="http://schemas.sap.com/sapui5/preprocessorextension/sap.fe.unittesting/1"\n><macro:Table\n\t\tunittest:id="TablePropertyExpressionTest"\n\t\tmetaPath="{presentationContext>annotationPath}"\n\t\ttableDefinition="{visualizationDefinition>}"\n\t\tcontextPath="{fullContextPath>}"\n\t\tfilterBarId="{= ${converterContext>filterBarId} ? ${converterContext>filterBarId} : undefined}"\n\t\tbusy=\'{= "{ui>/busyLocal/"+${visualizationDefinition>annotation/id}+"}" }\'\n\t\tonContextChange=".handlers.onTableContextChange"\n\t\tvariantSelected=".handlers.onVariantSelected"\n\t\tvariantSaved=".handlers.onVariantSaved"\n\t\tisAlp="{converterContext>hasMultiVisualizations}"\n\t\tonSegmentedButtonPressed="{= ${converterContext>hasMultiVisualizations} ? \'.handlers.onSegmentedButtonPressed\' : undefined }"\n\t\tvisible="{= ${converterContext>hasMultiVisualizations} ? \'{= ${pageInternal>alpContentView} !== \\\'Chart\\\'}\' : \'true\' }"\n\t\ttabTitle="{view>title}"\n\t\theaderLevel=\'{= ${section>subSections}.length > 1 ? (${subSection>level} === 2 && ${subSection>titleVisible} ? "H6": "H5") : (${subSection>level} === 2 && ${subSection>titleVisible} ? "H5": "H4")}\'\n\t\tstateChange=".handlers.onStateChange"\n\t/></core:FragmentDefinition>\n',
|
|
238
|
-
"sap/fe/templates/manifest.json":'{"_version":"1.21.0","sap.app":{"id":"sap.fe.templates","type":"library","embeds":["AnalyticalListPage","ListReport","ObjectPage"],"applicationVersion":{"version":"1.114.
|
|
238
|
+
"sap/fe/templates/manifest.json":'{"_version":"1.21.0","sap.app":{"id":"sap.fe.templates","type":"library","embeds":["AnalyticalListPage","ListReport","ObjectPage"],"applicationVersion":{"version":"1.114.6"},"title":"UI5 library: sap.fe.templates","description":"UI5 library: sap.fe.templates","ach":"CA-UI5-FE","resources":"resources.json","offline":true},"sap.ui":{"technology":"UI5","supportedThemes":[]},"sap.ui5":{"dependencies":{"libs":{"sap.f":{},"sap.fe.core":{},"sap.m":{},"sap.fe.macros":{},"sap.suite.ui.microchart":{"lazy":true},"sap.ui.core":{},"sap.ui.layout":{"lazy":true},"sap.ui.mdc":{},"sap.uxap":{"lazy":true},"sap.ui.fl":{},"sap.collaboration":{}}},"library":{"i18n":{"bundleUrl":"messagebundle.properties","supportedLocales":["","ar","bg","ca","cs","cy","da","de","el","en","en-GB","en-US-sappsd","en-US-saprigi","en-US-saptrc","es","es-MX","et","fi","fr","fr-CA","hi","hr","hu","id","it","iw","ja","kk","ko","lt","lv","ms","nl","no","pl","pt","pt-PT","ro","ru","sh","sk","sl","sv","th","tr","uk","vi","zh-CN","zh-TW"]},"content":{"controls":[],"elements":[],"types":[],"interfaces":[]}}}}'
|
|
239
239
|
});
|
|
240
240
|
//# sourceMappingURL=library-preload.js.map
|