@sapui5/sap.fe.macros 1.111.1 → 1.111.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -25,7 +25,7 @@ sap.ui.define(["sap/fe/core/library", "sap/fe/macros/filter/type/MultiValue", "s
|
|
|
25
25
|
controls: [],
|
|
26
26
|
elements: [],
|
|
27
27
|
// eslint-disable-next-line no-template-curly-in-string
|
|
28
|
-
version: "1.111.
|
|
28
|
+
version: "1.111.3",
|
|
29
29
|
noLibraryCSS: true
|
|
30
30
|
});
|
|
31
31
|
thisLib.NavigationType = {
|
|
@@ -832,7 +832,7 @@ sap.ui.predefine("sap/fe/macros/kpiTag/KPITag.block", ["sap/fe/core/buildingBloc
|
|
|
832
832
|
* SAP UI development toolkit for HTML5 (SAPUI5)
|
|
833
833
|
* (c) Copyright 2009-2023 SAP SE. All rights reserved
|
|
834
834
|
*/
|
|
835
|
-
sap.ui.predefine("sap/fe/macros/library", ["sap/fe/core/library","sap/fe/macros/filter/type/MultiValue","sap/fe/macros/filter/type/Range","sap/fe/macros/macroLibrary","sap/ui/core/Core","sap/ui/core/Fragment","sap/ui/core/library","sap/ui/core/XMLTemplateProcessor","sap/ui/mdc/field/ConditionsType","sap/ui/mdc/library","sap/ui/unified/library"],function(e,a,r,i,n,o,s,t,p,c,l){"use strict";var u={};const f="sap.fe.macros";u.macrosNamespace=f;const y=n.initLibrary({name:"sap.fe.macros",dependencies:["sap.ui.core","sap.ui.mdc","sap.ui.unified","sap.fe.core"],types:["sap.fe.macros.NavigationType"],interfaces:[],controls:[],elements:[],version:"1.111.
|
|
835
|
+
sap.ui.predefine("sap/fe/macros/library", ["sap/fe/core/library","sap/fe/macros/filter/type/MultiValue","sap/fe/macros/filter/type/Range","sap/fe/macros/macroLibrary","sap/ui/core/Core","sap/ui/core/Fragment","sap/ui/core/library","sap/ui/core/XMLTemplateProcessor","sap/ui/mdc/field/ConditionsType","sap/ui/mdc/library","sap/ui/unified/library"],function(e,a,r,i,n,o,s,t,p,c,l){"use strict";var u={};const f="sap.fe.macros";u.macrosNamespace=f;const y=n.initLibrary({name:"sap.fe.macros",dependencies:["sap.ui.core","sap.ui.mdc","sap.ui.unified","sap.fe.core"],types:["sap.fe.macros.NavigationType"],interfaces:[],controls:[],elements:[],version:"1.111.3",noLibraryCSS:true});y.NavigationType={External:"External",InPage:"InPage",None:"None"};o.registerType("CUSTOM",{load:o.getType("XML").load,init:function(e){e.containingView={oController:e.containingView.getController()&&e.containingView.getController().getExtensionAPI(e.id)};for(var a=arguments.length,r=new Array(a>1?a-1:0),i=1;i<a;i++){r[i-1]=arguments[i]}return o.getType("XML").init.apply(this,[e,r])}});return y},false);
|
|
836
836
|
/*!
|
|
837
837
|
* SAP UI development toolkit for HTML5 (SAPUI5)
|
|
838
838
|
* (c) Copyright 2009-2023 SAP SE. All rights reserved
|
|
@@ -1132,7 +1132,7 @@ sap.ui.require.preload({
|
|
|
1132
1132
|
"sap/fe/macros/internal/valuehelp/ValueListFilterBar.fragment.xml":'<core:FragmentDefinition\n\txmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"\n\txmlns="sap.m"\n\txmlns:core="sap.ui.core"\n\txmlns:macro="sap.fe.macros.valuehelp"\n\ttemplate:require="{\n\t\tmacroLibrary: \'sap/fe/macros/macroLibrary\'\n\t}"\n><macro:ValueHelpFilterBar\n\t\tid="{source>id}::FilterBar"\n\t\tcontextPath="{contextPath>}"\n\t\t_valueList="{valueList>}"\n\t\tliveMode="false"\n\t\tenableFallback="true"\n\t\thideBasicSearch="true"\n\t/></core:FragmentDefinition>\n',
|
|
1133
1133
|
"sap/fe/macros/internal/valuehelp/ValueListTable.fragment.xml":'<core:FragmentDefinition\n\txmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"\n\txmlns:customdata="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"\n\txmlns:internalMacro="sap.fe.macros.internal"\n\ttemplate:require="{\n\t\tmacroLibrary: \'sap/fe/macros/macroLibrary\',\n\t\tMODEL: \'sap/ui/model/odata/v4/AnnotationHelper\',\n\t\tVLH: \'sap/fe/macros/internal/valuehelp/ValueListHelper\',\n\t\tValueHelpTemplating: \'sap/fe/macros/internal/valuehelp/ValueHelpTemplating\',\n\t\tProperty: \'sap/fe/core/templating/PropertyFormatters\',\n\t\tUI: \'sap/fe/core/templating/UIFormatters\'\n\t}"\n><Table\n\t\tid="{source>id}::SuggestTable"\n\t\titems="{parts: [{path:\'valueList>\'}, {path:\'source>/requestGroupId\'}, {path:\'source>/bSuggestion\'}, {path:\'source>/valueHelpWithFixedValues\'}], formatter:\'VLH.getTableItemsParameters\'}"\n\t\tsticky="ColumnHeaders"\n\t\tgrowing="{source>/valueHelpWithFixedValues}"\n\t\tgrowingScrollToLoad="{source>/valueHelpWithFixedValues}"\n\t><columns><template:repeat list="{path: \'valueList>Parameters\'}" var="parameter"><template:if\n\t\t\t\t\ttest="{= ${parameter>$Type} !== \'com.sap.vocabularies.Common.v1.ValueListParameterIn\' && ${parameter>$Type} !== \'com.sap.vocabularies.Common.v1.ValueListParameterConstant\'}"\n\t\t\t\t><template:with path="parameter>ValueListProperty" var="dataField" helper="VLH.getValueListProperty"><template:if test="{= !(${dataField>@com.sap.vocabularies.UI.v1.Hidden} === true)}"><Column\n\t\t\t\t\t\t\t\tvisible="{parts:[{path:\'valueList>\'}, {path:\'parameter>\'}, {path:\'source>\'}],formatter:\'VLH.getColumnVisibility\'}"\n\t\t\t\t\t\t\t\tminScreenWidth="{path:\'valueList>\',formatter:\'VLH.getMinScreenWidth\'}"\n\t\t\t\t\t\t\t\tdemandPopin="true"\n\t\t\t\t\t\t\t\tpopinDisplay="Inline"\n\t\t\t\t\t\t\t\thAlign="{= ValueHelpTemplating.getColumnHAlign(${dataField>@@UI.getDataModelObjectPath}) }"\n\t\t\t\t\t\t\t\twidth="{=VLH.getColumnWidth(${dataField>@@UI.getDataModelObjectPath})}"\n\t\t\t\t\t\t\t><template:if test="{= !(${source>valueHelpWithFixedValues} === true)}"><core:Fragment fragmentName="sap.fe.macros.internal.valuehelp.ValueListTableColumnHeader" type="XML" /></template:if></Column></template:if></template:with></template:if></template:repeat></columns><items><ColumnListItem type="Active" customdata:ensurePropertyLoaded="{= VLH.getOutParameterPaths(${valueList>Parameters}) }"><cells><template:with path="valueList>" helper="VLH.getValueListCollectionEntitySet" var="entitySet"><template:repeat list="{valueList>Parameters}" var="parameter"><template:if test="{= ${parameter>$Type} !== \'com.sap.vocabularies.Common.v1.ValueListParameterIn\'}"><template:with path="parameter>ValueListProperty" var="property" helper="VLH.getValueListProperty"><template:if test="{= !(${property>@com.sap.vocabularies.UI.v1.Hidden} === true)}"><internalMacro:Field editMode="Display" entitySet="{entitySet>}" dataField="{property>}"><internalMacro:formatOptions\n\t\t\t\t\t\t\t\t\t\t\t\tdisplayMode="{= ValueHelpTemplating.getValueHelpTableDisplayMode(${property>@@Property.getPropertyObjectPath}, ${source>valueHelpWithFixedValues}) }"\n\t\t\t\t\t\t\t\t\t\t\t/></internalMacro:Field></template:if></template:with></template:if></template:repeat></template:with></cells></ColumnListItem></items></Table></core:FragmentDefinition>\n',
|
|
1134
1134
|
"sap/fe/macros/internal/valuehelp/ValueListTableColumnHeader.fragment.xml":'<core:FragmentDefinition\n\txmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"\n\txmlns="sap.m"\n\txmlns:core="sap.ui.core"\n\ttemplate:require="{\n\t\tMODEL: \'sap/ui/model/odata/v4/AnnotationHelper\'\n\t}"\n><template:if test="{dataField>Label}"><template:then><Label text="{dataField>Label@@MODEL.value}" wrapping="true" wrappingType="Hyphenated" /></template:then><template:elseif test="{dataField>@com.sap.vocabularies.Common.v1.Label}"><Label text="{dataField>@com.sap.vocabularies.Common.v1.Label@@MODEL.value}" wrapping="true" wrappingType="Hyphenated" /></template:elseif><template:else><Label text="[{dataField>@sapui.name@@MODEL.value}]" wrapping="true" wrappingType="Hyphenated" /></template:else></template:if></core:FragmentDefinition>\n',
|
|
1135
|
-
"sap/fe/macros/manifest.json":'{"_version":"1.21.0","sap.app":{"id":"sap.fe.macros","type":"library","embeds":[],"applicationVersion":{"version":"1.111.
|
|
1135
|
+
"sap/fe/macros/manifest.json":'{"_version":"1.21.0","sap.app":{"id":"sap.fe.macros","type":"library","embeds":[],"applicationVersion":{"version":"1.111.3"},"title":"UI5 library: sap.fe.macros","description":"UI5 library: sap.fe.macros","ach":"CA-UI5-FE","resources":"resources.json","offline":true},"sap.ui":{"technology":"UI5","supportedThemes":[]},"sap.ui5":{"dependencies":{"libs":{"sap.m":{},"sap.suite.ui.microchart":{},"sap.ui.core":{},"sap.fe.core":{},"sap.ui.layout":{},"sap.ui.unified":{},"sap.ui.mdc":{}}},"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":[]}}}}',
|
|
1136
1136
|
"sap/fe/macros/microchart/MicroChart.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:control="sap.fe.core.controls"\n\txmlns:m="sap.m"\n\txmlns:oDataV4MicroChart="sap.fe.macros.microchart"\n\ttemplate:require="{\n\t\tMODEL: \'sap/ui/model/odata/v4/AnnotationHelper\',\n\t\tMICROCHART: \'sap/fe/macros/microchart/MicroChartHelper\',\n\t\tCOMMON: \'sap/fe/macros/CommonHelper\',\n\t\tUI: \'sap/fe/core/templating/UIFormatters\'\n\t}"\n><template:with path="metaPath>" helper="MODEL.resolve$Path" var="metaPath"><template:with path="metaPath>Measures/0" helper="COMMON.getMeasureAttributeForMeasure" var="DataPoint"><template:if test="{this>isAnalytics}"><template:then><control:ConditionalWrapper\n\t\t\t\t\t\tcondition="{= UI.hasValidAnalyticalCurrencyOrUnit(${DataPoint>Value/$Path@@UI.getDataModelObjectPath})}"\n\t\t\t\t\t\tvisible="{= !%{@$ui5.node.isExpanded} || %{@$ui5.node.level} === 0 }"\n\t\t\t\t\t><control:contentTrue><core:Fragment fragmentName="sap.fe.macros.microchart.fragments.MicroChartContent" type="XML" /></control:contentTrue><control:contentFalse><m:Text text="*" /></control:contentFalse></control:ConditionalWrapper></template:then><template:else><core:Fragment fragmentName="sap.fe.macros.microchart.fragments.MicroChartContent" type="XML" /></template:else></template:if></template:with></template:with></core:FragmentDefinition>\n',
|
|
1137
1137
|
"sap/fe/macros/microchart/fragments/AreaMicroChart.fragment.xml":'<core:FragmentDefinition\n\txmlns="sap.suite.ui.microchart"\n\txmlns:core="sap.ui.core"\n\txmlns:oDataV4MicroChart="sap.fe.macros.microchart"\n\txmlns:unittest="http://schemas.sap.com/sapui5/preprocessorextension/sap.fe.unittesting/1"\n\txmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"\n\ttemplate:require="{\n\t\tMODEL: \'sap/ui/model/odata/v4/AnnotationHelper\',\n\t\tMICROCHART: \'sap/fe/macros/microchart/MicroChartHelper\',\n\t\tID: \'sap/fe/core/helpers/StableIdHelper\'\n\t}"\n><template:if test="{= MICROCHART.shouldMicroChartRender(\'Area\', ${DataPoint>}, ${DataPoint>Value/$Path@}, ${metaPath>})}"><template:then><template:with path="DataPoint>Value/$Path" helper="MODEL.resolve$Path" var="Measure"><template:with path="metaPath>Dimensions/0/" var="Dimension"><oDataV4MicroChart:MicroChartContainer\n\t\t\t\t\t\tcore:require="{MICROCHARTR: \'sap/fe/macros/microchart/MicroChartHelper\' }"\n\t\t\t\t\t\tunittest:id="AreaMicroChartContainer"\n\t\t\t\t\t\tid="{= ${this>id} ? ID.generate([${this>id}, \'AreaMicroChart\']) : undefined }"\n\t\t\t\t\t\tshowOnlyChart="{this>showOnlyChart}"\n\t\t\t\t\t\tchartTitle="{= ${this>title} || ${metaPath>Title}}"\n\t\t\t\t\t\tchartDescription="{= ${this>description} || ${metaPath>Description}}"\n\t\t\t\t\t\tuomPath="{= MICROCHART.getUOMPathForMicrochart(${this>showOnlyChart}, ${Measure>@}) }"\n\t\t\t\t\t\tmeasures="{DataPoint>Value/$Path}"\n\t\t\t\t\t\tdimension="{= ${Dimension>$PropertyPath@com.sap.vocabularies.Common.v1.Text} ? ${Dimension>$PropertyPath@com.sap.vocabularies.Common.v1.Text/$Path} : ${Dimension>$PropertyPath} }"\n\t\t\t\t\t\tmeasurePrecision="{= ${DataPoint>Value/$Path/$Precision} ? ${DataPoint>Value/$Path/$Precision} : undefined }"\n\t\t\t\t\t\tmeasureScale="{= MICROCHART.getMeasureScaleForMicroChart(${DataPoint>}) }"\n\t\t\t\t\t\tdimensionPrecision="{= ${Dimension>$PropertyPath/$Precision} ? ${Dimension>$PropertyPath/$Precision} : undefined }"\n\t\t\t\t\t\tdataPointQualifiers="{= ${DataPoint>./@sapui.name}.indexOf(\'com.sap.vocabularies.UI.v1.DataPoint\') === -1 ? undefined : (${DataPoint>./@sapui.name}.indexOf(\'#\') > -1 ? ${DataPoint>./@sapui.name}.split(\'#\')[1] : \'\') }"\n\t\t\t\t\t\tbinding="{= ${this>batchGroupId} ? (\'{path:\\\'\\\', parameters : { $$groupId: \\\'\' + ${this>batchGroupId} + \'\\\'} }\') : undefined }"\n\t\t\t\t\t\tonTitlePressed="{this>onTitlePressed}"\n\t\t\t\t\t\tnavigationType="{this>navigationType}"\n\t\t\t\t\t\tcalendarPattern="{= ${Dimension>$PropertyPath/$Type} === \'Edm.Date\' ? \'yyyy-MM-dd\' : MICROCHART.getCalendarPattern(${Dimension>$PropertyPath@}) }"\n\t\t\t\t\t><template:if test="{= !${this>showOnlyChart} || (${this>showOnlyChart} !== \'true\' ? true : false)}"><core:Fragment fragmentName="sap.fe.macros.microchart.fragments.MicroChartTitle" type="XML" /></template:if><AreaMicroChart hideOnNoData="{this>hideOnNoData}" size="{this>size}"><chart><AreaMicroChartItem\n\t\t\t\t\t\t\t\t\tunittest:id="AreaMicroChartItem"\n\t\t\t\t\t\t\t\t\tpoints="{= MICROCHART.getAggregationForMicrochart(\'Points\', ${contextPath>}, ${DataPoint>}, ${contextPath>@sapui.name}, ${Dimension>}, ${Measure>@}) }"\n\t\t\t\t\t\t\t\t><points><AreaMicroChartPoint\n\t\t\t\t\t\t\t\t\t\t\tx="{= (${Dimension>$PropertyPath/$Type} === \'Edm.Date\' || (${Dimension>$PropertyPath/$Type} === \'Edm.String\' && MICROCHART.getCalendarPattern(${Dimension>$PropertyPath@}))) ? MICROCHART.getX(${Dimension>$PropertyPath}, ${Dimension>$PropertyPath/$Type}, ${Dimension>$PropertyPath@}) : ${Dimension>@@.MODEL.format} }"\n\t\t\t\t\t\t\t\t\t\t\ty="{DataPoint>Value@@.MODEL.value}"\n\t\t\t\t\t\t\t\t\t\t/></points></AreaMicroChartItem></chart><target><AreaMicroChartItem\n\t\t\t\t\t\t\t\t\tpoints="{= \'{path:\\\'\' + (${contextPath>$kind} === \'EntitySet\' ? \'/\' : \'\') + ${contextPath>@sapui.name} + \'\\\'}\' }"\n\t\t\t\t\t\t\t\t><points><AreaMicroChartPoint\n\t\t\t\t\t\t\t\t\t\t\tx="{= (${Dimension>$PropertyPath/$Type} === \'Edm.Date\' || (${Dimension>$PropertyPath/$Type} === \'Edm.String\' && MICROCHART.getCalendarPattern(${Dimension>$PropertyPath@}))) ? MICROCHART.getX(${Dimension>$PropertyPath}, ${Dimension>$PropertyPath/$Type}, ${Dimension>$PropertyPath@}) : ${Dimension>@@.MODEL.format} }"\n\t\t\t\t\t\t\t\t\t\t\ty="{DataPoint>TargetValue@@.MODEL.value}"\n\t\t\t\t\t\t\t\t\t\t/></points></AreaMicroChartItem></target><template:if test="{= ${this>showOnlyChart} !== true }"><firstXLabel><AreaMicroChartLabel /></firstXLabel><firstYLabel><AreaMicroChartLabel /></firstYLabel><lastXLabel><AreaMicroChartLabel /></lastXLabel><lastYLabel><AreaMicroChartLabel /></lastYLabel></template:if><template:if\n\t\t\t\t\t\t\t\ttest="{= ${DataPoint>CriticalityCalculation} && ${DataPoint>CriticalityCalculation/ImprovementDirection/$EnumMember} }"\n\t\t\t\t\t\t\t><template:with path="DataPoint>CriticalityCalculation" var="CriticalityCalculation"><template:if\n\t\t\t\t\t\t\t\t\t\ttest="{= ${CriticalityCalculation>ImprovementDirection/$EnumMember} === \'com.sap.vocabularies.UI.v1.ImprovementDirectionType/Minimize\'}"\n\t\t\t\t\t\t\t\t\t><template:then><minThreshold><AreaMicroChartItem\n\t\t\t\t\t\t\t\t\t\t\t\t\tcolor="Good"\n\t\t\t\t\t\t\t\t\t\t\t\t\tpoints="{= \'{path:\\\'\' + (${contextPath>$kind} === \'EntitySet\' ? \'/\' : \'\') + ${contextPath>@sapui.name} + \'\\\'}\' }"\n\t\t\t\t\t\t\t\t\t\t\t\t><points><AreaMicroChartPoint\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tx="{= (${Dimension>$PropertyPath/$Type} === \'Edm.Date\' || (${Dimension>$PropertyPath/$Type} === \'Edm.String\' && MICROCHART.getCalendarPattern(${Dimension>$PropertyPath@}))) ? MICROCHART.getX(${Dimension>$PropertyPath}, ${Dimension>$PropertyPath/$Type}, ${Dimension>$PropertyPath@}) : ${Dimension>@@.MODEL.format} }"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ty="{CriticalityCalculation>ToleranceRangeHighValue@@.MODEL.format}"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t/></points></AreaMicroChartItem></minThreshold><maxThreshold><AreaMicroChartItem\n\t\t\t\t\t\t\t\t\t\t\t\t\tcolor="Error"\n\t\t\t\t\t\t\t\t\t\t\t\t\tpoints="{= \'{path:\\\'\' + (${contextPath>$kind} === \'EntitySet\' ? \'/\' : \'\') + ${contextPath>@sapui.name} + \'\\\'}\' }"\n\t\t\t\t\t\t\t\t\t\t\t\t><points><AreaMicroChartPoint\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tx="{= (${Dimension>$PropertyPath/$Type} === \'Edm.Date\' || (${Dimension>$PropertyPath/$Type} === \'Edm.String\' && MICROCHART.getCalendarPattern(${Dimension>$PropertyPath@}))) ? MICROCHART.getX(${Dimension>$PropertyPath}, ${Dimension>$PropertyPath/$Type}, ${Dimension>$PropertyPath@}) : ${Dimension>@@.MODEL.format} }"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ty="{CriticalityCalculation>DeviationRangeHighValue@@.MODEL.format}"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t/></points></AreaMicroChartItem></maxThreshold></template:then><template:elseif\n\t\t\t\t\t\t\t\t\t\t\ttest="{= ${CriticalityCalculation>ImprovementDirection/$EnumMember} === \'com.sap.vocabularies.UI.v1.ImprovementDirectionType/Maximize\'}"\n\t\t\t\t\t\t\t\t\t\t><minThreshold><AreaMicroChartItem\n\t\t\t\t\t\t\t\t\t\t\t\t\tcolor="Error"\n\t\t\t\t\t\t\t\t\t\t\t\t\tpoints="{= \'{path:\\\'\' + (${contextPath>$kind} === \'EntitySet\' ? \'/\' : \'\') + ${contextPath>@sapui.name} + \'\\\'}\' }"\n\t\t\t\t\t\t\t\t\t\t\t\t><points><AreaMicroChartPoint\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tx="{= (${Dimension>$PropertyPath/$Type} === \'Edm.Date\' || (${Dimension>$PropertyPath/$Type} === \'Edm.String\' && MICROCHART.getCalendarPattern(${Dimension>$PropertyPath@}))) ? MICROCHART.getX(${Dimension>$PropertyPath}, ${Dimension>$PropertyPath/$Type}, ${Dimension>$PropertyPath@}) : ${Dimension>@@.MODEL.format} }"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ty="{CriticalityCalculation>DeviationRangeLowValue@@.MODEL.format}"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t/></points></AreaMicroChartItem></minThreshold><maxThreshold><AreaMicroChartItem\n\t\t\t\t\t\t\t\t\t\t\t\t\tcolor="Good"\n\t\t\t\t\t\t\t\t\t\t\t\t\tpoints="{= \'{path:\\\'\' + (${contextPath>$kind} === \'EntitySet\' ? \'/\' : \'\') + ${contextPath>@sapui.name} + \'\\\'}\' }"\n\t\t\t\t\t\t\t\t\t\t\t\t><points><AreaMicroChartPoint\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tx="{= (${Dimension>$PropertyPath/$Type} === \'Edm.Date\' || (${Dimension>$PropertyPath/$Type} === \'Edm.String\' && MICROCHART.getCalendarPattern(${Dimension>$PropertyPath@}))) ? MICROCHART.getX(${Dimension>$PropertyPath}, ${Dimension>$PropertyPath/$Type}, ${Dimension>$PropertyPath@}) : ${Dimension>@@.MODEL.format} }"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ty="{CriticalityCalculation>ToleranceRangeLowValue@@.MODEL.format}"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t/></points></AreaMicroChartItem></maxThreshold></template:elseif><template:elseif\n\t\t\t\t\t\t\t\t\t\t\ttest="{= ${CriticalityCalculation>ImprovementDirection/$EnumMember} === \'com.sap.vocabularies.UI.v1.ImprovementDirectionType/Target\'}"\n\t\t\t\t\t\t\t\t\t\t><minThreshold><AreaMicroChartItem\n\t\t\t\t\t\t\t\t\t\t\t\t\tcolor="Error"\n\t\t\t\t\t\t\t\t\t\t\t\t\tpoints="{= \'{path:\\\'\' + (${contextPath>$kind} === \'EntitySet\' ? \'/\' : \'\') + ${contextPath>@sapui.name} + \'\\\'}\' }"\n\t\t\t\t\t\t\t\t\t\t\t\t><points><AreaMicroChartPoint\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tx="{= (${Dimension>$PropertyPath/$Type} === \'Edm.Date\' || (${Dimension>$PropertyPath/$Type} === \'Edm.String\' && MICROCHART.getCalendarPattern(${Dimension>$PropertyPath@}))) ? MICROCHART.getX(${Dimension>$PropertyPath}, ${Dimension>$PropertyPath/$Type}, ${Dimension>$PropertyPath@}) : ${Dimension>@@.MODEL.format} }"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ty="{CriticalityCalculation>DeviationRangeLowValue@@.MODEL.format}"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t/></points></AreaMicroChartItem></minThreshold><maxThreshold><AreaMicroChartItem\n\t\t\t\t\t\t\t\t\t\t\t\t\tcolor="Error"\n\t\t\t\t\t\t\t\t\t\t\t\t\tpoints="{= \'{path:\\\'\' + (${contextPath>$kind} === \'EntitySet\' ? \'/\' : \'\') + ${contextPath>@sapui.name} + \'\\\'}\' }"\n\t\t\t\t\t\t\t\t\t\t\t\t><points><AreaMicroChartPoint\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tx="{= (${Dimension>$PropertyPath/$Type} === \'Edm.Date\' || (${Dimension>$PropertyPath/$Type} === \'Edm.String\' && MICROCHART.getCalendarPattern(${Dimension>$PropertyPath@}))) ? MICROCHART.getX(${Dimension>$PropertyPath}, ${Dimension>$PropertyPath/$Type}, ${Dimension>$PropertyPath@}) : ${Dimension>@@.MODEL.format} }"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ty="{CriticalityCalculation>DeviationRangeHighValue@@.MODEL.format}"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t/></points></AreaMicroChartItem></maxThreshold><innerMinThreshold><AreaMicroChartItem\n\t\t\t\t\t\t\t\t\t\t\t\t\tcolor="Good"\n\t\t\t\t\t\t\t\t\t\t\t\t\tpoints="{= \'{path:\\\'\' + (${contextPath>$kind} === \'EntitySet\' ? \'/\' : \'\') + ${contextPath>@sapui.name} + \'\\\'}\' }"\n\t\t\t\t\t\t\t\t\t\t\t\t><points><AreaMicroChartPoint\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tx="{= (${Dimension>$PropertyPath/$Type} === \'Edm.Date\' || (${Dimension>$PropertyPath/$Type} === \'Edm.String\' && MICROCHART.getCalendarPattern(${Dimension>$PropertyPath@}))) ? MICROCHART.getX(${Dimension>$PropertyPath}, ${Dimension>$PropertyPath/$Type}, ${Dimension>$PropertyPath@}) : ${Dimension>@@.MODEL.format} }"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ty="{CriticalityCalculation>ToleranceRangeLowValue@@.MODEL.format}"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t/></points></AreaMicroChartItem></innerMinThreshold><innerMaxThreshold><AreaMicroChartItem\n\t\t\t\t\t\t\t\t\t\t\t\t\tcolor="Good"\n\t\t\t\t\t\t\t\t\t\t\t\t\tpoints="{= \'{path:\\\'\' + (${contextPath>$kind} === \'EntitySet\' ? \'/\' : \'\') + ${contextPath>@sapui.name} + \'\\\'}\' }"\n\t\t\t\t\t\t\t\t\t\t\t\t><points><AreaMicroChartPoint\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tx="{= (${Dimension>$PropertyPath/$Type} === \'Edm.Date\' || (${Dimension>$PropertyPath/$Type} === \'Edm.String\' && MICROCHART.getCalendarPattern(${Dimension>$PropertyPath@}))) ? MICROCHART.getX(${Dimension>$PropertyPath}, ${Dimension>$PropertyPath/$Type}, ${Dimension>$PropertyPath@}) : ${Dimension>@@.MODEL.format} }"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ty="{CriticalityCalculation>ToleranceRangeHighValue@@.MODEL.format}"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t/></points></AreaMicroChartItem></innerMaxThreshold></template:elseif></template:if></template:with></template:if></AreaMicroChart></oDataV4MicroChart:MicroChartContainer></template:with></template:with></template:then><template:elseif\n\t\t\ttest="{= MICROCHART.logWarning(\'Area\', { DataPoint_Value : ${DataPoint>Value}, Dimension : ${metaPath>Dimensions/0/$PropertyPath}, CriticalityCalculation : (${DataPoint>CriticalityCalculation} && ${DataPoint>CriticalityCalculation/ImprovementDirection/$EnumMember}) }) }"\n\t\t/></template:if></core:FragmentDefinition>\n',
|
|
1138
1138
|
"sap/fe/macros/microchart/fragments/BulletMicroChart.fragment.xml":'<core:FragmentDefinition\n\txmlns="sap.suite.ui.microchart"\n\txmlns:core="sap.ui.core"\n\txmlns:oDataV4MicroChart="sap.fe.macros.microchart"\n\txmlns:unittest="http://schemas.sap.com/sapui5/preprocessorextension/sap.fe.unittesting/1"\n\txmlns:template="http://schemas.sap.com/sapui5/extension/sap.ui.core.template/1"\n\ttemplate:require="{\n\t\tMODEL: \'sap/ui/model/odata/v4/AnnotationHelper\',\n\t\tMICROCHART: \'sap/fe/macros/microchart/MicroChartHelper\',\n\t\tCRIT: \'sap/fe/core/templating/CriticalityFormatters\',\n\t\tCOMMON: \'sap/fe/macros/CommonHelper\',\n\t\tUI: \'sap/fe/core/templating/UIFormatters\',\n\t\tID: \'sap/fe/core/helpers/StableIdHelper\'\n\t}"\n><template:if test="{= MICROCHART.shouldMicroChartRender(\'Bullet\', ${DataPoint>}, ${DataPoint>Value/$Path@})}"><template:then><template:with path="DataPoint>Value/$Path" helper="MODEL.resolve$Path" var="Measure"><oDataV4MicroChart:MicroChartContainer\n\t\t\t\t\tunittest:id="BulletMicroChartContainer"\n\t\t\t\t\tid="{= ${this>id} ? ID.generate([${this>id}, \'BulletMicroChart\']) : undefined }"\n\t\t\t\t\tshowOnlyChart="{this>showOnlyChart}"\n\t\t\t\t\tchartTitle="{= ${this>title} || ${metaPath>Title}}"\n\t\t\t\t\tchartDescription="{= ${this>description} || ${metaPath>Description}}"\n\t\t\t\t\tuomPath="{= MICROCHART.getUOMPathForMicrochart(${this>showOnlyChart}, ${Measure>@}) }"\n\t\t\t\t\tbinding="{= MICROCHART.getBindingExpressionForMicrochart(\'Bullet\', ${Measure>@}, ${this>}, ${contextPath>}, ${contextPath>@sapui.name}) }"\n\t\t\t\t\tvisible="{= MICROCHART.getHiddenPathExpression(${DataPoint>Value/$Path@com.sap.vocabularies.UI.v1.Hidden}) }"\n\t\t\t\t\tnavigationType="{this>navigationType}"\n\t\t\t\t\tonTitlePressed="{this>onTitlePressed}"\n\t\t\t\t><template:if test="{= !${this>showOnlyChart} || (${this>showOnlyChart} !== \'true\' ? true : false)}"><core:Fragment fragmentName="sap.fe.macros.microchart.fragments.MicroChartTitle" type="XML" /></template:if><BulletMicroChart\n\t\t\t\t\t\tunittest:id="BulletMicroChart"\n\t\t\t\t\t\ttargetValue="{DataPoint>TargetValue@@MODEL.value}"\n\t\t\t\t\t\tforecastValue="{DataPoint>ForecastValue@@MODEL.value}"\n\t\t\t\t\t\tmaxValue="{DataPoint>MaximumValue@@MODEL.format}"\n\t\t\t\t\t\tminValue="{DataPoint>MinimumValue@@MODEL.format}"\n\t\t\t\t\t\tactualValueLabel="{= MICROCHART.formatDecimal(${DataPoint>Value/$Path}, ${DataPoint>Value/$Path/$}, (${DataPoint>ValueFormat} && ${DataPoint>ValueFormat/NumberOfFractionalDigits})) }"\n\t\t\t\t\t\ttargetValueLabel="{= MICROCHART.formatDecimal(${DataPoint>TargetValue/$Path}, ${DataPoint>TargetValue/$Path/$}, (${DataPoint>ValueFormat} && ${DataPoint>ValueFormat/NumberOfFractionalDigits})) }"\n\t\t\t\t\t\tshowDeltaValue="{= ${DataPoint>Visualization/$EnumMember} && ${DataPoint>Visualization/$EnumMember}.indexOf(\'DeltaBulletChart\') > -1 }"\n\t\t\t\t\t\tmode="{= ${DataPoint>Visualization/$EnumMember} && ${DataPoint>Visualization/$EnumMember}.indexOf(\'DeltaBulletChart\') > -1 ? \'Delta\' : undefined }"\n\t\t\t\t\t\tsize="{this>size}"\n\t\t\t\t\t\thideOnNoData="{this>hideOnNoData}"\n\t\t\t\t\t><template:if\n\t\t\t\t\t\t\ttest="{= ${DataPoint>Criticality} || (!${DataPoint>Criticality} && !${DataPoint>CriticalityCalculation}) }"\n\t\t\t\t\t\t><template:then><actual><BulletMicroChartData\n\t\t\t\t\t\t\t\t\t\tunittest:id="BulletMicroChartData"\n\t\t\t\t\t\t\t\t\t\tvalue="{DataPoint>Value@@MODEL.value}"\n\t\t\t\t\t\t\t\t\t\tcolor="{= ${DataPoint>Criticality} ? CRIT.buildExpressionForCriticalityColorMicroChart(${DataPoint>@@UI.getDataModelObjectPath}) : undefined }"\n\t\t\t\t\t\t\t\t\t/></actual></template:then><template:else><template:with path="DataPoint>CriticalityCalculation" var="CriticalityCalculation"><template:with path="DataPoint>CriticalityCalculation/ImprovementDirection/$EnumMember" var="Direction"><actual><BulletMicroChartData\n\t\t\t\t\t\t\t\t\t\t\t\tvalue="{DataPoint>Value@@MODEL.value}"\n\t\t\t\t\t\t\t\t\t\t\t\tcolor="{= COMMON.getCriticalityCalculationBinding(${Direction>},\n\t\t\t\t\t\t\t\t\t${DataPoint>Value@@MODEL.value},\n\t\t\t\t\t\t\t\t\t${CriticalityCalculation>DeviationRangeLowValue@@MODEL.format},\n\t\t\t\t\t\t\t\t\t${CriticalityCalculation>ToleranceRangeLowValue@@MODEL.format},\n\t\t\t\t\t\t\t\t\t${CriticalityCalculation>AcceptanceRangeLowValue@@MODEL.format},\n\t\t\t\t\t\t\t\t\t${CriticalityCalculation>AcceptanceRangeHighValue@@MODEL.format},\n\t\t\t\t\t\t\t\t\t${CriticalityCalculation>ToleranceRangeHighValue@@MODEL.format},\n\t\t\t\t\t\t\t\t\t${CriticalityCalculation>DeviationRangeHighValue@@MODEL.format}) }"\n\t\t\t\t\t\t\t\t\t\t\t/></actual><thresholds><template:if\n\t\t\t\t\t\t\t\t\t\t\t\ttest="{= ${Direction>}.indexOf(\'Minimize\') === -1 && ${CriticalityCalculation>DeviationRangeLowValue} }"\n\t\t\t\t\t\t\t\t\t\t\t><BulletMicroChartData\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue="{CriticalityCalculation>DeviationRangeLowValue@@MODEL.format}"\n\t\t\t\t\t\t\t\t\t\t\t\t\tcolor="{CriticalityCalculation>DeviationRangeLowValue@@MICROCHART.getThresholdColor}"\n\t\t\t\t\t\t\t\t\t\t\t\t/></template:if><template:if\n\t\t\t\t\t\t\t\t\t\t\t\ttest="{= ${Direction>}.indexOf(\'Minimize\') === -1 && ${CriticalityCalculation>ToleranceRangeLowValue} }"\n\t\t\t\t\t\t\t\t\t\t\t><BulletMicroChartData\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue="{CriticalityCalculation>ToleranceRangeLowValue@@MODEL.format}"\n\t\t\t\t\t\t\t\t\t\t\t\t\tcolor="{CriticalityCalculation>ToleranceRangeLowValue@@MICROCHART.getThresholdColor}"\n\t\t\t\t\t\t\t\t\t\t\t\t/></template:if><template:if\n\t\t\t\t\t\t\t\t\t\t\t\ttest="{= ${Direction>}.indexOf(\'Maximize\') === -1 && ${CriticalityCalculation>ToleranceRangeHighValue} }"\n\t\t\t\t\t\t\t\t\t\t\t><BulletMicroChartData\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue="{CriticalityCalculation>ToleranceRangeHighValue@@MODEL.format}"\n\t\t\t\t\t\t\t\t\t\t\t\t\tcolor="{CriticalityCalculation>ToleranceRangeHighValue@@MICROCHART.getThresholdColor}"\n\t\t\t\t\t\t\t\t\t\t\t\t/></template:if><template:if\n\t\t\t\t\t\t\t\t\t\t\t\ttest="{= ${Direction>}.indexOf(\'Maximize\') === -1 && ${CriticalityCalculation>DeviationRangeHighValue} }"\n\t\t\t\t\t\t\t\t\t\t\t><BulletMicroChartData\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue="{CriticalityCalculation>DeviationRangeHighValue@@MODEL.format}"\n\t\t\t\t\t\t\t\t\t\t\t\t\tcolor="{CriticalityCalculation>DeviationRangeHighValue@@MICROCHART.getThresholdColor}"\n\t\t\t\t\t\t\t\t\t\t\t\t/></template:if></thresholds></template:with></template:with></template:else></template:if></BulletMicroChart></oDataV4MicroChart:MicroChartContainer></template:with></template:then><template:elseif test="{= MICROCHART.logWarning(\'Bullet\', { DataPoint_Value : ${DataPoint>Value} }) }" /></template:if></core:FragmentDefinition>\n',
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
* SAP UI development toolkit for HTML5 (SAPUI5)
|
|
3
3
|
* (c) Copyright 2009-2023 SAP SE. All rights reserved
|
|
4
4
|
*/
|
|
5
|
-
sap.ui.define(["sap/fe/core/library","sap/fe/macros/filter/type/MultiValue","sap/fe/macros/filter/type/Range","sap/fe/macros/macroLibrary","sap/ui/core/Core","sap/ui/core/Fragment","sap/ui/core/library","sap/ui/core/XMLTemplateProcessor","sap/ui/mdc/field/ConditionsType","sap/ui/mdc/library","sap/ui/unified/library"],function(e,a,r,i,n,o,s,t,p,c,l){"use strict";var u={};const f="sap.fe.macros";u.macrosNamespace=f;const y=n.initLibrary({name:"sap.fe.macros",dependencies:["sap.ui.core","sap.ui.mdc","sap.ui.unified","sap.fe.core"],types:["sap.fe.macros.NavigationType"],interfaces:[],controls:[],elements:[],version:"1.111.
|
|
5
|
+
sap.ui.define(["sap/fe/core/library","sap/fe/macros/filter/type/MultiValue","sap/fe/macros/filter/type/Range","sap/fe/macros/macroLibrary","sap/ui/core/Core","sap/ui/core/Fragment","sap/ui/core/library","sap/ui/core/XMLTemplateProcessor","sap/ui/mdc/field/ConditionsType","sap/ui/mdc/library","sap/ui/unified/library"],function(e,a,r,i,n,o,s,t,p,c,l){"use strict";var u={};const f="sap.fe.macros";u.macrosNamespace=f;const y=n.initLibrary({name:"sap.fe.macros",dependencies:["sap.ui.core","sap.ui.mdc","sap.ui.unified","sap.fe.core"],types:["sap.fe.macros.NavigationType"],interfaces:[],controls:[],elements:[],version:"1.111.3",noLibraryCSS:true});y.NavigationType={External:"External",InPage:"InPage",None:"None"};o.registerType("CUSTOM",{load:o.getType("XML").load,init:function(e){e.containingView={oController:e.containingView.getController()&&e.containingView.getController().getExtensionAPI(e.id)};for(var a=arguments.length,r=new Array(a>1?a-1:0),i=1;i<a;i++){r[i-1]=arguments[i]}return o.getType("XML").init.apply(this,[e,r])}});return y},false);
|
|
6
6
|
//# sourceMappingURL=library.js.map
|