@sapui5/sap.fe.templates 1.114.1 → 1.114.2

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.
@@ -109,7 +109,7 @@ sap.ui.predefine("sap/fe/templates/ObjectPage/ExtensionAPI", ["sap/base/Log","sa
109
109
  * SAP UI development toolkit for HTML5 (SAPUI5)
110
110
  * (c) Copyright 2009-2023 SAP SE. All rights reserved
111
111
  */
112
- sap.ui.predefine("sap/fe/templates/ObjectPage/ObjectPageController.controller", ["sap/base/Log","sap/base/util/merge","sap/fe/core/ActionRuntime","sap/fe/core/CommonUtils","sap/fe/core/controllerextensions/BusyLocker","sap/fe/core/controllerextensions/collaboration/ActivitySync","sap/fe/core/controllerextensions/collaboration/Manage","sap/fe/core/controllerextensions/editFlow/draft","sap/fe/core/controllerextensions/IntentBasedNavigation","sap/fe/core/controllerextensions/InternalIntentBasedNavigation","sap/fe/core/controllerextensions/InternalRouting","sap/fe/core/controllerextensions/MassEdit","sap/fe/core/controllerextensions/MessageHandler","sap/fe/core/controllerextensions/PageReady","sap/fe/core/controllerextensions/Paginator","sap/fe/core/controllerextensions/Placeholder","sap/fe/core/controllerextensions/Share","sap/fe/core/controllerextensions/ViewState","sap/fe/core/helpers/ClassSupport","sap/fe/core/helpers/ModelHelper","sap/fe/core/helpers/ResourceModelHelper","sap/fe/core/library","sap/fe/core/PageController","sap/fe/macros/CommonHelper","sap/fe/macros/DelegateUtil","sap/fe/macros/table/TableHelper","sap/fe/macros/table/Utils","sap/fe/navigation/SelectionVariant","sap/fe/templates/ObjectPage/ExtensionAPI","sap/fe/templates/TableScroller","sap/m/InstanceManager","sap/m/Link","sap/m/MessageBox","sap/ui/core/Core","sap/ui/core/message/Message","sap/ui/core/mvc/OverrideExecution","sap/ui/model/odata/v4/ODataListBinding","./overrides/IntentBasedNavigation","./overrides/InternalRouting","./overrides/MessageHandler","./overrides/Paginator","./overrides/Share","./overrides/ViewState"],function(e,t,n,i,o,s,a,r,c,l,g,u,d,f,h,p,b,m,C,v,y,P,S,w,x,A,E,M,_,B,I,V,O,T,F,D,R,k,j,N,L,z,H){"use strict";var $,G,U,q,J,K,W,Q,X,Y,Z,ee,te,ne,ie,oe,se,ae,re,ce,le,ge,ue,de,fe,he,pe;var be=y.getResourceModel;var me=C.usingExtension;var Ce=C.publicExtension;var ve=C.finalExtension;var ye=C.extensible;var Pe=C.defineUI5Class;var Se=a.showUserDetails;var we=a.openManageDialog;var xe=s.isConnected;var Ae=s.disconnect;var Ee=s.connect;function Me(e,t,n,i){if(!n)return;Object.defineProperty(e,t,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(i):void 0})}function _e(e){if(e===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}function Be(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;Ie(e,t)}function Ie(e,t){Ie=Object.setPrototypeOf?Object.setPrototypeOf.bind():function e(t,n){t.__proto__=n;return t};return Ie(e,t)}function Ve(e,t,n,i,o){var s={};Object.keys(i).forEach(function(e){s[e]=i[e]});s.enumerable=!!s.enumerable;s.configurable=!!s.configurable;if("value"in s||s.initializer){s.writable=true}s=n.slice().reverse().reduce(function(n,i){return i(e,t,n)||n},s);if(o&&s.initializer!==void 0){s.value=s.initializer?s.initializer.call(o):void 0;s.initializer=undefined}if(s.initializer===void 0){Object.defineProperty(e,t,s);s=null}return s}function Oe(e,t){throw new Error("Decorating class property failed. Please ensure that "+"proposal-class-properties is enabled and runs after the decorators transform.")}const Te=P.ProgrammingModel;let Fe=($=Pe("sap.fe.templates.ObjectPage.ObjectPageController"),G=me(p),U=me(b.override(z)),q=me(g.override(j)),J=me(h.override(L)),K=me(d.override(N)),W=me(c.override(k)),Q=me(l.override({getNavigationMode:function(){const e=this.getView().getController().getStickyEditMode&&this.getView().getController().getStickyEditMode();return e?"explace":undefined}})),X=me(m.override(H)),Y=me(f.override({isContextExpected:function(){return true}})),Z=me(u),ee=Ce(),te=ve(),ne=Ce(),ie=ye(D.After),$(oe=(se=function(s){Be(a,s);function a(){var t;for(var n=arguments.length,o=new Array(n),a=0;a<n;a++){o[a]=arguments[a]}t=s.call(this,...o)||this;Me(t,"placeholder",ae,_e(t));Me(t,"share",re,_e(t));Me(t,"_routing",ce,_e(t));Me(t,"paginator",le,_e(t));Me(t,"messageHandler",ge,_e(t));Me(t,"intentBasedNavigation",ue,_e(t));Me(t,"_intentBasedNavigation",de,_e(t));Me(t,"viewState",fe,_e(t));Me(t,"pageReady",he,_e(t));Me(t,"massEdit",pe,_e(t));t.handlers={onPrimaryAction(e,t,n,i,o,s){const a=e.getView().getViewData().viewLevel,r=e._getObjectPageLayoutControl();if(s.positiveActionVisible){if(s.positiveActionEnabled){e.handlers.onCallAction(t,i,o)}}else if(s.editActionVisible){if(s.editActionEnabled){e._editDocument(n)}}else if(a===1&&r.getModel("ui").getProperty("/isEditable")){e._saveDocument(n)}else if(r.getModel("ui").getProperty("/isEditable")){e._applyDocument(n)}},onTableContextChange(t){var n;const i=t.getSource();let o;this._findTables().some(function(e){if(e.getRowBinding()===i){o=e;return true}return false});const s=o.getCreationRow();if(s&&!((n=s._oInnerCreationRow)!==null&&n!==void 0&&n.getBindingContext())){const t=this._getTableBinding(o);if(!t){e.error(`Expected binding missing for table: ${o.getId()}`);return}if(t.getContext()){const e=this._getObjectPageLayoutControl();const n=e.getBindingContext();const i=n.getModel();A.enableFastCreationRow(s,t.getPath(),t.getContext(),i,o.getModel("ui").getProperty("/isEditable"))}}const a=this.editFlow.getCurrentActionPromise();if(a){let t;if(o.getType().getMetadata().isA("sap.ui.mdc.table.GridTableType")){t=i.getContexts(0)}else{t=i.getCurrentContexts()}if(!t[0]){return}a.then(e=>{if(!e||e.controlId!==o.sId){return}const n=e.oData;const i=e.keys;let s=-1;t.find(function(e,t){const o=e.getObject();const a=i.every(function(e){return o[e]===n[e]});if(a){s=t}return a});if(s!==-1){const e=I.getOpenDialogs();const t=e.length>0?e.find(e=>e.data("FullScreenDialog")!==true):null;if(t){t.attachEventOnce("afterClose",function(){o.focusRow(s,true)})}else{o.focusRow(s,true)}this.editFlow.deleteCurrentActionPromise()}}).catch(function(t){e.error(`An error occurs while scrolling to the newly created Item: ${t}`)})}this.messageButton.fireModelContextChange()},onCallAction(e,t,n){const i=e.getController();return i.editFlow.invokeAction(t,n).then(i._showMessagePopover.bind(i,undefined)).catch(i._showMessagePopover.bind(i))},onDataPointTitlePressed(e,t,n,o,s){n=typeof n==="string"?JSON.parse(n):n;const a=n[o],r=i.getSemanticObjectMapping(a),c=t.getBindingContext(),l=c.getModel().getMetaModel().getMetaPath(c.getPath());let g=e._getChartContextData(c,s);let u;g=g.map(function(e){return{data:e,metaPath:l+(s?`/${s}`:"")}});if(a&&a.parameters){const t=a.parameters&&e._intentBasedNavigation.getOutboundParams(a.parameters);if(Object.keys(t).length>0){u=t}}if(a&&a.semanticObject&&a.action){e._intentBasedNavigation.navigate(a.semanticObject,a.action,{navigationContexts:g,semanticObjectMapping:r,additionalNavigationParameters:u})}},onChevronPressNavigateOutBound(e,t,n,i){return e._intentBasedNavigation.onChevronPressNavigateOutBound(e,t,n,i)},onNavigateChange(e){this.getExtensionAPI().updateAppState();this.bSectionNavigated=true;const t=this.getView().getBindingContext("internal");const n=this._getObjectPageLayoutControl();if(n.getModel("ui").getProperty("/isEditable")&&this.getView().getViewData().sectionLayout==="Tabs"&&t.getProperty("errorNavigationSectionFlag")===false){const t=e.getParameter("subSection");this._updateFocusInEditMode([t])}},onVariantSelected:function(){this.getExtensionAPI().updateAppState()},onVariantSaved:function(){setTimeout(()=>{this.getExtensionAPI().updateAppState()},2e3)},navigateToSubSection:function(t,n){const i=typeof n==="string"?JSON.parse(n):n;const o=t.getView().byId("fe::ObjectPage");let s;let a;if(i.sectionId){s=t.getView().byId(i.sectionId);a=i.subSectionId?t.getView().byId(i.subSectionId):s&&s.getSubSections()&&s.getSubSections()[0]}else if(i.subSectionId){a=t.getView().byId(i.subSectionId);s=a&&a.getParent()}if(!s||!a||!s.getVisible()||!a.getVisible()){const n=be(t).getText("C_ROUTING_NAVIGATION_DISABLED_TITLE",undefined,t.getView().getViewData().entitySet);e.error(n);O.error(n)}else{o.scrollToSection(a.getId());o.fireNavigate({section:s,subSection:a})}},onStateChange(){this.getExtensionAPI().updateAppState()},closeOPMessageStrip:function(){this.getExtensionAPI().hideMessage()}};return t}var c=a.prototype;c.getExtensionAPI=function e(t){if(t){this.mCustomSectionExtensionAPIs=this.mCustomSectionExtensionAPIs||{};if(!this.mCustomSectionExtensionAPIs[t]){this.mCustomSectionExtensionAPIs[t]=new _(this,t)}return this.mCustomSectionExtensionAPIs[t]}else{if(!this.extensionAPI){this.extensionAPI=new _(this)}return this.extensionAPI}};c.onInit=function e(){s.prototype.onInit.call(this);const t=this._getObjectPageLayoutControl();const n=this.getView().getBindingContext("internal");n===null||n===void 0?void 0:n.setProperty("externalNavigationContext",{page:true});n===null||n===void 0?void 0:n.setProperty("relatedApps",{visibility:false,items:null});n===null||n===void 0?void 0:n.setProperty("batchGroups",this._getBatchGroupsForView());n===null||n===void 0?void 0:n.setProperty("errorNavigationSectionFlag",false);if(t.getEnableLazyLoading()){t.attachEvent("subSectionEnteredViewPort",this._handleSubSectionEnteredViewPort.bind(this))}this.messageButton=this.getView().byId("fe::FooterBar::MessageButton");this.messageButton.oItemBinding.attachChange(this._fnShowOPMessage,this);n===null||n===void 0?void 0:n.setProperty("rootEditEnabled",true);n===null||n===void 0?void 0:n.setProperty("rootEditVisible",true)};c.onExit=function e(){if(this.mCustomSectionExtensionAPIs){for(const e of Object.keys(this.mCustomSectionExtensionAPIs)){if(this.mCustomSectionExtensionAPIs[e]){this.mCustomSectionExtensionAPIs[e].destroy()}}delete this.mCustomSectionExtensionAPIs}if(this.extensionAPI){this.extensionAPI.destroy()}delete this.extensionAPI;const t=this.messageButton?this.messageButton.oMessagePopover:null;if(t&&t.isOpen()){t.close()}const n=this.getView().getBindingContext();if(n&&n.isKeepAlive()){n.setKeepAlive(false)}if(xe(this.getView())){Ae(this.getView())}};c._fnShowOPMessage=function e(){const t=this.getExtensionAPI();const n=this.getView();const i=this.messageButton.oMessagePopover.getItems().map(e=>e.getBindingContext("message").getObject()).filter(e=>{var t;return e.getTargets()[0]===((t=n.getBindingContext())===null||t===void 0?void 0:t.getPath())});if(t){t.showMessages(i)}};c._getTableBinding=function e(t){return t&&t.getRowBinding()};c.checkSectionsForNonResponsiveTable=function e(t){const n=(e,t)=>{var i;const o=[...t.getBlocks(),...t.getMoreBlocks()];const s=o.length===1&&((i=this.searchTableInBlock(o[0]))===null||i===void 0?void 0:i.getType());if(s&&(s!==null&&s!==void 0&&s.isA("sap.ui.mdc.table.GridTableType")||s!==null&&s!==void 0&&s.isA("sap.ui.mdc.table.TreeTableType"))){t.addStyleClass("sapUxAPObjectPageSubSectionFitContainer");t.detachEvent("modelContextChange",n,this)}};for(let e=t.length-1;e>=0;e--){if(t[e].getVisible()){const i=t[e];i.attachEvent("modelContextChange",i,n,this);break}}};c.searchTableInBlock=function e(t){const n=t.content;let i;if(t.isA("sap.fe.templates.ObjectPage.controls.SubSectionBlock")){if(n.isA("sap.m.Panel")&&n.data("FullScreenTablePlaceHolder")){i=n.data("tableAPIreference")}else if(n.isA("sap.fe.macros.table.TableAPI")){i=n}if(i){return i.content}}return undefined};c.onBeforeRendering=function e(){var t;S.prototype.onBeforeRendering.apply(this);if((t=this.oView.oViewData)!==null&&t!==void 0&&t.retrieveTextFromValueList&&w.getMetaModel()===undefined){w.setMetaModel(this.getAppComponent().getMetaModel())}};c.onAfterRendering=function e(){let t;if(this._getObjectPageLayoutControl().getUseIconTabBar()){const e=this._getObjectPageLayoutControl().getSections();for(const n of e){t=n.getSubSections();this.checkSectionsForNonResponsiveTable(t)}}else{t=this._getAllSubSections();this.checkSectionsForNonResponsiveTable(t)}};c._onBeforeBinding=function e(t,n){const i=this._findTables(),o=this._getObjectPageLayoutControl(),s=this.getView().getBindingContext("internal"),a=this.getView().getModel("internal"),r=s.getProperty("batchGroups"),c=this.getView().getViewData().viewLevel;let l;r.push("$auto");if(n.bDraftNavigation!==true){this._closeSideContent()}const g=o.getBindingContext();if(g&&g.hasPendingChanges()&&!r.some(g.getModel().hasPendingChanges.bind(g.getModel()))){g.getBinding().resetChanges()}for(let e=0;e<i.length;e++){l=i[e].getCreationRow();if(l){l.setBindingContext(null)}}const u=function(){if(!o.isFirstRendering()&&!n.bPersistOPScroll){o.setSelectedSection(null)}};o.attachEventOnce("modelContextChange",u);const d={onAfterRendering:u};o.addEventDelegate(d,this);this.pageReady.attachEventOnce("pageReady",function(){o.removeEventDelegate(d)});if(c>1){let e=n&&n.listBinding;const i=a.getProperty("/paginatorCurrentContext");if(i){const e=i.getBinding();this.paginator.initialize(e,i);a.setProperty("/paginatorCurrentContext",null)}else if(e){if(e.isA("sap.ui.model.odata.v4.ODataListBinding")){this.paginator.initialize(e,t)}else{const n=e.getPath();if(/\([^)]*\)$/.test(n)){const i=n.replace(/\([^)]*\)$/,"");e=new R(e.oModel,i);const o=()=>{if(e.getContexts().length>0){this.paginator.initialize(e,t);e.detachEvent("change",o)}};e.getContexts(0);e.attachEvent("change",o)}else{this.paginator.initialize(undefined)}}}}if(o.getEnableLazyLoading()){const e=o.getSections();const t=o.getUseIconTabBar();let n=2;const i=o.getModel("ui").getProperty("/isEditable");const s=this.getView().getViewData().editableHeaderContent;for(let o=0;o<e.length;o++){const a=e[o];const r=a.getSubSections();for(let e=0;e<r.length;e++,n--){if(n<1||t&&(o>1||o===1&&!s&&!i)){const t=r[e];if(t.data().isVisibilityDynamic!=="true"){t.setBindingContext(null)}}}}}if(this.placeholder.isPlaceholderEnabled()&&n.showPlaceholder){const e=this.getView();const t=e.getParent().oContainer.getParent();if(t){t.showPlaceholder({})}}};c._getFirstClickableElement=function e(t){let n;const i=t.getHeaderTitle()&&t.getHeaderTitle().getActions();if(i&&i.length){n=i.find(function(e){if(e.isA("sap.fe.macros.share.ShareAPI")){return e.getVisible()}else if(!e.isA("sap.ui.core.InvisibleText")&&!e.isA("sap.m.ToolbarSpacer")){return e.getVisible()&&e.getEnabled()}})}return n};c._getFirstEmptyMandatoryFieldFromSubSection=function t(n){if(n){for(let t=0;t<n.length;t++){const i=n[t].getBlocks();if(i){for(let t=0;t<i.length;t++){let n;if(i[t].isA("sap.ui.layout.form.Form")){n=i[t].getFormContainers()}else if(i[t].getContent&&i[t].getContent()&&i[t].getContent().isA("sap.ui.layout.form.Form")){n=i[t].getContent().getFormContainers()}if(n){for(let t=0;t<n.length;t++){const i=n[t].getFormElements();if(i){for(let t=0;t<i.length;t++){const n=i[t].getFields();try{if(n[0].getRequired&&n[0].getRequired()&&!n[0].getValue()){return n[0]}}catch(t){e.debug(`Error when searching for mandaotry empty field: ${t}`)}}}}}}}}}return undefined};c._updateFocusInEditMode=function e(t){const n=this._getObjectPageLayoutControl();const i=this._getFirstEmptyMandatoryFieldFromSubSection(t);let o;if(i){o=i.content.getContentEdit()[0]}else{o=n._getFirstEditableInput()||this._getFirstClickableElement(n)}if(o){setTimeout(function(){o.focus()},0)}};c._handleSubSectionEnteredViewPort=function e(t){const n=t.getParameter("subSection");n.setBindingContext(undefined)};c._onBackNavigationInDraft=function e(t){this.messageHandler.removeTransitionMessages();if(this.getAppComponent().getRouterProxy().checkIfBackHasSameContext()){history.back()}else{r.processDataLossOrDraftDiscardConfirmation(function(){history.back()},Function.prototype,t,this,false,r.NavigationType.BackNavigation)}};c._onAfterBinding=function t(o,s){var a,r;const c=(a=this.getView())===null||a===void 0?void 0:(r=a.getViewData())===null||r===void 0?void 0:r.viewLevel;if(c&&c===1){var l,g;const e=(l=this.getView())===null||l===void 0?void 0:(g=l.getModel("internal"))===null||g===void 0?void 0:g.getProperty("/currentCtxt");if(e&&e.getPath()!==(o===null||o===void 0?void 0:o.getPath())){var u,d;(u=this.getView())===null||u===void 0?void 0:(d=u.getModel("internal"))===null||d===void 0?void 0:d.setProperty("/recommendationsData",{})}}const f=this._getObjectPageLayoutControl();const h=this._findTables();this._sideEffects.clearFieldGroupsValidity();const p=f.getBindingContext();let b=[];f.getSections().forEach(function(e){e.getSubSections().forEach(function(e){b=i.getIBNActions(e,b)})});h.forEach(function(e){const t=e.getBindingContext("internal");if(t){t.setProperty("creationRowFieldValidity",{});t.setProperty("creationRowCustomValidity",{});b=i.getIBNActions(e,b);const o=e.getRowBinding();if(o){if(v.isStickySessionSupported(o.getModel().getMetaModel())){o.removeCachesAndMessages("")}}const s=JSON.parse(w.parseCustomData(x.getCustomData(e,"operationAvailableMap")));n.setActionEnablement(t,s,[],"table");e.clearSelection()}});i.getSemanticTargetsFromPageModel(this,"_pageModel");const m=f.getHeaderTitle();let C=[];C=i.getIBNActions(m,C);b=b.concat(C);i.updateDataFieldForIBNButtonsVisibility(b,this.getView());let y,P;const S=t=>{const n=this._getTableBinding(t),i=function(){A.enableFastCreationRow(t.getCreationRow(),n.getPath(),n.getContext(),y,P)};if(!n){e.error(`Expected binding missing for table: ${t.getId()}`);return}if(n.oContext){i()}else{const e=function(){if(n.oContext){i();n.detachChange(e)}};n.attachChange(e)}};if(p){y=p.getModel();P=this.editFlow.computeEditMode(p);if(v.isCollaborationDraftSupported(y.getMetaModel())){P.then(()=>{if(this.getView().getModel("ui").getProperty("/isEditable")){Ee(this.getView())}else if(xe(this.getView())){Ae(this.getView())}}).catch(function(t){e.error("Error while waiting for the final UI State",t)})}this._updateRelatedApps();const t=p.getBinding&&p.getBinding()||p;if(this.currentBinding!==t){t.attachEvent("patchSent",{},this.editFlow.handlePatchSent,this);this.currentBinding=t}h.forEach(function(t){E.whenBound(t).then(S).catch(function(t){e.error("Error while waiting for the table to be bound",t)})});f._triggerVisibleSubSectionsEvents();n.updateEditButtonVisibilityAndEnablement(this.getView())}this.displayCollaborationMessage(s===null||s===void 0?void 0:s.redirectedToNonDraft)};c.displayCollaborationMessage=function e(t){const n=T.getLibraryResourceBundle("sap.fe.core");if(this.collaborationMessage){T.getMessageManager().removeMessages([this.collaborationMessage]);delete this.collaborationMessage}if(t){var i,o;this.collaborationMessage=new F({message:n.getText("REROUTED_NAVIGATION_TO_SAVED_VERSION",[t]),type:"Information",target:(i=this.getView())===null||i===void 0?void 0:(o=i.getBindingContext())===null||o===void 0?void 0:o.getPath()});sap.ui.getCore().getMessageManager().addMessages([this.collaborationMessage])}};c.onPageReady=function t(n){const o=()=>{const e=this._getObjectPageLayoutControl();const t=!e.getModel("ui").getProperty("/isEditable");if(t){const t=this._getFirstClickableElement(e);if(t){t.focus()}}else{const t=T.byId(e.getSelectedSection());if(t){this._updateFocusInEditMode(t.getSubSections())}}};const s=this.getView().getBindingContext();this.getView().getModel("internal").setProperty("/currentCtxt",s);const a=this.getView();const r=a.getBindingContext("internal");const c=a.getBindingContext();if(c){const e=v.isStickySessionSupported(c.getModel().getMetaModel());if(!e){const e=i.getAppComponent(a);e.getShellServices().setBackNavigation(()=>this._onBackNavigationInDraft(c))}}const l=this.getView().getId();this.getAppComponent().getAppStateHandler().applyAppState(l,this.getView()).then(()=>{if(n.forceFocus){o()}}).catch(function(t){e.error("Error while setting the focus",t)});r.setProperty("errorNavigationSectionFlag",false);this._checkDataPointTitleForExternalNavigation()};c.getStickyEditMode=function e(){const t=this.getView().getBindingContext&&this.getView().getBindingContext();let n=false;if(t){const e=v.isStickySessionSupported(t.getModel().getMetaModel());if(e){n=this.getView().getModel("ui").getProperty("/isEditable")}}return n};c._getObjectPageLayoutControl=function e(){return this.byId("fe::ObjectPage")};c._getPageTitleInformation=function e(){const t=this._getObjectPageLayoutControl();const n=t.getCustomData().find(function(e){return e.getKey()==="ObjectPageSubtitle"});return{title:t.data("ObjectPageTitle")||"",subtitle:n&&n.getValue(),intent:"",icon:""}};c._executeHeaderShortcut=function e(t){const n=`${this.getView().getId()}--${t}`,o=this._getObjectPageLayoutControl().getHeaderTitle().getActions().find(function(e){return e.getId()===n});if(o){i.fireButtonPress(o)}};c._executeFooterShortcut=function e(t){const n=`${this.getView().getId()}--${t}`,o=this._getObjectPageLayoutControl().getFooter().getContent().find(function(e){return e.getMetadata().getName()==="sap.m.Button"&&e.getId()===n});i.fireButtonPress(o)};c._executeTabShortCut=function e(t){const n=this._getObjectPageLayoutControl(),i=n.getSections(),o=i.length-1,s=t.oSource.getCommand();let a,r=n.indexOfSection(this.byId(n.getSelectedSection()));if(r!==-1&&o>0){if(s==="NextTab"){if(r<=o-1){a=i[++r]}}else if(r!==0){a=i[--r]}if(a){n.setSelectedSection(a);a.focus()}}};c._getFooterVisibility=function e(){const t=this.getView().getBindingContext("internal");const n=this.getView().getId();t.setProperty("messageFooterContainsErrors",false);sap.ui.getCore().getMessageManager().getMessageModel().getData().forEach(function(e){if(e.validation&&e.type==="Error"&&e.target.indexOf(n)>-1){t.setProperty("messageFooterContainsErrors",true)}})};c._showMessagePopover=function t(n,i){if(n){e.error(n)}const o=this.getAppComponent().getRootViewController();const s=o.isFclEnabled()?o.getRightmostView():this.getAppComponent().getRootContainer().getCurrentPage();if(!s.isA("sap.m.MessagePage")){const e=this.messageButton,t=e.oMessagePopover,n=t.getBinding("items");if(n.getLength()>0&&!t.isOpen()){e.setVisible(true);setTimeout(function(){t.openBy(e)},0)}}return i};c._editDocument=function e(t){const n=this.getView().getModel("ui");o.lock(n);return this.editFlow.editDocument.apply(this.editFlow,[t]).finally(function(){o.unlock(n)})};c._validateDocument=async function e(){const t=T.byId(T.getCurrentFocusedControlId());const n=t===null||t===void 0?void 0:t.getBindingContext();if(!n){return undefined}if(n.isTransient()){if(n.hasPendingChanges()){await n.created();return this.executeGlobalValidation(n)}return this.executeGlobalValidation(n,true)}return this.executeGlobalValidation(n)};c.executeGlobalValidation=async function e(t){let n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:false;const o=this.getAppComponent();if(!n){const e=o.getSideEffectsService();const n=e.getEntityTypeFromContext(t);const i=n?e.getGlobalODataEntitySideEffects(n):[];if(i.length){await this.editFlow.syncTask();return Promise.all(i.map(e=>this._sideEffects.requestSideEffects(e,t)))}}const s=await i.createRootContext(Te.Draft,this.getView(),o);if(s){await this.editFlow.syncTask();return r.executeDraftValidation(s,o,xe(this.getView()))}};c._saveDocument=async function e(t){const n=this.getView().getModel("ui"),i=[];let s=false;o.lock(n);this._findTables().forEach(e=>{const t=this._getTableBinding(e);const n={creationMode:e.data("creationMode"),creationRow:e.getCreationRow(),createAtEnd:e.data("createAtEnd")==="true"};const o=n.creationRow&&n.creationRow.getBindingContext()&&Object.keys(n.creationRow.getBindingContext().getObject()).length>1;if(o){n.bSkipSideEffects=true;s=true;i.push(this.editFlow.createDocument(t,n).then(function(){return t}))}});try{const e=await Promise.all(i);const n={bExecuteSideEffectsOnError:s,bindings:e};try{await this.editFlow.saveDocument(t,n)}catch(e){this._showMessagePopover(e);throw e}}finally{if(o.isLocked(n)){o.unlock(n)}}};c._manageCollaboration=function e(){we(this.getView())};c._showCollaborationUserDetails=function e(t){Se(t,this.getView())};c._cancelDocument=function e(t,n){n.cancelButton=this.getView().byId(n.cancelButton);return this.editFlow.cancelDocument(t,n)};c._applyDocument=function e(t){return this.editFlow.applyDocument(t).catch(()=>this._showMessagePopover())};c._updateRelatedApps=function e(){const t=this._getObjectPageLayoutControl();const n=t.data("showRelatedApps");if(n==="true"||n===true){const e=i.getAppComponent(this.getView());i.updateRelatedAppsDetails(t,e)}};c._findControlInSubSection=function e(t,n,i,o){for(let e=0;e<t.length;e++){let n=t[e].getContent instanceof Function&&t[e].getContent();if(o){if(n&&n.mAggregations&&n.getAggregation("items")){const e=n.getAggregation("items");e.forEach(function(e){if(e.isA("sap.fe.macros.chart.ChartAPI")){n=e}})}}if(n&&n.isA&&n.isA("sap.ui.layout.DynamicSideContent")){n=n.getMainContent instanceof Function&&n.getMainContent();if(n&&n.length>0){n=n[0]}}if(n&&n.isA&&n.isA("sap.m.Panel")&&n.data("FullScreenTablePlaceHolder")){n=n.data("tableAPIreference")}if(n&&n.isA&&n.isA("sap.fe.macros.table.TableAPI")){n=n.getContent instanceof Function&&n.getContent();if(n&&n.length>0){n=n[0]}}if(n&&n.isA&&n.isA("sap.ui.mdc.Table")){i.push(n)}if(n&&n.isA&&n.isA("sap.fe.macros.chart.ChartAPI")){n=n.getContent instanceof Function&&n.getContent();if(n&&n.length>0){n=n[0]}}if(n&&n.isA&&n.isA("sap.ui.mdc.Chart")){i.push(n)}}};c._getAllSubSections=function e(){const t=this._getObjectPageLayoutControl();let n=[];t.getSections().forEach(function(e){n=n.concat(e.getSubSections())});return n};c._getAllBlocks=function e(){let t=[];this._getAllSubSections().forEach(function(e){t=t.concat(e.getBlocks())});return t};c._findTables=function e(){const t=this._getAllSubSections();const n=[];for(let e=0;e<t.length;e++){this._findControlInSubSection(t[e].getBlocks(),t[e],n);this._findControlInSubSection(t[e].getMoreBlocks(),t[e],n)}return n};c._findCharts=function e(){const t=this._getAllSubSections();const n=[];for(let e=0;e<t.length;e++){this._findControlInSubSection(t[e].getBlocks(),t[e],n,true);this._findControlInSubSection(t[e].getMoreBlocks(),t[e],n,true)}return n};c._closeSideContent=function e(){this._getAllBlocks().forEach(function(e){const t=e.getContent instanceof Function&&e.getContent();if(t&&t.isA&&t.isA("sap.ui.layout.DynamicSideContent")){if(t.setShowSideContent instanceof Function){t.setShowSideContent(false)}}})};c._getChartContextData=function e(t,n){const i=t.getObject();let o=[i];if(t&&n){if(i[n]){o=i[n];delete i[n];o.push(i)}}return o};c._scrollTablesToRow=function e(t){if(this._findTables&&this._findTables().length>0){const e=this._findTables();for(let n=0;n<e.length;n++){B.scrollTableToRow(e[n],t)}}};c._mergeMultipleContexts=function e(t,n,o){let s=[],a=[],r,c,l;const g=t.getPath();const u=t&&t.getModel()&&t.getModel().getMetaModel();const d=u&&u.getMetaPath(g).replace(/^\/*/,"");if(n&&n.length){r=n[0];l=r.getPath();c=u&&u.getMetaPath(l).replace(/^\/*/,"");n.forEach(e=>{if(o){const t=this._getChartContextData(e,o);if(t){s=t.map(function(e){return{contextData:e,entitySet:`${d}/${o}`}})}}else{s.push({contextData:e.getObject(),entitySet:c})}})}a.push({contextData:t.getObject(),entitySet:d});a=this._intentBasedNavigation.removeSensitiveData(a,d);const f=i.addPageContextToSelectionVariant(new M,a,this.getView());s=this._intentBasedNavigation.removeSensitiveData(s,d);return{selectionVariant:f,attributes:s}};c._getBatchGroupsForView=function e(){const t=this.getView().getViewData(),n=t.controlConfiguration,i=n&&Object.keys(n),o=["$auto.Heroes","$auto.Decoration","$auto.Workers"];if(i&&i.length>0){i.forEach(function(e){const t=n[e];if(t.requestGroupId==="LongRunners"){o.push("$auto.LongRunners")}})}return o};c._setBreadcrumbLinks=async function t(n){const i=n.getBindingContext(),o=this.getAppComponent(),s=[],a=[],r=i===null||i===void 0?void 0:i.getPath(),c=(r===null||r===void 0?void 0:r.split("/"))??[],l=o&&o.getMetaModel();let g="";try{c.shift();c.splice(-1,1);c.forEach(function(e){g+=`/${e}`;const t=o.getRootViewController();const n=l.getMetaPath(g);const i=l.getObject(`${n}/@com.sap.vocabularies.Common.v1.ResultContext`);if(i){a.push(1);return}else{a.push(0)}s.push(t.getTitleInfoFromPath(g))});const e=await Promise.all(s);let t,i,r;for(const o of e){i=e.indexOf(o);t=i-a[i];r=n.getLinks()[t]?n.getLinks()[t]:new V;r.setText(o.subtitle||o.title);r.setHref(encodeURI(o.intent));if(!n.getLinks()[t]){n.addLink(r)}}}catch(t){e.error("Error while setting the breadcrumb links:"+t)}};c._checkDataPointTitleForExternalNavigation=function n(){const o=this.getView();const s=o.getBindingContext("internal");const a=i.getHeaderFacetItemConfigForExternalNavigation(o.getViewData(),this.getAppComponent().getRoutingService().getOutbounds());const r=this.getAppComponent().getShellServices();const c=o&&o.getBindingContext();s.setProperty("isHeaderDPLinkVisible",{});if(c){c.requestObject().then(function(e){u(a,e)}).catch(function(t){e.error("Cannot retrieve the links from the shell service",t)})}function l(t){e.error(t)}function g(e,t){const n=e;if(t&&t.length===1&&t[0].supported){s.setProperty(`isHeaderDPLinkVisible/${n}`,true)}}function u(e,n){for(const i in e){const s=e[i];const a={};const c=o.byId(i);if(!c){continue}const u=c.getBindingContext();const d=u&&u.getObject();let f=t({},n,d);if(s.semanticObjectMapping){const e=s.semanticObjectMapping;for(const n in e){const i=e[n];const o=i["LocalProperty"]["$PropertyPath"];const s=i["SemanticObjectProperty"];if(o!==s){if(f.hasOwnProperty(o)){const e={};e[s]=f[o];f=t({},f,e);delete f[o]}}}}if(f){for(const e in f){if(e.indexOf("_")!==0&&e.indexOf("odata.context")===-1){a[e]=f[e]}}}r.isNavigationSupported([{target:{semanticObject:s.semanticObject,action:s.action},params:a}]).then(e=>g(i,e)).catch(l)}}};return a}(S),ae=Ve(se.prototype,"placeholder",[G],{configurable:true,enumerable:true,writable:true,initializer:null}),re=Ve(se.prototype,"share",[U],{configurable:true,enumerable:true,writable:true,initializer:null}),ce=Ve(se.prototype,"_routing",[q],{configurable:true,enumerable:true,writable:true,initializer:null}),le=Ve(se.prototype,"paginator",[J],{configurable:true,enumerable:true,writable:true,initializer:null}),ge=Ve(se.prototype,"messageHandler",[K],{configurable:true,enumerable:true,writable:true,initializer:null}),ue=Ve(se.prototype,"intentBasedNavigation",[W],{configurable:true,enumerable:true,writable:true,initializer:null}),de=Ve(se.prototype,"_intentBasedNavigation",[Q],{configurable:true,enumerable:true,writable:true,initializer:null}),fe=Ve(se.prototype,"viewState",[X],{configurable:true,enumerable:true,writable:true,initializer:null}),he=Ve(se.prototype,"pageReady",[Y],{configurable:true,enumerable:true,writable:true,initializer:null}),pe=Ve(se.prototype,"massEdit",[Z],{configurable:true,enumerable:true,writable:true,initializer:null}),Ve(se.prototype,"getExtensionAPI",[ee,te],Object.getOwnPropertyDescriptor(se.prototype,"getExtensionAPI"),se.prototype),Ve(se.prototype,"onPageReady",[ne,ie],Object.getOwnPropertyDescriptor(se.prototype,"onPageReady"),se.prototype),se))||oe);return Fe},false);
112
+ sap.ui.predefine("sap/fe/templates/ObjectPage/ObjectPageController.controller", ["sap/base/Log","sap/base/util/merge","sap/fe/core/ActionRuntime","sap/fe/core/CommonUtils","sap/fe/core/controllerextensions/BusyLocker","sap/fe/core/controllerextensions/collaboration/ActivitySync","sap/fe/core/controllerextensions/collaboration/Manage","sap/fe/core/controllerextensions/editFlow/draft","sap/fe/core/controllerextensions/IntentBasedNavigation","sap/fe/core/controllerextensions/InternalIntentBasedNavigation","sap/fe/core/controllerextensions/InternalRouting","sap/fe/core/controllerextensions/MassEdit","sap/fe/core/controllerextensions/MessageHandler","sap/fe/core/controllerextensions/PageReady","sap/fe/core/controllerextensions/Paginator","sap/fe/core/controllerextensions/Placeholder","sap/fe/core/controllerextensions/Share","sap/fe/core/controllerextensions/ViewState","sap/fe/core/helpers/ClassSupport","sap/fe/core/helpers/ModelHelper","sap/fe/core/helpers/RecommendationHelper","sap/fe/core/helpers/ResourceModelHelper","sap/fe/core/library","sap/fe/core/PageController","sap/fe/macros/CommonHelper","sap/fe/macros/DelegateUtil","sap/fe/macros/table/TableHelper","sap/fe/macros/table/Utils","sap/fe/navigation/SelectionVariant","sap/fe/templates/ObjectPage/ExtensionAPI","sap/fe/templates/TableScroller","sap/m/InstanceManager","sap/m/Link","sap/m/MessageBox","sap/ui/core/Core","sap/ui/core/message/Message","sap/ui/core/mvc/OverrideExecution","sap/ui/model/odata/v4/ODataListBinding","./overrides/IntentBasedNavigation","./overrides/InternalRouting","./overrides/MessageHandler","./overrides/Paginator","./overrides/Share","./overrides/ViewState"],function(e,t,n,i,o,s,a,r,l,c,g,u,d,f,h,p,b,m,v,C,y,S,P,w,x,A,E,M,_,B,I,V,O,T,F,D,R,k,j,N,L,H,z,$){"use strict";var G,U,q,J,K,W,Q,X,Y,Z,ee,te,ne,ie,oe,se,ae,re,le,ce,ge,ue,de,fe,he,pe,be;var me=S.getResourceModel;var ve=y.recommendationHelper;var Ce=v.usingExtension;var ye=v.publicExtension;var Se=v.finalExtension;var Pe=v.extensible;var we=v.defineUI5Class;var xe=a.showUserDetails;var Ae=a.openManageDialog;var Ee=s.isConnected;var Me=s.disconnect;var _e=s.connect;function Be(e,t,n,i){if(!n)return;Object.defineProperty(e,t,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(i):void 0})}function Ie(e){if(e===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}function Ve(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;Oe(e,t)}function Oe(e,t){Oe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function e(t,n){t.__proto__=n;return t};return Oe(e,t)}function Te(e,t,n,i,o){var s={};Object.keys(i).forEach(function(e){s[e]=i[e]});s.enumerable=!!s.enumerable;s.configurable=!!s.configurable;if("value"in s||s.initializer){s.writable=true}s=n.slice().reverse().reduce(function(n,i){return i(e,t,n)||n},s);if(o&&s.initializer!==void 0){s.value=s.initializer?s.initializer.call(o):void 0;s.initializer=undefined}if(s.initializer===void 0){Object.defineProperty(e,t,s);s=null}return s}function Fe(e,t){throw new Error("Decorating class property failed. Please ensure that "+"proposal-class-properties is enabled and runs after the decorators transform.")}const De=P.ProgrammingModel;let Re=(G=we("sap.fe.templates.ObjectPage.ObjectPageController"),U=Ce(p),q=Ce(b.override(z)),J=Ce(g.override(N)),K=Ce(h.override(H)),W=Ce(d.override(L)),Q=Ce(l.override(j)),X=Ce(c.override({getNavigationMode:function(){const e=this.getView().getController().getStickyEditMode&&this.getView().getController().getStickyEditMode();return e?"explace":undefined}})),Y=Ce(m.override($)),Z=Ce(f.override({isContextExpected:function(){return true}})),ee=Ce(u),te=ye(),ne=Se(),ie=ye(),oe=Pe(R.After),G(se=(ae=function(s){Ve(a,s);function a(){var t;for(var n=arguments.length,o=new Array(n),a=0;a<n;a++){o[a]=arguments[a]}t=s.call(this,...o)||this;Be(t,"placeholder",re,Ie(t));Be(t,"share",le,Ie(t));Be(t,"_routing",ce,Ie(t));Be(t,"paginator",ge,Ie(t));Be(t,"messageHandler",ue,Ie(t));Be(t,"intentBasedNavigation",de,Ie(t));Be(t,"_intentBasedNavigation",fe,Ie(t));Be(t,"viewState",he,Ie(t));Be(t,"pageReady",pe,Ie(t));Be(t,"massEdit",be,Ie(t));t.handlers={onPrimaryAction(e,t,n,i,o,s){var a,r;const l=e.getView().getViewData().viewLevel,c=e._getObjectPageLayoutControl();if(s.positiveActionVisible){if(s.positiveActionEnabled){e.handlers.onCallAction(t,i,o)}}else if(s.editActionVisible){if(s.editActionEnabled){e._editDocument(n)}}else if(l===1&&c!==null&&c!==void 0&&(a=c.getModel("ui"))!==null&&a!==void 0&&a.getProperty("/isEditable")){e._saveDocument(n)}else if(c!==null&&c!==void 0&&(r=c.getModel("ui"))!==null&&r!==void 0&&r.getProperty("/isEditable")){e._applyDocument(n)}},onTableContextChange(t){var n;const i=t.getSource();let o;this._findTables().some(function(e){if(e.getRowBinding()===i){o=e;return true}return false});const s=o.getCreationRow();if(s&&!((n=s._oInnerCreationRow)!==null&&n!==void 0&&n.getBindingContext())){const t=this._getTableBinding(o);if(!t){e.error(`Expected binding missing for table: ${o.getId()}`);return}if(t.getContext()){const e=this._getObjectPageLayoutControl();const n=e.getBindingContext();const i=n.getModel();E.enableFastCreationRow(s,t.getPath(),t.getContext(),i,o.getModel("ui").getProperty("/isEditable"))}}const a=this.editFlow.getCurrentActionPromise();if(a){let t;if(o.getType().getMetadata().isA("sap.ui.mdc.table.GridTableType")){t=i.getContexts(0)}else{t=i.getCurrentContexts()}if(!t[0]){return}a.then(e=>{if(!e||e.controlId!==o.sId){return}const n=e.oData;const i=e.keys;let s=-1;t.find(function(e,t){const o=e.getObject();const a=i.every(function(e){return o[e]===n[e]});if(a){s=t}return a});if(s!==-1){const e=V.getOpenDialogs();const t=e.length>0?e.find(e=>e.data("FullScreenDialog")!==true):null;if(t){t.attachEventOnce("afterClose",function(){o.focusRow(s,true)})}else{o.focusRow(s,true)}this.editFlow.deleteCurrentActionPromise()}}).catch(function(t){e.error(`An error occurs while scrolling to the newly created Item: ${t}`)})}this.messageButton.fireModelContextChange()},onCallAction(e,t,n){const i=e.getController();return i.editFlow.invokeAction(t,n).then(i._showMessagePopover.bind(i,undefined)).catch(i._showMessagePopover.bind(i))},onDataPointTitlePressed(e,t,n,o,s){n=typeof n==="string"?JSON.parse(n):n;const a=n[o],r=i.getSemanticObjectMapping(a),l=t.getBindingContext(),c=l.getModel().getMetaModel().getMetaPath(l.getPath());let g=e._getChartContextData(l,s);let u;g=g.map(function(e){return{data:e,metaPath:c+(s?`/${s}`:"")}});if(a&&a.parameters){const t=a.parameters&&e._intentBasedNavigation.getOutboundParams(a.parameters);if(Object.keys(t).length>0){u=t}}if(a&&a.semanticObject&&a.action){e._intentBasedNavigation.navigate(a.semanticObject,a.action,{navigationContexts:g,semanticObjectMapping:r,additionalNavigationParameters:u})}},onChevronPressNavigateOutBound(e,t,n,i){return e._intentBasedNavigation.onChevronPressNavigateOutBound(e,t,n,i)},onNavigateChange(e){var t;this.getExtensionAPI().updateAppState();this.bSectionNavigated=true;const n=this.getView().getBindingContext("internal");const i=this._getObjectPageLayoutControl();if(i!==null&&i!==void 0&&(t=i.getModel("ui"))!==null&&t!==void 0&&t.getProperty("/isEditable")&&this.getView().getViewData().sectionLayout==="Tabs"&&n.getProperty("errorNavigationSectionFlag")===false){const t=e.getParameter("subSection");this._updateFocusInEditMode([t])}},onVariantSelected:function(){this.getExtensionAPI().updateAppState()},onVariantSaved:function(){setTimeout(()=>{this.getExtensionAPI().updateAppState()},2e3)},navigateToSubSection:function(t,n){const i=typeof n==="string"?JSON.parse(n):n;const o=t.getView().byId("fe::ObjectPage");let s;let a;if(i.sectionId){s=t.getView().byId(i.sectionId);a=i.subSectionId?t.getView().byId(i.subSectionId):s&&s.getSubSections()&&s.getSubSections()[0]}else if(i.subSectionId){a=t.getView().byId(i.subSectionId);s=a&&a.getParent()}if(!s||!a||!s.getVisible()||!a.getVisible()){const n=me(t).getText("C_ROUTING_NAVIGATION_DISABLED_TITLE",undefined,t.getView().getViewData().entitySet);e.error(n);T.error(n)}else{o.scrollToSection(a.getId());o.fireNavigate({section:s,subSection:a})}},onStateChange(){this.getExtensionAPI().updateAppState()},closeOPMessageStrip:function(){this.getExtensionAPI().hideMessage()}};return t}var l=a.prototype;l.getExtensionAPI=function e(t){if(t){this.mCustomSectionExtensionAPIs=this.mCustomSectionExtensionAPIs||{};if(!this.mCustomSectionExtensionAPIs[t]){this.mCustomSectionExtensionAPIs[t]=new B(this,t)}return this.mCustomSectionExtensionAPIs[t]}else{if(!this.extensionAPI){this.extensionAPI=new B(this)}return this.extensionAPI}};l.onInit=function e(){s.prototype.onInit.call(this);const t=this._getObjectPageLayoutControl();const n=this.getView().getBindingContext("internal");n===null||n===void 0?void 0:n.setProperty("externalNavigationContext",{page:true});n===null||n===void 0?void 0:n.setProperty("relatedApps",{visibility:false,items:null});n===null||n===void 0?void 0:n.setProperty("batchGroups",this._getBatchGroupsForView());n===null||n===void 0?void 0:n.setProperty("errorNavigationSectionFlag",false);if(t.getEnableLazyLoading()){t.attachEvent("subSectionEnteredViewPort",this._handleSubSectionEnteredViewPort.bind(this))}this.messageButton=this.getView().byId("fe::FooterBar::MessageButton");this.messageButton.oItemBinding.attachChange(this._fnShowOPMessage,this);n===null||n===void 0?void 0:n.setProperty("rootEditEnabled",true);n===null||n===void 0?void 0:n.setProperty("rootEditVisible",true)};l.onExit=function e(){if(this.mCustomSectionExtensionAPIs){for(const e of Object.keys(this.mCustomSectionExtensionAPIs)){if(this.mCustomSectionExtensionAPIs[e]){this.mCustomSectionExtensionAPIs[e].destroy()}}delete this.mCustomSectionExtensionAPIs}if(this.extensionAPI){this.extensionAPI.destroy()}delete this.extensionAPI;const t=this.messageButton?this.messageButton.oMessagePopover:null;if(t&&t.isOpen()){t.close()}const n=this.getView().getBindingContext();if(n&&n.isKeepAlive()){n.setKeepAlive(false)}if(Ee(this.getView())){Me(this.getView())}};l._fnShowOPMessage=function e(){const t=this.getExtensionAPI();const n=this.getView();const i=this.messageButton.oMessagePopover.getItems().map(e=>e.getBindingContext("message").getObject()).filter(e=>{var t;return e.getTargets()[0]===((t=n.getBindingContext())===null||t===void 0?void 0:t.getPath())});if(t){t.showMessages(i)}};l._getTableBinding=function e(t){return t&&t.getRowBinding()};l.checkSectionsForNonResponsiveTable=function e(t){const n=(e,t)=>{var i;const o=[...t.getBlocks(),...t.getMoreBlocks()];const s=o.length===1&&((i=this.searchTableInBlock(o[0]))===null||i===void 0?void 0:i.getType());if(s&&(s!==null&&s!==void 0&&s.isA("sap.ui.mdc.table.GridTableType")||s!==null&&s!==void 0&&s.isA("sap.ui.mdc.table.TreeTableType"))){t.addStyleClass("sapUxAPObjectPageSubSectionFitContainer");t.detachEvent("modelContextChange",n,this)}};for(let e=t.length-1;e>=0;e--){if(t[e].getVisible()){const i=t[e];i.attachEvent("modelContextChange",i,n,this);break}}};l.searchTableInBlock=function e(t){const n=t.content;let i;if(t.isA("sap.fe.templates.ObjectPage.controls.SubSectionBlock")){if(n.isA("sap.m.Panel")&&n.data("FullScreenTablePlaceHolder")){i=n.data("tableAPIreference")}else if(n.isA("sap.fe.macros.table.TableAPI")){i=n}if(i){return i.content}}return undefined};l.onBeforeRendering=function e(){var t;w.prototype.onBeforeRendering.apply(this);if((t=this.oView.oViewData)!==null&&t!==void 0&&t.retrieveTextFromValueList&&x.getMetaModel()===undefined){x.setMetaModel(this.getAppComponent().getMetaModel())}};l.onAfterRendering=function e(){let t;if(this._getObjectPageLayoutControl().getUseIconTabBar()){const e=this._getObjectPageLayoutControl().getSections();for(const n of e){t=n.getSubSections();this.checkSectionsForNonResponsiveTable(t)}}else{t=this._getAllSubSections();this.checkSectionsForNonResponsiveTable(t)}};l._onBeforeBinding=function e(t,n){const i=this._findTables(),o=this._getObjectPageLayoutControl(),s=this.getView().getBindingContext("internal"),a=this.getView().getModel("internal"),r=s.getProperty("batchGroups"),l=this.getView().getViewData().viewLevel;let c;r.push("$auto");if(n.bDraftNavigation!==true){this._closeSideContent()}const g=o.getBindingContext();if(g&&g.hasPendingChanges()&&!r.some(g.getModel().hasPendingChanges.bind(g.getModel()))){g.getBinding().resetChanges()}for(let e=0;e<i.length;e++){c=i[e].getCreationRow();if(c){c.setBindingContext(null)}}const u=function(){if(!o.isFirstRendering()&&!n.bPersistOPScroll){o.setSelectedSection(null)}};o.attachEventOnce("modelContextChange",u);const d={onAfterRendering:u};o.addEventDelegate(d,this);this.pageReady.attachEventOnce("pageReady",function(){o.removeEventDelegate(d)});if(l>1){let e=n&&n.listBinding;const i=a.getProperty("/paginatorCurrentContext");if(i){const e=i.getBinding();this.paginator.initialize(e,i);a.setProperty("/paginatorCurrentContext",null)}else if(e){if(e.isA("sap.ui.model.odata.v4.ODataListBinding")){this.paginator.initialize(e,t)}else{const n=e.getPath();if(/\([^)]*\)$/.test(n)){const i=n.replace(/\([^)]*\)$/,"");e=new k(e.oModel,i);const o=()=>{if(e.getContexts().length>0){this.paginator.initialize(e,t);e.detachEvent("change",o)}};e.getContexts(0);e.attachEvent("change",o)}else{this.paginator.initialize(undefined)}}}}if(o.getEnableLazyLoading()){var f;const e=o.getSections();const t=o.getUseIconTabBar();let n=2;const i=o===null||o===void 0?void 0:(f=o.getModel("ui"))===null||f===void 0?void 0:f.getProperty("/isEditable");const s=this.getView().getViewData().editableHeaderContent;for(let o=0;o<e.length;o++){const a=e[o];const r=a.getSubSections();for(let e=0;e<r.length;e++,n--){if(n<1||t&&(o>1||o===1&&!s&&!i)){const t=r[e];if(t.data().isVisibilityDynamic!=="true"){t.setBindingContext(null)}}}}}if(this.placeholder.isPlaceholderEnabled()&&n.showPlaceholder){const e=this.getView();const t=e.getParent().oContainer.getParent();if(t){t.showPlaceholder({})}}};l._getFirstClickableElement=function e(t){let n;const i=t.getHeaderTitle()&&t.getHeaderTitle().getActions();if(i&&i.length){n=i.find(function(e){if(e.isA("sap.fe.macros.share.ShareAPI")){return e.getVisible()}else if(!e.isA("sap.ui.core.InvisibleText")&&!e.isA("sap.m.ToolbarSpacer")){return e.getVisible()&&e.getEnabled()}})}return n};l._getFirstEmptyMandatoryFieldFromSubSection=function t(n){if(n){for(let t=0;t<n.length;t++){const i=n[t].getBlocks();if(i){for(let t=0;t<i.length;t++){let n;if(i[t].isA("sap.ui.layout.form.Form")){n=i[t].getFormContainers()}else if(i[t].getContent&&i[t].getContent()&&i[t].getContent().isA("sap.ui.layout.form.Form")){n=i[t].getContent().getFormContainers()}if(n){for(let t=0;t<n.length;t++){const i=n[t].getFormElements();if(i){for(let t=0;t<i.length;t++){const n=i[t].getFields();try{if(n[0].getRequired&&n[0].getRequired()&&!n[0].getValue()){return n[0]}}catch(t){e.debug(`Error when searching for mandaotry empty field: ${t}`)}}}}}}}}}return undefined};l._updateFocusInEditMode=function e(t){const n=this._getObjectPageLayoutControl();const i=this._getFirstEmptyMandatoryFieldFromSubSection(t);let o;if(i){o=i.content.getContentEdit()[0]}else{o=n._getFirstEditableInput()||this._getFirstClickableElement(n)}if(o){setTimeout(function(){o.focus()},0)}};l._handleSubSectionEnteredViewPort=function e(t){const n=t.getParameter("subSection");n.setBindingContext(undefined)};l._onBackNavigationInDraft=function e(t){this.messageHandler.removeTransitionMessages();if(this.getAppComponent().getRouterProxy().checkIfBackHasSameContext()){history.back()}else{r.processDataLossOrDraftDiscardConfirmation(function(){history.back()},Function.prototype,t,this,false,r.NavigationType.BackNavigation)}};l._onAfterBinding=function t(o,s){var a;const r=this.getView();const l=r===null||r===void 0?void 0:(a=r.getViewData())===null||a===void 0?void 0:a.viewLevel;const c=this._getObjectPageLayoutControl();const g=this._findTables();this._sideEffects.clearFieldGroupsValidity();const u=c.getBindingContext();let d=[];c.getSections().forEach(function(e){e.getSubSections().forEach(function(e){d=i.getIBNActions(e,d)})});g.forEach(function(e){const t=e.getBindingContext("internal");if(t){t.setProperty("creationRowFieldValidity",{});t.setProperty("creationRowCustomValidity",{});d=i.getIBNActions(e,d);const o=e.getRowBinding();if(o){if(C.isStickySessionSupported(o.getModel().getMetaModel())){o.removeCachesAndMessages("")}}const s=JSON.parse(x.parseCustomData(A.getCustomData(e,"operationAvailableMap")));n.setActionEnablement(t,s,[],"table");e.clearSelection()}});i.getSemanticTargetsFromPageModel(this,"_pageModel");const f=c.getHeaderTitle();let h=[];h=i.getIBNActions(f,h);d=d.concat(h);i.updateDataFieldForIBNButtonsVisibility(d,this.getView());let p,b;const m=t=>{const n=this._getTableBinding(t),i=function(){E.enableFastCreationRow(t.getCreationRow(),n.getPath(),n.getContext(),p,b)};if(!n){e.error(`Expected binding missing for table: ${t.getId()}`);return}if(n.oContext){i()}else{const e=function(){if(n.oContext){i();n.detachChange(e)}};n.attachChange(e)}};if(u){p=u.getModel();b=this.editFlow.computeEditMode(u);if(C.isCollaborationDraftSupported(p.getMetaModel())){b.then(()=>{var e,t;if((e=this.getView())!==null&&e!==void 0&&(t=e.getModel("ui"))!==null&&t!==void 0&&t.getProperty("/isEditable")){_e(this.getView())}else if(Ee(this.getView())){Me(this.getView())}}).catch(function(t){e.error("Error while waiting for the final UI State",t)})}this._updateRelatedApps();const t=u.getBinding&&u.getBinding()||u;if(this.currentBinding!==t){t.attachEvent("patchSent",{},this.editFlow.handlePatchSent,this);this.currentBinding=t}g.forEach(function(t){M.whenBound(t).then(m).catch(function(t){e.error("Error while waiting for the table to be bound",t)})});c._triggerVisibleSubSectionsEvents();n.updateEditButtonVisibilityAndEnablement(this.getView())}if(l&&l===1){var v;(v=b)===null||v===void 0?void 0:v.then(()=>{ve.clearRecommendations(r,o);return})}this.displayCollaborationMessage(s===null||s===void 0?void 0:s.redirectedToNonDraft)};l.displayCollaborationMessage=function e(t){const n=F.getLibraryResourceBundle("sap.fe.core");if(this.collaborationMessage){F.getMessageManager().removeMessages([this.collaborationMessage]);delete this.collaborationMessage}if(t){var i,o;this.collaborationMessage=new D({message:n.getText("REROUTED_NAVIGATION_TO_SAVED_VERSION",[t]),type:"Information",target:(i=this.getView())===null||i===void 0?void 0:(o=i.getBindingContext())===null||o===void 0?void 0:o.getPath()});sap.ui.getCore().getMessageManager().addMessages([this.collaborationMessage])}};l.onPageReady=function t(n){const o=()=>{var e;const t=this._getObjectPageLayoutControl();const n=!(t!==null&&t!==void 0&&(e=t.getModel("ui"))!==null&&e!==void 0&&e.getProperty("/isEditable"));if(n){const e=this._getFirstClickableElement(t);if(e){e.focus()}}else{const e=F.byId(t.getSelectedSection());if(e){this._updateFocusInEditMode(e.getSubSections())}}};const s=this.getView().getBindingContext();this.getView().getModel("internal").setProperty("/currentCtxt",s);const a=this.getView();const r=a.getBindingContext("internal");const l=a.getBindingContext();if(l){const e=C.isStickySessionSupported(l.getModel().getMetaModel());if(!e){const e=i.getAppComponent(a);e.getShellServices().setBackNavigation(()=>this._onBackNavigationInDraft(l))}}const c=this.getView().getId();this.getAppComponent().getAppStateHandler().applyAppState(c,this.getView()).then(()=>{if(n.forceFocus){o()}}).catch(function(t){e.error("Error while setting the focus",t)});r.setProperty("errorNavigationSectionFlag",false);this._checkDataPointTitleForExternalNavigation()};l.getStickyEditMode=function e(){const t=this.getView().getBindingContext&&this.getView().getBindingContext();let n=false;if(t){const e=C.isStickySessionSupported(t.getModel().getMetaModel());if(e){var i,o;n=(i=this.getView())===null||i===void 0?void 0:(o=i.getModel("ui"))===null||o===void 0?void 0:o.getProperty("/isEditable")}}return n};l._getObjectPageLayoutControl=function e(){return this.byId("fe::ObjectPage")};l._getPageTitleInformation=function e(){const t=this._getObjectPageLayoutControl();const n=t.getCustomData().find(function(e){return e.getKey()==="ObjectPageSubtitle"});return{title:t.data("ObjectPageTitle")||"",subtitle:n&&n.getValue(),intent:"",icon:""}};l._executeHeaderShortcut=function e(t){const n=`${this.getView().getId()}--${t}`,o=this._getObjectPageLayoutControl().getHeaderTitle().getActions().find(function(e){return e.getId()===n});if(o){i.fireButtonPress(o)}};l._executeFooterShortcut=function e(t){const n=`${this.getView().getId()}--${t}`,o=this._getObjectPageLayoutControl().getFooter().getContent().find(function(e){return e.getMetadata().getName()==="sap.m.Button"&&e.getId()===n});i.fireButtonPress(o)};l._executeTabShortCut=function e(t){const n=this._getObjectPageLayoutControl(),i=n.getSections(),o=i.length-1,s=t.oSource.getCommand();let a,r=n.indexOfSection(this.byId(n.getSelectedSection()));if(r!==-1&&o>0){if(s==="NextTab"){if(r<=o-1){a=i[++r]}}else if(r!==0){a=i[--r]}if(a){n.setSelectedSection(a);a.focus()}}};l._getFooterVisibility=function e(){const t=this.getView().getBindingContext("internal");const n=this.getView().getId();t.setProperty("messageFooterContainsErrors",false);sap.ui.getCore().getMessageManager().getMessageModel().getData().forEach(function(e){if(e.validation&&e.type==="Error"&&e.target.indexOf(n)>-1){t.setProperty("messageFooterContainsErrors",true)}})};l._showMessagePopover=function t(n,i){if(n){e.error(n)}const o=this.getAppComponent().getRootViewController();const s=o.isFclEnabled()?o.getRightmostView():this.getAppComponent().getRootContainer().getCurrentPage();if(!s.isA("sap.m.MessagePage")){const e=this.messageButton,t=e.oMessagePopover,n=t.getBinding("items");if(n.getLength()>0&&!t.isOpen()){e.setVisible(true);setTimeout(function(){t.openBy(e)},0)}}return i};l._editDocument=function e(t){const n=this.getView().getModel("ui");o.lock(n);return this.editFlow.editDocument.apply(this.editFlow,[t]).finally(function(){o.unlock(n)})};l._validateDocument=async function e(){const t=F.byId(F.getCurrentFocusedControlId());const n=t===null||t===void 0?void 0:t.getBindingContext();if(!n){return undefined}if(n.isTransient()){if(n.hasPendingChanges()){await n.created();return this.executeGlobalValidation(n)}return this.executeGlobalValidation(n,true)}return this.executeGlobalValidation(n)};l.executeGlobalValidation=async function e(t){let n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:false;const o=this.getAppComponent();if(!n){const e=o.getSideEffectsService();const n=e.getEntityTypeFromContext(t);const i=n?e.getGlobalODataEntitySideEffects(n):[];if(i.length){await this.editFlow.syncTask();return Promise.all(i.map(e=>this._sideEffects.requestSideEffects(e,t)))}}const s=await i.createRootContext(De.Draft,this.getView(),o);if(s){await this.editFlow.syncTask();return r.executeDraftValidation(s,o,Ee(this.getView()))}};l._saveDocument=async function e(t){const n=this.getView().getModel("ui"),i=[];let s=false;o.lock(n);this._findTables().forEach(e=>{const t=this._getTableBinding(e);const n={creationMode:e.data("creationMode"),creationRow:e.getCreationRow(),createAtEnd:e.data("createAtEnd")==="true"};const o=n.creationRow&&n.creationRow.getBindingContext()&&Object.keys(n.creationRow.getBindingContext().getObject()).length>1;if(o){n.bSkipSideEffects=true;s=true;i.push(this.editFlow.createDocument(t,n).then(function(){return t}))}});try{const e=await Promise.all(i);const n={bExecuteSideEffectsOnError:s,bindings:e};try{await this.editFlow.saveDocument(t,n)}catch(e){this._showMessagePopover(e);throw e}}finally{if(o.isLocked(n)){o.unlock(n)}}};l._manageCollaboration=function e(){Ae(this.getView())};l._showCollaborationUserDetails=function e(t){xe(t,this.getView())};l._cancelDocument=function e(t,n){n.cancelButton=this.getView().byId(n.cancelButton);return this.editFlow.cancelDocument(t,n)};l._applyDocument=function e(t){return this.editFlow.applyDocument(t).catch(()=>this._showMessagePopover())};l._updateRelatedApps=function e(){const t=this._getObjectPageLayoutControl();const n=t.data("showRelatedApps");if(n==="true"||n===true){const e=i.getAppComponent(this.getView());i.updateRelatedAppsDetails(t,e)}};l._findControlInSubSection=function e(t,n,i,o){for(let e=0;e<t.length;e++){let n=t[e].getContent instanceof Function&&t[e].getContent();if(o){if(n&&n.mAggregations&&n.getAggregation("items")){const e=n.getAggregation("items");e.forEach(function(e){if(e.isA("sap.fe.macros.chart.ChartAPI")){n=e}})}}if(n&&n.isA&&n.isA("sap.ui.layout.DynamicSideContent")){n=n.getMainContent instanceof Function&&n.getMainContent();if(n&&n.length>0){n=n[0]}}if(n&&n.isA&&n.isA("sap.m.Panel")&&n.data("FullScreenTablePlaceHolder")){n=n.data("tableAPIreference")}if(n&&n.isA&&n.isA("sap.fe.macros.table.TableAPI")){n=n.getContent instanceof Function&&n.getContent();if(n&&n.length>0){n=n[0]}}if(n&&n.isA&&n.isA("sap.ui.mdc.Table")){i.push(n)}if(n&&n.isA&&n.isA("sap.fe.macros.chart.ChartAPI")){n=n.getContent instanceof Function&&n.getContent();if(n&&n.length>0){n=n[0]}}if(n&&n.isA&&n.isA("sap.ui.mdc.Chart")){i.push(n)}}};l._getAllSubSections=function e(){const t=this._getObjectPageLayoutControl();let n=[];t.getSections().forEach(function(e){n=n.concat(e.getSubSections())});return n};l._getAllBlocks=function e(){let t=[];this._getAllSubSections().forEach(function(e){t=t.concat(e.getBlocks())});return t};l._findTables=function e(){const t=this._getAllSubSections();const n=[];for(let e=0;e<t.length;e++){this._findControlInSubSection(t[e].getBlocks(),t[e],n);this._findControlInSubSection(t[e].getMoreBlocks(),t[e],n)}return n};l._findCharts=function e(){const t=this._getAllSubSections();const n=[];for(let e=0;e<t.length;e++){this._findControlInSubSection(t[e].getBlocks(),t[e],n,true);this._findControlInSubSection(t[e].getMoreBlocks(),t[e],n,true)}return n};l._closeSideContent=function e(){this._getAllBlocks().forEach(function(e){const t=e.getContent instanceof Function&&e.getContent();if(t&&t.isA&&t.isA("sap.ui.layout.DynamicSideContent")){if(t.setShowSideContent instanceof Function){t.setShowSideContent(false)}}})};l._getChartContextData=function e(t,n){const i=t.getObject();let o=[i];if(t&&n){if(i[n]){o=i[n];delete i[n];o.push(i)}}return o};l._scrollTablesToRow=function e(t){if(this._findTables&&this._findTables().length>0){const e=this._findTables();for(let n=0;n<e.length;n++){I.scrollTableToRow(e[n],t)}}};l._mergeMultipleContexts=function e(t,n,o){let s=[],a=[],r,l,c;const g=t.getPath();const u=t&&t.getModel()&&t.getModel().getMetaModel();const d=u&&u.getMetaPath(g).replace(/^\/*/,"");if(n&&n.length){r=n[0];c=r.getPath();l=u&&u.getMetaPath(c).replace(/^\/*/,"");n.forEach(e=>{if(o){const t=this._getChartContextData(e,o);if(t){s=t.map(function(e){return{contextData:e,entitySet:`${d}/${o}`}})}}else{s.push({contextData:e.getObject(),entitySet:l})}})}a.push({contextData:t.getObject(),entitySet:d});a=this._intentBasedNavigation.removeSensitiveData(a,d);const f=i.addPageContextToSelectionVariant(new _,a,this.getView());s=this._intentBasedNavigation.removeSensitiveData(s,d);return{selectionVariant:f,attributes:s}};l._getBatchGroupsForView=function e(){const t=this.getView().getViewData(),n=t.controlConfiguration,i=n&&Object.keys(n),o=["$auto.Heroes","$auto.Decoration","$auto.Workers"];if(i&&i.length>0){i.forEach(function(e){const t=n[e];if(t.requestGroupId==="LongRunners"){o.push("$auto.LongRunners")}})}return o};l._setBreadcrumbLinks=async function t(n){const i=n.getBindingContext(),o=this.getAppComponent(),s=[],a=[],r=i===null||i===void 0?void 0:i.getPath(),l=(r===null||r===void 0?void 0:r.split("/"))??[],c=o&&o.getMetaModel();let g="";try{l.shift();l.splice(-1,1);l.forEach(function(e){g+=`/${e}`;const t=o.getRootViewController();const n=c.getMetaPath(g);const i=c.getObject(`${n}/@com.sap.vocabularies.Common.v1.ResultContext`);if(i){a.push(1);return}else{a.push(0)}s.push(t.getTitleInfoFromPath(g))});const e=await Promise.all(s);let t,i,r;for(const o of e){i=e.indexOf(o);t=i-a[i];r=n.getLinks()[t]?n.getLinks()[t]:new O;r.setText(o.subtitle||o.title);r.setHref(encodeURI(o.intent));if(!n.getLinks()[t]){n.addLink(r)}}}catch(t){e.error("Error while setting the breadcrumb links:"+t)}};l._checkDataPointTitleForExternalNavigation=function n(){const o=this.getView();const s=o.getBindingContext("internal");const a=i.getHeaderFacetItemConfigForExternalNavigation(o.getViewData(),this.getAppComponent().getRoutingService().getOutbounds());const r=this.getAppComponent().getShellServices();const l=o&&o.getBindingContext();s.setProperty("isHeaderDPLinkVisible",{});if(l){l.requestObject().then(function(e){u(a,e)}).catch(function(t){e.error("Cannot retrieve the links from the shell service",t)})}function c(t){e.error(t)}function g(e,t){const n=e;if(t&&t.length===1&&t[0].supported){s.setProperty(`isHeaderDPLinkVisible/${n}`,true)}}function u(e,n){for(const i in e){const s=e[i];const a={};const l=o.byId(i);if(!l){continue}const u=l.getBindingContext();const d=u&&u.getObject();let f=t({},n,d);if(s.semanticObjectMapping){const e=s.semanticObjectMapping;for(const n in e){const i=e[n];const o=i["LocalProperty"]["$PropertyPath"];const s=i["SemanticObjectProperty"];if(o!==s){if(f.hasOwnProperty(o)){const e={};e[s]=f[o];f=t({},f,e);delete f[o]}}}}if(f){for(const e in f){if(!e.startsWith("_")&&!e.includes("odata.context")){a[e]=f[e]}}}r.isNavigationSupported([{target:{semanticObject:s.semanticObject,action:s.action},params:a}]).then(e=>g(i,e)).catch(c)}}};return a}(w),re=Te(ae.prototype,"placeholder",[U],{configurable:true,enumerable:true,writable:true,initializer:null}),le=Te(ae.prototype,"share",[q],{configurable:true,enumerable:true,writable:true,initializer:null}),ce=Te(ae.prototype,"_routing",[J],{configurable:true,enumerable:true,writable:true,initializer:null}),ge=Te(ae.prototype,"paginator",[K],{configurable:true,enumerable:true,writable:true,initializer:null}),ue=Te(ae.prototype,"messageHandler",[W],{configurable:true,enumerable:true,writable:true,initializer:null}),de=Te(ae.prototype,"intentBasedNavigation",[Q],{configurable:true,enumerable:true,writable:true,initializer:null}),fe=Te(ae.prototype,"_intentBasedNavigation",[X],{configurable:true,enumerable:true,writable:true,initializer:null}),he=Te(ae.prototype,"viewState",[Y],{configurable:true,enumerable:true,writable:true,initializer:null}),pe=Te(ae.prototype,"pageReady",[Z],{configurable:true,enumerable:true,writable:true,initializer:null}),be=Te(ae.prototype,"massEdit",[ee],{configurable:true,enumerable:true,writable:true,initializer:null}),Te(ae.prototype,"getExtensionAPI",[te,ne],Object.getOwnPropertyDescriptor(ae.prototype,"getExtensionAPI"),ae.prototype),Te(ae.prototype,"onPageReady",[ie,oe],Object.getOwnPropertyDescriptor(ae.prototype,"onPageReady"),ae.prototype),ae))||se);return Re},false);
113
113
  /*!
114
114
  * SAP UI development toolkit for HTML5 (SAPUI5)
115
115
  * (c) Copyright 2009-2023 SAP SE. All rights reserved
@@ -194,11 +194,11 @@ sap.ui.predefine("sap/fe/templates/TableScroller", [],function(){"use strict";co
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.1",noLibraryCSS:true});if(!m.ObjectPage){m.ObjectPage={}}m.ObjectPage.SectionLayout={Page:"Page",Tabs:"Tabs"};s.register();r.register();p.register();return m},false);
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.2",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.1"},"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":{}}}}}',
199
+ "sap/fe/templates/AnalyticalListPage/manifest.json":'{"_version":"1.14.0","sap.app":{"id":"sap.fe.templates.AnalyticalListPage","type":"component","applicationVersion":{"version":"1.114.2"},"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} &amp;&amp; ${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} &amp;&amp; !${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\' &amp;&amp; !${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 &amp;&amp; !${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.1"},"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":{}}}}}',
201
+ "sap/fe/templates/ListReport/manifest.json":'{"_version":"1.14.0","sap.app":{"id":"sap.fe.templates.ListReport","type":"component","applicationVersion":{"version":"1.114.2"},"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 &amp;&amp; ${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\' &amp;&amp; !${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) &amp;&amp; ${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) &amp;&amp; ${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.1"},"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}}}',
209
+ "sap/fe/templates/ObjectPage/manifest.json":'{"_version":"1.14.0","sap.app":{"id":"sap.fe.templates.ObjectPage","type":"component","applicationVersion":{"version":"1.114.2"},"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\' &amp;&amp; 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\' &amp;&amp; ${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) &amp;&amp; (${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} &amp;&amp; ${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 &amp;&amp; ${subSection>titleVisible} ? "H6": "H5") : (${subSection>level} === 2 &amp;&amp; ${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.1"},"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":[]}}}}'
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.2"},"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