@sapui5/sap.suite.ui.commons 1.149.0 → 1.150.0

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.
Files changed (104) hide show
  1. package/package.json +1 -1
  2. package/src/sap/suite/ui/commons/.library +1 -1
  3. package/src/sap/suite/ui/commons/AriaProperties.js +1 -1
  4. package/src/sap/suite/ui/commons/CalculationBuilder.js +1 -1
  5. package/src/sap/suite/ui/commons/CalculationBuilderExpression.js +1 -1
  6. package/src/sap/suite/ui/commons/CalculationBuilderFunction.js +1 -1
  7. package/src/sap/suite/ui/commons/CalculationBuilderGroup.js +1 -1
  8. package/src/sap/suite/ui/commons/CalculationBuilderItem.js +1 -1
  9. package/src/sap/suite/ui/commons/CalculationBuilderValidationResult.js +1 -1
  10. package/src/sap/suite/ui/commons/CalculationBuilderVariable.js +1 -1
  11. package/src/sap/suite/ui/commons/ChartContainer.js +35 -3
  12. package/src/sap/suite/ui/commons/CloudFilePicker.js +1 -1
  13. package/src/sap/suite/ui/commons/MicroProcessFlow.js +1 -1
  14. package/src/sap/suite/ui/commons/MicroProcessFlowItem.js +1 -1
  15. package/src/sap/suite/ui/commons/TimelineItem.js +11 -2
  16. package/src/sap/suite/ui/commons/TimelineRenderManager.js +8 -4
  17. package/src/sap/suite/ui/commons/collaboration/ContactHelper.js +78 -1
  18. package/src/sap/suite/ui/commons/collaboration/ContactPopover.fragment.xml +4 -1
  19. package/src/sap/suite/ui/commons/collaboration/TeamsHelperService.js +69 -2
  20. package/src/sap/suite/ui/commons/collaboration/flpplugins/msplugin/Component-preload.js +2 -2
  21. package/src/sap/suite/ui/commons/flexibility/changeHandler/PropertyChangeMapper.js +1 -1
  22. package/src/sap/suite/ui/commons/imageeditor/CropCustomShapeHistoryItem.js +1 -1
  23. package/src/sap/suite/ui/commons/imageeditor/CropEllipseHistoryItem.js +1 -1
  24. package/src/sap/suite/ui/commons/imageeditor/CropRectangleHistoryItem.js +1 -1
  25. package/src/sap/suite/ui/commons/imageeditor/CustomSizeItem.js +1 -1
  26. package/src/sap/suite/ui/commons/imageeditor/FilterHistoryItem.js +1 -1
  27. package/src/sap/suite/ui/commons/imageeditor/FlipHistoryItem.js +1 -1
  28. package/src/sap/suite/ui/commons/imageeditor/HistoryItem.js +1 -1
  29. package/src/sap/suite/ui/commons/imageeditor/ImageEditor.js +1 -1
  30. package/src/sap/suite/ui/commons/imageeditor/ImageEditorContainer.js +1 -1
  31. package/src/sap/suite/ui/commons/imageeditor/ImageEditorResponsiveContainer.js +1 -1
  32. package/src/sap/suite/ui/commons/imageeditor/ResizeHistoryItem.js +1 -1
  33. package/src/sap/suite/ui/commons/imageeditor/RotateHistoryItem.js +1 -1
  34. package/src/sap/suite/ui/commons/library.js +1 -1
  35. package/src/sap/suite/ui/commons/messagebundle.properties +4 -0
  36. package/src/sap/suite/ui/commons/messagebundle_ar.properties +2 -0
  37. package/src/sap/suite/ui/commons/messagebundle_bg.properties +2 -0
  38. package/src/sap/suite/ui/commons/messagebundle_ca.properties +2 -0
  39. package/src/sap/suite/ui/commons/messagebundle_cnr.properties +2 -0
  40. package/src/sap/suite/ui/commons/messagebundle_cs.properties +2 -0
  41. package/src/sap/suite/ui/commons/messagebundle_cy.properties +2 -0
  42. package/src/sap/suite/ui/commons/messagebundle_da.properties +2 -0
  43. package/src/sap/suite/ui/commons/messagebundle_de.properties +2 -0
  44. package/src/sap/suite/ui/commons/messagebundle_el.properties +2 -0
  45. package/src/sap/suite/ui/commons/messagebundle_en.properties +2 -0
  46. package/src/sap/suite/ui/commons/messagebundle_en_GB.properties +2 -0
  47. package/src/sap/suite/ui/commons/messagebundle_en_US_sappsd.properties +117 -30
  48. package/src/sap/suite/ui/commons/messagebundle_en_US_saprigi.properties +2 -0
  49. package/src/sap/suite/ui/commons/messagebundle_es.properties +2 -0
  50. package/src/sap/suite/ui/commons/messagebundle_es_MX.properties +2 -0
  51. package/src/sap/suite/ui/commons/messagebundle_et.properties +2 -0
  52. package/src/sap/suite/ui/commons/messagebundle_fi.properties +2 -0
  53. package/src/sap/suite/ui/commons/messagebundle_fr.properties +2 -0
  54. package/src/sap/suite/ui/commons/messagebundle_fr_CA.properties +2 -0
  55. package/src/sap/suite/ui/commons/messagebundle_hi.properties +2 -0
  56. package/src/sap/suite/ui/commons/messagebundle_hr.properties +2 -0
  57. package/src/sap/suite/ui/commons/messagebundle_hu.properties +2 -0
  58. package/src/sap/suite/ui/commons/messagebundle_id.properties +2 -0
  59. package/src/sap/suite/ui/commons/messagebundle_it.properties +7 -5
  60. package/src/sap/suite/ui/commons/messagebundle_iw.properties +2 -0
  61. package/src/sap/suite/ui/commons/messagebundle_ja.properties +2 -0
  62. package/src/sap/suite/ui/commons/messagebundle_kk.properties +2 -0
  63. package/src/sap/suite/ui/commons/messagebundle_ko.properties +2 -0
  64. package/src/sap/suite/ui/commons/messagebundle_lt.properties +2 -0
  65. package/src/sap/suite/ui/commons/messagebundle_lv.properties +2 -0
  66. package/src/sap/suite/ui/commons/messagebundle_mk.properties +2 -0
  67. package/src/sap/suite/ui/commons/messagebundle_ms.properties +2 -0
  68. package/src/sap/suite/ui/commons/messagebundle_nl.properties +2 -0
  69. package/src/sap/suite/ui/commons/messagebundle_no.properties +3 -1
  70. package/src/sap/suite/ui/commons/messagebundle_pl.properties +2 -0
  71. package/src/sap/suite/ui/commons/messagebundle_pt.properties +2 -0
  72. package/src/sap/suite/ui/commons/messagebundle_pt_PT.properties +2 -0
  73. package/src/sap/suite/ui/commons/messagebundle_ro.properties +2 -0
  74. package/src/sap/suite/ui/commons/messagebundle_ru.properties +2 -0
  75. package/src/sap/suite/ui/commons/messagebundle_sh.properties +2 -0
  76. package/src/sap/suite/ui/commons/messagebundle_sk.properties +2 -0
  77. package/src/sap/suite/ui/commons/messagebundle_sl.properties +2 -0
  78. package/src/sap/suite/ui/commons/messagebundle_sr.properties +2 -0
  79. package/src/sap/suite/ui/commons/messagebundle_sv.properties +2 -0
  80. package/src/sap/suite/ui/commons/messagebundle_th.properties +2 -0
  81. package/src/sap/suite/ui/commons/messagebundle_tr.properties +2 -0
  82. package/src/sap/suite/ui/commons/messagebundle_uk.properties +2 -0
  83. package/src/sap/suite/ui/commons/messagebundle_vi.properties +2 -0
  84. package/src/sap/suite/ui/commons/messagebundle_zh_CN.properties +2 -0
  85. package/src/sap/suite/ui/commons/messagebundle_zh_TW.properties +2 -0
  86. package/src/sap/suite/ui/commons/networkgraph/Node.js +15 -3
  87. package/src/sap/suite/ui/commons/networkgraph/Tooltip.js +3 -0
  88. package/src/sap/suite/ui/commons/statusindicator/Circle.js +1 -1
  89. package/src/sap/suite/ui/commons/statusindicator/CustomShape.js +1 -1
  90. package/src/sap/suite/ui/commons/statusindicator/DiscreteThreshold.js +1 -1
  91. package/src/sap/suite/ui/commons/statusindicator/FillingOption.js +1 -1
  92. package/src/sap/suite/ui/commons/statusindicator/LibraryShape.js +1 -1
  93. package/src/sap/suite/ui/commons/statusindicator/Path.js +1 -1
  94. package/src/sap/suite/ui/commons/statusindicator/PropertyThreshold.js +1 -1
  95. package/src/sap/suite/ui/commons/statusindicator/Rectangle.js +1 -1
  96. package/src/sap/suite/ui/commons/statusindicator/Shape.js +1 -1
  97. package/src/sap/suite/ui/commons/statusindicator/ShapeGroup.js +1 -1
  98. package/src/sap/suite/ui/commons/statusindicator/SimpleShape.js +1 -1
  99. package/src/sap/suite/ui/commons/statusindicator/StatusIndicator.js +1 -1
  100. package/src/sap/suite/ui/commons/taccount/TAccount.js +1 -1
  101. package/src/sap/suite/ui/commons/taccount/TAccountGroup.js +1 -1
  102. package/src/sap/suite/ui/commons/taccount/TAccountItem.js +1 -1
  103. package/src/sap/suite/ui/commons/taccount/TAccountItemProperty.js +1 -1
  104. package/src/sap/suite/ui/commons/taccount/TAccountPanel.js +1 -1
@@ -18,13 +18,13 @@ sap.ui.require.preload({
18
18
  sap.ui.define(["sap/base/Log","sap/ui/core/Core","./BaseHelperService","sap/ui/Device","sap/ui/core/Lib","sap/suite/ui/commons/collaboration/channels/MessageChannel"],function(e,o,a,s,t,i){var n=a.extend("sap.suite.ui.commons.collaboration.CollaborationManagerService");var r=t.getResourceBundleFor("sap.suite.ui.commons");var l=e.getLogger("sap.suite.ui.commons.collaboration.CollaborationManagerService");n.prototype.triggerH2HChat=function(e,o,a){this.publishData({sAppTitle:e,sCurrentURL:o,sEmailId:a})};n.prototype.getOptions=function(){var e=window["sap-ushell-config"]&&window["sap-ushell-config"].bootstrapPlugins&&window["sap-ushell-config"].bootstrapPlugins.H2H_CHAT_PLUGIN;if(s.system.desktop){if(e){return{text:r.getText("COLLABORATION_MANGER"),icon:"sap-icon://BusinessSuiteInAppSymbols/icon-collaboration-manager",press:this.triggerH2HChat.bind(this),fesrStepName:"CM:ShareLink"}}else{l.info("Consumer disable Collaboration Manager option")}}else{l.info("Collaboration Manager is not supported in Phone and Tablet")}return null};n.prototype.publishData=async function(e){try{const o=await i.getInstance();o.postMessage(e)}catch(e){l.error("Failed to publish data:",e)}};return n});
19
19
  },
20
20
  "sap/suite/ui/commons/collaboration/ContactHelper.js":function(){
21
- sap.ui.define(["sap/ui/core/mvc/Controller","sap/ui/core/Fragment","sap/ui/model/json/JSONModel","sap/m/library","sap/ui/core/Lib","sap/ui/core/Core","sap/ui/model/resource/ResourceModel","./CollaborationContactInfoHelper","sap/ui/performance/trace/FESRHelper","sap/ui/core/Element"],function(e,t,a,o,s,i,n,r,c,l){var u=s.getResourceBundleFor("sap.suite.ui.commons");return e.extend("sap.suite.ui.commons.collaboration.ContactHelper",{constructor:function(){},getFullProfileByEmail:async function(e){var t=await r.fetchContact(e);if(t&&t.mail===""){return t}if(t&&t.data!=""){t.photo="data:image/png;base64,"+t.data}t=this.determineContactStatus(t);return t},getTeamsContactOptions:function(){var e=this;return Promise.resolve([{key:"chat",icon:"sap-icon://discussion",tooltip:u.getText("CHAT_BUTTON_TOOLTIP"),fesrStepName:"MST:ContactAction",callBackHandler:function(t){e.handleMSTeamsPress(t)}},{key:"call",icon:"sap-icon://call",tooltip:u.getText("CALL_BUTTON_TOOLTIP"),fesrStepName:"MST:ContactAction",callBackHandler:function(t){e.handleMSTeamsPress(t)}},{key:"videoCall",icon:"sap-icon://video",tooltip:u.getText("VIDEOCALL_BUTTON_TOOLTIP"),fesrStepName:"MST:ContactAction",callBackHandler:function(t){e.handleMSTeamsPress(t)}}])},getTeamsContactStatus:async function(e){let t={calendar:[]};if(e){const a=await Promise.all([r.fetchContact(e),r.fetchContactCalendar(e)]);t=a[0];t.calendar=a[1]}const a=this.determineContactStatus(t);return[{key:"profileStatus",badgeIcon:a.badgeIcon,badgeValueState:a.badgeValueState,badgeTooltip:a.badgeTooltip,fesrStepName:"MST:ContactAction",calendar:a.calendar}]},handleMSTeamsPress:function(e){var t=e.getSource().data("email");var a=e.getSource().data("type");var s="";switch(a){case"chat":s="https://teams.microsoft.com/l/chat/0/0?users="+t;break;case"call":s="https://teams.microsoft.com/l/call/0/0?users="+t;break;case"videoCall":s="https://teams.microsoft.com/l/call/0/0?users="+t+"&withVideo=true";break;default:break}o.URLHelper.redirect(s,true)},formatUri:function(e,t){var a=/^\w+[\w-+\.]*\@\w+([-\.]\w+)*\.[a-zA-Z]{2,}$/;if(a.test(e)){return"mailto:"+e+(t&&t.subject?"?subject="+t.subject:"")+(t&&t.body?"&body="+t.body:"")}else{return"tel:"+e}},loadContactPopover:function(e,o,s){this.afterClose();return t.load({name:"sap.suite.ui.commons.collaboration.ContactPopover",controller:this,type:"XML"}).then(function(t){c.setSemanticStepname(t,"afterClose","MST:ContactDetails");this._oContactPopover=t;this.sEmail=e;this.oParams=o;t.setBusy(true);var i={setFamily:"tnt",setURI:sap.ui.require.toUrl("sap/tnt/themes/base/illustrations")};sap.m.IllustrationPool.registerIllustrationSet(i,false);var n=new a({isUserExistsInTeams:true});this._oContactPopover.setModel(n,"userData");this.isDirectCommunicationEnabled=s;this._oContactPopover.setModel(new sap.ui.model.resource.ResourceModel({bundle:u}),"i18n");return t}.bind(this))},loadMinimalContactPopover:function(e,o){this.afterClose();var s=new a({mail:e,params:o});return t.load({name:"sap.suite.ui.commons.collaboration.MinimalContactPopover",controller:this,type:"XML"}).then(function(e){this._oMinContactPopover=e;c.setSemanticStepname(e,"afterClose","MST:ContactDetails");e.setModel(s,"userData");e.setModel(new sap.ui.model.resource.ResourceModel({bundle:u}),"i18n");return e}.bind(this))},afterClose:function(){if(this._oContactPopover){this._oContactPopover.destroy()}if(this._oMinContactPopover){this._oMinContactPopover.destroy()}},afterOpen:function(){var e=this;this.getFullProfileByEmail(this.sEmail).then(function(t){e._oContactPopover.setBusy(false);if(t&&t.mail===""){t.isUserExistsInTeams=false;t.mail=e.sEmail;t.params=e.oParams;e._oContactPopover.setInitialFocus(l.getElementById("mail"))}else{t.isUserExistsInTeams=true;t.isDirectCommunicationEnabled=!!e.isDirectCommunicationEnabled;e._oContactPopover.setInitialFocus(l.getElementById("avatar"))}var o=new a(t);o.setData(t);e._oContactPopover.setModel(o,"userData");c.setSemanticStepname(e._oContactPopover,"afterClose","MST:ContactDetails")})},afterContinue:function(){var e=this.formatUri(this.sEmail,this.oParams);o.URLHelper.redirect(e,true)},determineContactStatus:function(e){const t=new Map([["OOO",{badgeValueState:"Information",badgeIcon:"sap-icon://offsite-work"}],["BUSYOOO",{badgeValueState:"Error",badgeIcon:"sap-icon://circle-task"}],["ONLINEOOO",{badgeValueState:"Success",badgeIcon:"sap-icon://sys-enter"}],["AVAILABLE",{badgeValueState:"Success",badgeIcon:"sap-icon://sys-enter-2"}],["AWAY",{badgeValueState:"Warning",badgeIcon:"sap-icon://pending"}],["BUSY",{badgeValueState:"Error",badgeIcon:"sap-icon://circle-task-2"}],["PRESENTING",{badgeValueState:"Error",badgeIcon:"sap-icon://sys-minus"}],["OFFLINE",{badgeValueState:"Error",badgeIcon:"sap-icon://message-error"}]]);const a=new Map([["Available","AVAILABLE"],["Away","AWAY"],["Inactive","AWAY"],["Busy","BUSY"],["DoNotDisturb","PRESENTING"],["InACall","BUSY"],["InAMeeting","BUSY"],["Presenting","PRESENTING"],["BeRightBack","AWAY"],["OffWork","OFFLINE"],["Offline","OFFLINE"]]);let o={};if(!!e.isoutofoffice){if(e.activity==="Available"){o=t.get("ONLINEOOO");o.badgeTooltip=`${u.getText("AVAILABLE")}, ${u.getText("OOO")}`}else if(e.activity==="Busy"){o=t.get("BUSYOOO");o.badgeTooltip=`${u.getText("BUSY")}, ${u.getText("OOO")}`}else if(e.activity==="DoNotDisturb"){o=t.get("PRESENTING");o.badgeTooltip=`${u.getText("DONOTDISTURB")}, ${u.getText("OOO")}`}else{o=t.get("OOO");o.badgeTooltip=u.getText("OOO")}}else{const s=e.activity?a.get(e.activity):"OFFLINE";o=t.get(s);o.badgeTooltip=u.getText(e.activity.toUpperCase())}Object.assign(e,o);return e},handleCopyEmailPress:function(){if(typeof window!=="undefined"&&window.navigator&&window.navigator.clipboard&&window.navigator.clipboard.writeText){window.navigator.clipboard.writeText(this.sEmail)}}})});
21
+ sap.ui.define(["sap/ui/core/mvc/Controller","sap/ui/core/Fragment","sap/ui/model/json/JSONModel","sap/m/library","sap/m/MessageToast","sap/ui/core/Lib","sap/ui/core/Core","sap/ui/model/resource/ResourceModel","./CollaborationContactInfoHelper","sap/ui/performance/trace/FESRHelper","sap/ui/core/Element","./TeamsHelperService"],function(e,t,a,o,s,i,n,r,c,l,u,p){var h=i.getResourceBundleFor("sap.suite.ui.commons");return e.extend("sap.suite.ui.commons.collaboration.ContactHelper",{constructor:function(){},getFullProfileByEmail:async function(e){var t=await c.fetchContact(e);if(t&&t.mail===""){return t}if(t&&t.data!=""){t.photo="data:image/png;base64,"+t.data}t=this.determineContactStatus(t);return t},getTeamsContactOptions:function(){var e=this;return Promise.resolve([{key:"chat",icon:"sap-icon://discussion",tooltip:h.getText("CHAT_BUTTON_TOOLTIP"),fesrStepName:"MST:ContactAction",callBackHandler:function(t){e.handleMSTeamsPress(t)}},{key:"call",icon:"sap-icon://call",tooltip:h.getText("CALL_BUTTON_TOOLTIP"),fesrStepName:"MST:ContactAction",callBackHandler:function(t){e.handleMSTeamsPress(t)}},{key:"videoCall",icon:"sap-icon://video",tooltip:h.getText("VIDEOCALL_BUTTON_TOOLTIP"),fesrStepName:"MST:ContactAction",callBackHandler:function(t){e.handleMSTeamsPress(t)}}])},getTeamsContactStatus:async function(e){let t={calendar:[]};if(e){const a=await Promise.all([c.fetchContact(e),c.fetchContactCalendar(e)]);t=a[0];t.calendar=a[1]}const a=this.determineContactStatus(t);return[{key:"profileStatus",badgeIcon:a.badgeIcon,badgeValueState:a.badgeValueState,badgeTooltip:a.badgeTooltip,fesrStepName:"MST:ContactAction",calendar:a.calendar}]},handleMSTeamsPress:function(e){var t=e.getSource().data("email");var a=e.getSource().data("type");var i="";switch(a){case"chat":i="https://teams.microsoft.com/l/chat/0/0?users="+t;break;case"call":i="https://teams.microsoft.com/l/call/0/0?users="+t;break;case"videoCall":i="https://teams.microsoft.com/l/call/0/0?users="+t+"&withVideo=true";break;default:break}o.URLHelper.redirect(i,true)},formatUri:function(e,t){var a=/^\w+[\w-+\.]*\@\w+([-\.]\w+)*\.[a-zA-Z]{2,}$/;if(a.test(e)){return"mailto:"+e+(t&&t.subject?"?subject="+t.subject:"")+(t&&t.body?"&body="+t.body:"")}else{return"tel:"+e}},loadContactPopover:function(e,o,i){this.afterClose();return t.load({name:"sap.suite.ui.commons.collaboration.ContactPopover",controller:this,type:"XML"}).then(function(t){l.setSemanticStepname(t,"afterClose","MST:ContactDetails");this._oContactPopover=t;this.sEmail=e;this.oParams=o;t.setBusy(true);var n={setFamily:"tnt",setURI:sap.ui.require.toUrl("sap/tnt/themes/base/illustrations")};sap.m.IllustrationPool.registerIllustrationSet(n,false);var r=new a({isUserExistsInTeams:true});this._oContactPopover.setModel(r,"userData");this.isDirectCommunicationEnabled=i;this._oContactPopover.setModel(new sap.ui.model.resource.ResourceModel({bundle:h}),"i18n");return t}.bind(this))},loadMinimalContactPopover:function(e,o){this.afterClose();var i=new a({mail:e,params:o});return t.load({name:"sap.suite.ui.commons.collaboration.MinimalContactPopover",controller:this,type:"XML"}).then(function(e){this._oMinContactPopover=e;l.setSemanticStepname(e,"afterClose","MST:ContactDetails");e.setModel(i,"userData");e.setModel(new sap.ui.model.resource.ResourceModel({bundle:h}),"i18n");return e}.bind(this))},afterClose:function(){if(this._oContactPopover){this._oContactPopover.destroy()}if(this._oMinContactPopover){this._oMinContactPopover.destroy()}},afterOpen:function(){var e=this;this.getFullProfileByEmail(this.sEmail).then(function(t){e._oContactPopover.setBusy(false);if(t&&t.mail===""){t.isUserExistsInTeams=false;t.mail=e.sEmail;t.params=e.oParams;e._oContactPopover.setInitialFocus(u.getElementById("mail"))}else{t.isUserExistsInTeams=true;t.isDirectCommunicationEnabled=!!e.isDirectCommunicationEnabled;e._oContactPopover.setInitialFocus(u.getElementById("avatar"))}var o=new a(t);o.setData(t);e._oContactPopover.setModel(o,"userData");l.setSemanticStepname(e._oContactPopover,"afterClose","MST:ContactDetails")})},afterContinue:function(){var e=this.formatUri(this.sEmail,this.oParams);o.URLHelper.redirect(e,true)},determineContactStatus:function(e){const t=new Map([["OOO",{badgeValueState:"Information",badgeIcon:"sap-icon://offsite-work"}],["BUSYOOO",{badgeValueState:"Error",badgeIcon:"sap-icon://circle-task"}],["ONLINEOOO",{badgeValueState:"Success",badgeIcon:"sap-icon://sys-enter"}],["AVAILABLE",{badgeValueState:"Success",badgeIcon:"sap-icon://sys-enter-2"}],["AWAY",{badgeValueState:"Warning",badgeIcon:"sap-icon://pending"}],["BUSY",{badgeValueState:"Error",badgeIcon:"sap-icon://circle-task-2"}],["PRESENTING",{badgeValueState:"Error",badgeIcon:"sap-icon://sys-minus"}],["OFFLINE",{badgeValueState:"Error",badgeIcon:"sap-icon://message-error"}]]);const a=new Map([["Available","AVAILABLE"],["Away","AWAY"],["Inactive","AWAY"],["Busy","BUSY"],["DoNotDisturb","PRESENTING"],["InACall","BUSY"],["InAMeeting","BUSY"],["Presenting","PRESENTING"],["BeRightBack","AWAY"],["OffWork","OFFLINE"],["Offline","OFFLINE"]]);let o={};if(!!e.isoutofoffice){if(e.activity==="Available"){o=t.get("ONLINEOOO");o.badgeTooltip=`${h.getText("AVAILABLE")}, ${h.getText("OOO")}`}else if(e.activity==="Busy"){o=t.get("BUSYOOO");o.badgeTooltip=`${h.getText("BUSY")}, ${h.getText("OOO")}`}else if(e.activity==="DoNotDisturb"){o=t.get("PRESENTING");o.badgeTooltip=`${h.getText("DONOTDISTURB")}, ${h.getText("OOO")}`}else{o=t.get("OOO");o.badgeTooltip=h.getText("OOO")}}else{const i=e.activity?a.get(e.activity):"OFFLINE";o=t.get(i);o.badgeTooltip=h.getText(e.activity.toUpperCase())}Object.assign(e,o);return e},handleCopyEmailPress:function(){if(typeof window!=="undefined"&&window.navigator&&window.navigator.clipboard&&window.navigator.clipboard.writeText){window.navigator.clipboard.writeText(this.sEmail);s.show(h.getText("POPOVER_CONTACT_COPY_EMAIL_SUCCESS"))}else{s.show(h.getText("POPOVER_CONTACT_COPY_EMAIL_ERROR"))}},handleShareToMSTeamsPress:async function(){const e=this._oContactPopover.getModel("userData").getData();const t="Contact-"+e.id;if(!this._oTeamsHelperService){const a=await new Promise((e)=>{sap.ui.require(["sap/suite/ui/commons/collaboration/ServiceContainer"],(t)=>e(t))});this._oTeamsHelperService=await a.getServiceAsync()}this._oTeamsHelperService.shareContactCard(e,{cardId:t,cardManifest:e})}})});
22
22
  },
23
23
  "sap/suite/ui/commons/collaboration/ServiceContainer.js":function(){
24
24
  sap.ui.define(["sap/base/Log","./BaseHelperService","./TeamsHelperService","./CollaborationManagerService","../windowmessages/CollaborationMessageBroker","../windowmessages/CollaborationMessageConsumer","./CollaborationHelper","sap/ui/core/Element"],function(e,r,o,n,t,i,a,s){var c=e.getLogger("sap.suite.ui.commons.collaboration.ServiceContainer");var l;var u;function v(){var e;if(l&&Object.keys(l).length){var n=l.sProvider;var t=l.oProviderConfig;if(n==="COLLABORATION_MSTEAMS"){e=new o(t)}u=Promise.resolve(e);return u}e=new r({});c.info("Collaboration provider is not activated on the tenant");return Promise.resolve(e)}function f(){}var g=new f;g.getServiceAsync=async function(){const e=sap.ui.require("sap/ushell/Container");if(u){return u}if(e&&e.inAppRuntime()){try{let e=false;try{if(window.location.host===top.window.location.host){l={};e=true}}catch(e){c.info("Cannot access parent window")}if(!e){l=await i.getProviderConfiguration()}}catch(e){c.error("Error while getting the provider configuration from the parent window",e);l={}}}return v()};g.getCollaborationServices=async function(){var e=await g.getServiceAsync();var r={oTeamsHelperService:e,oCMHelperService:new n};return Promise.resolve(r)};g.hidePluginsInMSTeams=async function(){try{const e=await a.isTeamsModeActive();if(e){let e=0;const r=1*1e3;const o={chatButton:true,"sap.das.webclientplugin.s4.shellitem":true};const n=setInterval(()=>{e++;if(e>10){clearInterval(n);return}Object.keys(o).forEach(e=>{const r=s.getElementById(e);if(r?.getVisible()===true){r.setVisible(false);o[e]=false}});const r=Object.values(o).every(e=>!e);if(r){clearInterval(n)}},r)}}catch(e){c.error("Error hiding the plugins in MS Teams",e)}};g.setCollaborationType=function(e,r){c.info("Collaboration properties are now configured");g.hidePluginsInMSTeams();l={sProvider:e,oProviderConfig:r};v();t.startInstance(l)};return g},true);
25
25
  },
26
26
  "sap/suite/ui/commons/collaboration/TeamsHelperService.js":function(){
27
- sap.ui.define(["sap/base/Log","sap/ui/core/Core","sap/base/security/URLListValidator","./CollaborationHelper","./BaseHelperService","sap/ui/core/Element","./ContactHelper","sap/ui/Device","./CollaborationCardHelper","sap/ui/core/Fragment","sap/m/MessageBox","sap/ui/core/Lib","sap/m/Popover","sap/m/HBox","sap/m/VBox","sap/m/MessageStrip","sap/m/Button","./CollaborationContactInfoHelper","sap/m/library","sap/m/FlexBox","sap/base/i18n/Localization","./CollaborationManagerService","sap/m/FlexItemData"],function(e,t,a,r,o,i,n,s,l,p,c,d,h,u,f,C,m,g,T,y,A,S,_){var b=o.extend("sap.suite.ui.commons.collaboration.TeamsHelperService",{constructor:function(e){this._providerConfig=e;this._providerConfig.shareAsLinkUrl="https://teams.microsoft.com/share";this._getShareAsTabUrl().then(function(e){this._providerConfig.shareAsTabUrl=e}.bind(this))}});const O="db5b69c6-0430-4ae1-8d6e-a65c2220b50c";const v=e.getLogger("sap.suite.ui.commons.collaboration.TeamsHelperService");const L="https://saps4hana.azure-api.net/bot/redirect?target-url=";const U=d.getResourceBundleFor("sap.suite.ui.commons");const E="info";let w;let I;const M=60*1e3;let R={};const x="width=720,height=720";const B=["*.s4hana.ondemand.com","*.*.s4hana.ondemand.com","*.*.*.s4hana.ondemand.com","*.cloud.sap","*.*.cloud.sap","*.*.*.cloud.sap","*.sapcloud.cn","*.*.sapcloud.cn","*.*.*.sapcloud.cn","*.saps4hanacloud.cn","*.*.saps4hanacloud.cn","*.*.*.saps4hanacloud.cn","*.sap.com"];b.prototype.getOptions=function(e){R={isShareAsLinkEnabled:e&&typeof e.isShareAsLinkEnabled!=="undefined"?e.isShareAsLinkEnabled:true,isShareAsTabEnabled:e&&typeof e.isShareAsTabEnabled!=="undefined"?e.isShareAsTabEnabled:true,isShareAsCardEnabled:e&&typeof e.isShareAsCardEnabled!=="undefined"?e.isShareAsCardEnabled:false};var t=[];var a=[];if(s.system.desktop){if(R.isShareAsLinkEnabled){if(this._providerConfig.isShareAsLinkEnabled==="X"){t.push({text:U.getText("COLLABORATION_MSTEAMS_CHAT"),key:"COLLABORATION_MSTEAMS_CHAT",icon:"sap-icon://post",fesrStepName:"MST:ShareAsLink"})}else{v.info("Share as Chat option is not enabled in the tenant")}}else{v.info("Consumer disable Share as Chat option")}}else{v.info("Share as Chat option is not supported in Phone and Tablet")}if(s.system.desktop){if(R.isShareAsTabEnabled){if(this._providerConfig.isShareAsTabEnabled==="X"){t.push({text:U.getText("COLLABORATION_MSTEAMS_TAB"),key:"COLLABORATION_MSTEAMS_TAB",icon:"sap-icon://image-viewer",fesrStepName:"MST:ShareAsTab"})}else{v.info("Share as Tab option is not enabled in the tenant")}}else{v.info("Consumer disable Share as Tab option")}}else{v.info("Share as Tab option is not supported in Phone and Tablet")}if(s.system.desktop){if(R.isShareAsCardEnabled){const e=this._providerConfig.isShareAsCardEnabled;const a={text:U.getText("COLLABORATION_MSTEAMS_CARD"),key:"COLLABORATION_MSTEAMS_CARD",icon:"sap-icon://ui-notifications",fesrStepName:"MST:ShareAsCard"};switch(e){case"DISABLED":v.info("Share as Card option is not enabled in the tenant");break;case"ENABLED":case"AUTHENABLE":t.push(a);break;default:v.info("Share as Card option is not enabled in the tenant");break}}else{v.info("Consumer disable Share as Card option")}}else{v.info("Share as Card option is not supported in Phone and Tablet")}if(t.length===1){a=t;if(a[0].key==="COLLABORATION_MSTEAMS_CHAT"){a[0].text=U.getText("COLLABORATION_MSTEAMS_CHAT_SINGLE")}else if(a[0].key==="COLLABORATION_MSTEAMS_TAB"){a[0].text=U.getText("COLLABORATION_MSTEAMS_TAB_SINGLE")}else if(a[0].key==="COLLABORATION_MSTEAMS_CARD"){a[0].text=U.getText("COLLABORATION_MSTEAMS_CARD_SINGLE")}return a}if(t.length>1){a.push({type:"microsoft",text:U.getText("COLLABORATION_MSTEAMS_SHARE"),icon:"sap-icon://collaborate",subOptions:t})}return a};b.prototype.share=function(e,t){if(!t.url){v.error("url is not supplied in object so terminating Click");return}if(!a.validate(t.url)){v.error("Invalid URL supplied");return}if(e.key==="COLLABORATION_MSTEAMS_CHAT"){this._shareAsChat(t);return}if(e.key==="COLLABORATION_MSTEAMS_TAB"){this._shareAsTab(t);return}if(e.key==="COLLABORATION_MSTEAMS_CARD"){this._shareAsCard(t);return}};b.prototype._shareAsChat=function(e){var t=window.open("","_blank",x);var a=e.appTitle;if(e.subTitle.length>0){a+=": "+e.subTitle}t.opener=null;if(e.minifyUrlForChat){r.compactHash(e.url,[]).then(async function(r){var o=await this._modifyUrlForNavigationContext(e.url,r.url);t.location=this._providerConfig.shareAsLinkUrl+"?msgText="+encodeURIComponent(a)+"&preview=false"+"&href="+encodeURIComponent(o)}.bind(this))}else{t.location=this._providerConfig.shareAsLinkUrl+"?msgText="+encodeURIComponent(a)+"&preview=false"+"&href="+encodeURIComponent(e.url)}};b.prototype._modifyUrlForShareAsTab=async function(e,t){var a=e;var r=a.indexOf("#");if(r!==-1){var o=a.substring(0,r);var i=o.indexOf("?",0);var n="sap-ushell-config=lean&sap-collaboration-teams=true&sap-ui-fesr-env="+t;if(i!==-1){o=o.substring(0,i+1)+n+"&"+o.substring(i+1)}else{o+="?"+n}a=o+a.substring(r);a=await this._addNavmodeInUrl(a,"explace")}return a};b.prototype._shareAsTab=async function(e){var t=await this._modifyUrlForShareAsTab(e.url,"MST:T");var a={subEntityId:{url:t,appTitle:e.appTitle,subTitle:e.subTitle,mode:"tab"}};if(e.minifyUrlForChat){r.compactHash(t,[]).then(async function(e){var r=await this._modifyUrlForNavigationContext(t,e.url);a.subEntityId.url=await this._addNavmodeInUrl(r,"explace");var o=this._providerConfig.shareAsTabUrl+"?&context="+encodeURIComponent(JSON.stringify(a));sap.m.URLHelper.redirect(o,true)}.bind(this))}else{var o=this._providerConfig.shareAsTabUrl+"?&context="+encodeURIComponent(JSON.stringify(a));sap.m.URLHelper.redirect(o,true)}};b.prototype._addNavmodeInUrl=function(e,t){const a=sap.ui.require("sap/ushell/Container");return a&&a.getServiceAsync("URLParsing").then(function(a){var r=e;var o=r.indexOf("#");var i=a.parseShellHash(r.substring(o));i.params["sap-ushell-navmode"]=t;i.params["sap-ushell-next-navmode"]=t;var n=a.constructShellHash(i);r=r.substring(0,o)+"#"+n;return Promise.resolve(r)})};b.prototype._modifyUrlForNavigationContext=function(e,t){if(e===t){return Promise.resolve(t)}const a=sap.ui.require("sap/ushell/Container");return a&&a.getServiceAsync("URLParsing").then(function(a){var r=e;var o=r.indexOf("#");var i=a.parseShellHash(r.substring(o));var n=Object.keys(i.params).length;var s=new URL(t);if(n>0){if(!s.searchParams.has("sap-collaboration-teams")){s.searchParams.set("sap-collaboration-teams","true")}else{s.searchParams.delete("sap-collaboration-teams")}}return Promise.resolve(s.toString())})};b.prototype._shareAsCard=async function(e){if(!e?.cardId||!e.cardId.length||!e.cardManifest||!this.isFeatureFlagEnabled()){this._updateUrl(e,{});return}let t={};try{try{const e=await p.load({name:"sap.suite.ui.commons.collaboration.CollaborationBusyDialog",controller:this,type:"XML"});w=e;w.open();I=setTimeout(()=>{w.close();w.destroy()},M)}catch(e){v.error("Fragment load failed: "+e.message)}t=await this._buildCardInfo(e)}catch(e){v.error("buildCardInfo failed: "+e.message)}finally{if(t&&Object.keys(t).length===0){v.warn("Card info could not be saved.")}this._updateUrl(e,t)}};b.prototype._buildCardInfo=async function(e){e.cardManifest.rtl=A.getRTL();const t=await l.postCard(e.cardId,e.cardManifest);let a={cardId:t.card_id,version:t.version};if(t.error){if(t.error.code==="APS_UI_MSG/001"){a.cardId=e.cardId;if(t.error.message.length>0){try{const e=JSON.parse(atob(t.error.message)).version;a.version=e}catch(e){a={}}}}else{a={}}}return a};b.prototype._updateUrl=async function(e,t){let a=e?.url||window.location.href;try{if(e.minifyUrlForChat){a=await this._getModifiedUrlForSharing(e)}else if(R.isShareAsTabEnabled&&this._providerConfig.isShareAsTabEnabled){const e=await this._modifyUrlForShareAsTab(a,"MST:C");a=await this._addNavmodeInUrl(e,"inplace")}}catch(e){v.error("Error while modifying URL for sharing: "+e.message)}finally{this._closeBusyDialogAndOpenTeamsDialog(a,e,t)}};b.prototype._getModifiedUrlForSharing=async function(e){const t=await r.compactHash(e.url,[]);let a=await this._modifyUrlForNavigationContext(e.url,t.url);let o=await this._modifyUrlForShareAsTab(e.url,"MST:C");const i=await r.compactHash(o,[]);const n=i.url.split("sap-url-hash=")[1];if(n){a+=`,${n}`}else{o=await this._modifyUrlForShareAsTab(a,"MST:C");a=await this._addNavmodeInUrl(o,"inplace")}return a};b.prototype._closeBusyDialog=function(){if(w){w.close();w.destroy();clearTimeout(I)}};b.prototype._closeBusyDialogAndOpenTeamsDialog=function(e,t,a){this._closeBusyDialog();const r=window.open("","_blank",x);r.opener=null;r.location=this._generateShareAsCardUrl(e,t.appTitle,a)};b.prototype._wildcardToRegExp=function(e){return new RegExp("^"+e.split("*").map(function(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}).join("[^.]+")+"$","i")};b.prototype._isValidDomain=function(e){try{const t=new URL(e).hostname;return B.some(e=>this._wildcardToRegExp(e).test(t))}catch(e){return false}};b.prototype._getCardInfoUrl=function(e,t,a){const r=this._isValidDomain(e);const o=t?.appTitle;if(r){return this._generateCardUnfurlingUrl(e,a,{appTitle:o})}else{return this._generateShareAsCardUrl(e,o,a)}};b.prototype._generateShareAsCardUrl=function(e,t,a){const r=this._generateCardUnfurlingUrl(e,a,{appTitle:t});return`${this._providerConfig.shareAsLinkUrl}?href=${encodeURIComponent(L+encodeURIComponent(r))}`};b.prototype._generateCardUnfurlingUrl=function(e,t,a){const r=[t.cardId||"",t.version||"",encodeURIComponent(a.appTitle||"")].filter(Boolean);return`${e}&${E}=${r.join(",")}`};b.prototype._getShareAsTabUrl=function(){return this._getApplicationID().then(function(e){return"https://teams.microsoft.com/l/entity/"+e+"/tab"})};b.prototype._getApplicationID=function(){const e=sap.ui.require("sap/ushell/Container");return e&&e.getServiceAsync("URLParsing").then(function(e){return r._getCurrentUrl().then(function(t){var a=t.split("#")[0];if(a.indexOf("?")!==-1){var r=e&&e.parseParameters(a.substring(a.indexOf("?")));if(r&&r["sap-collaboration-xx-TeamsAppId"]&&r["sap-collaboration-xx-TeamsAppId"][0]&&r["sap-collaboration-xx-TeamsAppId"][0].length>0){return Promise.resolve(r["sap-collaboration-xx-TeamsAppId"][0])}return Promise.resolve(O)}else{return Promise.resolve(O)}})})};b.prototype.isFeatureFlagEnabled=function(){const e=this._providerConfig.isShareAsCardEnabled;return e==="AUTHENABLE"};b.prototype.isContactsCollaborationSupported=function(){return true};b.prototype.enableContactsCollaboration=async function(e,t){const a=await r.isTeamsModeActive();const o=await g.fetchServiceStatus();if(e&&o.value&&o.value&&o.value[0].FetchContacts==="Active"){if(!this.oContactHelper){this.oContactHelper=new n}if(this._providerConfig.isDirectCommunicationEnabled==="ENABLED"){return this.oContactHelper.loadContactPopover(e,t,true)}else{return this.oContactHelper.loadContactPopover(e,t)}}else if(a||!e||this._providerConfig.isDirectCommunicationEnabled!=="ENABLED"){return Promise.reject()}else{if(!this.oContactHelper){this.oContactHelper=new n}return this.oContactHelper.loadMinimalContactPopover(e,t)}};b.prototype.getTeamsContactCollabOptions=async function(){const e=await r.isTeamsModeActive();if(e||this._providerConfig.isDirectCommunicationEnabled!=="ENABLED"){return Promise.reject()}if(!this.oContactHelper){this.oContactHelper=new n}return this.oContactHelper.getTeamsContactOptions()};b.prototype.getTeamsContactStatus=async function(e){const t=await r.isTeamsModeActive();if(t){return Promise.reject()}if(!this.oContactHelper){this.oContactHelper=new n}return this.oContactHelper.getTeamsContactStatus(e)};b.prototype.getCollaborationPopover=function(e,t,a,r,o){if(t.data===undefined||t.data.trim()===""){v.error("Popover cannnot be opened without data");return}var i={isShareAsLinkEnabled:e&&typeof e.isShareAsLinkEnabled!=="undefined"?e.isShareAsLinkEnabled:true};var n={shareToTeams:o&&typeof o.shareToTeams!=="undefined"?o.shareToTeams:true,shareToEmail:o&&typeof o.shareToEmail!=="undefined"?o.shareToEmail:true,shareToCM:o&&typeof o.shareToCM!=="undefined"?o.shareToCM:false};var l=[];if(s.system.desktop){if(i.isShareAsLinkEnabled){if(this._providerConfig.isShareAsLinkEnabled==="X"&&n.shareToTeams){l.push({text:U.getText("COLLABORATION_POPOVER_TEAMS"),icon:"sap-icon://discussion",key:"COLLABORATION_POPOVER_TEAMS"})}else{v.info("Share as Chat option is not enabled in the tenant")}}else{v.info("Consumer disable Share as Chat option")}}else{v.info("Share as Chat option is not supported in Phone and Tablet")}if(n.shareToEmail){l.push({text:U.getText("COLLABORATION_POPOVER_MAIL"),icon:"sap-icon://email",key:"COLLABORATION_POPOVER_MAIL"})}this.oCollaborationManager=new S;var p=this.oCollaborationManager.getOptions();if(p&&n.shareToCM){l.push({text:p.text,icon:p.icon,key:"COLLABORATION_POPOVER_CM"})}if(l.length===1&&!r&&l[0].key==="COLLABORATION_POPOVER_MAIL"){this._shareData(t,l[0],r);return}var c=this._getPopover(t,l,r);c.openBy(a)};b.prototype._getPopover=function(e,t,a){var r=new h({showHeader:false,placement:e.placement?e.placement:"Auto",verticalScrolling:false,horizontalScrolling:false,content:this._getPopoverContent(e,t,a)});return r};b.prototype._getPopoverContent=function(e,t,a){var r=new y({items:[],direction:T.FlexDirection.Column});var o=new y({direction:e.sFormat==="Vertical"?T.FlexDirection.Column:T.FlexDirection.Row,justifyContent:T.FlexJustifyContent.SpaceAround,items:[]});t.forEach(i=>{var n=new m({text:i.text,icon:i.icon,width:e.sFormat==="Horizontal"&&t.length===3?"120px":"180px",press:t=>{t.getSource().getParent().getParent().getParent().close();this._shareData(e,i,a)}}).addStyleClass("sapUiTinyMarginTop").addStyleClass("sapUiTinyMarginBegin");if(i.key==="COLLABORATION_POPOVER_TEAMS"){n.addStyleClass("sapSuiteUiCollaborationBarMSTeamsButton"+(e.sFormat?e.sFormat:"Horizontal"))}else if(i.key==="COLLABORATION_POPOVER_CM"){n.addStyleClass("sapSuiteUiCollaborationBarCMButton"+(e.sFormat?e.sFormat:"Horizontal"))}else{n.addStyleClass("sapSuiteUiCollaborationBarEmailButton"+(e.sFormat?e.sFormat:"Horizontal"))}o.addItem(n);r.addItem(o)});if(a){var i=new y({justifyContent:e.sFormat==="Vertical"?T.FlexJustifyContent.Center:T.FlexJustifyContent.SpaceBetween,alignItems:T.FlexAlignItems.Center,items:[new m({text:U.getText("COLLABORATION_POPOVER_COPYURL_BUTTON"),width:e.sFormat==="Vertical"?"150px":"",press:async()=>{await this._writeToClipBoard(e.data)}}).addStyleClass("sapUiTinyMarginBeginEnd")]});if(e.sFormat==="Horizontal"||e.sFormat===undefined){i.insertItem(new C({text:U.getText("COLLABORATION_POPOVER_MSGSTRIP"),showIcon:true}).addStyleClass("sapUiTinyMarginBeginEnd").addStyleClass("sapSuiteCollaborationBarMsgStrip"),0);i.addStyleClass("sapSuiteUiCollaborationBarMsgStripHBox")}i.addStyleClass("sapUiTinyMarginBeginEnd").addStyleClass("sapUiTinyMarginTopBottom");r.addItem(i)}if(e.sFormat==="Vertical"){o.setHeight(t.length>1?t.length*50+50+"px":"80px");o.addStyleClass("sapUiSmallMarginBottom").addStyleClass("sapUiTinyMarginEnd")}else{o.setHeight("110px");o.addStyleClass("sapUiTinyMarginEnd")}return r};b.prototype._writeToClipBoard=async function(e){try{await window.navigator.clipboard.writeText(e)}catch(e){v.info(e)}};b.prototype._shareData=function(e,t,a){if(t.key==="COLLABORATION_POPOVER_TEAMS"){if(a){var r={url:e.data,appTitle:e.title?e.title:"",subTitle:"",minifyUrlForChat:true};this._shareAsChat(r)}else{var o={appTitle:e.title?e.title:"",message:e.data,showPreview:typeof e.showPreview!=="undefined"?e.showPreview:true};this._shareSummary(o)}}else if(t.key==="COLLABORATION_POPOVER_MAIL"){sap.m.URLHelper.triggerEmail(null,e.title&&e.title.trim()!==""?e.title:null,e.data)}else if(t.key==="COLLABORATION_POPOVER_CM"){this.oCollaborationManager.triggerH2HChat(e.title,e.data)}};b.prototype._shareSummary=function(e){var t={subEntityId:{appTitle:e.appTitle,mode:"summary",message:e.message,showPreview:e.showPreview}};var a=this._providerConfig.shareAsTabUrl+"?&context="+encodeURIComponent(JSON.stringify(t));sap.m.URLHelper.redirect(a,true)};b.prototype._shareToEmail=async function(e){let t=e?.url||window.location.href;try{t=await this._getUnfurlingUrl(e)}catch(e){v.error("getUnfurlingUrl failed: "+e.message)}const a=e?.appTitle?.trim()?e.appTitle:null;sap.m.URLHelper.triggerEmail(null,a,t)};b.prototype._shareAsChatFromCollabBar=async function(e){try{await this._shareAsCard(e)}catch(e){v.error("Failed to share card from collaboration bar: "+e.message)}};b.prototype._copyLink=async function(e){let t=e?.url||window.location.href;try{t=await this._getUnfurlingUrl(e)}catch(e){v.error("getUnfurlingUrl failed: "+e.message)}this._copyCardUrlToClipboard(t)};b.prototype._copyCardUrlToClipboard=async function(e){try{if(typeof window.navigator!=="undefined"&&window.navigator.clipboard&&typeof window.navigator.clipboard.writeText==="function"){try{await window.navigator.clipboard.writeText(e);v.info("Card URL copied to clipboard successfully.");sap.m.MessageToast.show(U.getText("COLLABORATION_POPOVER_MSGSTRIP_SUCCESS"))}catch(e){v.error("Clipboard write failed: "+e.message)}}else{v.error("Clipboard API is not available.")}}catch(e){v.error("Failed to generate or copy Card URL",e)}};b.prototype._getUnfurlingUrl=async function(e){if(!e?.cardId||!e.cardId.length||!e.cardManifest||!this.isFeatureFlagEnabled()){return this._generateUnfurlingUrl(e,{})}let t="";let a={};try{try{const e=await p.load({name:"sap.suite.ui.commons.collaboration.CollaborationBusyDialog",controller:this,type:"XML"});w=e;w.open();I=setTimeout(()=>{w.close();w.destroy()},M)}catch(e){v.error("Fragment load failed: "+e.message)}a=await this._buildCardInfo(e)}catch(e){v.error("buildCardInfo failed: "+e.message)}finally{if(a&&Object.keys(a).length===0){v.warn("Card info could not be saved.")}t=this._generateUnfurlingUrl(e,a);this._closeBusyDialog()}return t};b.prototype._generateUnfurlingUrl=async function(e,t){let a=e?.url||window.location.href;try{if(e?.minifyUrlForChat){a=await this._getModifiedUrlForSharing(e)}else if(R.isShareAsTabEnabled&&this._providerConfig.isShareAsTabEnabled){const e=await this._modifyUrlForShareAsTab(a,"MST:C");a=await this._addNavmodeInUrl(e,"inplace")}}catch(e){v.error("Error while modifying URL for sharing: "+e.message)}return this._getCardInfoUrl(a,e,t)};return b});
27
+ sap.ui.define(["sap/base/Log","sap/ui/core/Core","sap/base/security/URLListValidator","./CollaborationHelper","./BaseHelperService","sap/ui/core/Element","./ContactHelper","sap/ui/Device","./CollaborationCardHelper","sap/ui/core/Fragment","sap/m/MessageBox","sap/ui/core/Lib","sap/m/Popover","sap/m/HBox","sap/m/VBox","sap/m/MessageStrip","sap/m/Button","./CollaborationContactInfoHelper","sap/m/library","sap/m/FlexBox","sap/base/i18n/Localization","./CollaborationManagerService","sap/m/FlexItemData"],function(e,t,a,r,o,i,n,s,l,p,c,d,h,u,f,C,m,g,T,y,A,S,_){var b=o.extend("sap.suite.ui.commons.collaboration.TeamsHelperService",{constructor:function(e){this._providerConfig=e;this._providerConfig.shareAsLinkUrl="https://teams.microsoft.com/share";this._getShareAsTabUrl().then(function(e){this._providerConfig.shareAsTabUrl=e}.bind(this))}});const O="db5b69c6-0430-4ae1-8d6e-a65c2220b50c";const v=e.getLogger("sap.suite.ui.commons.collaboration.TeamsHelperService");const L="https://saps4hana.azure-api.net/bot/redirect?target-url=";const U=d.getResourceBundleFor("sap.suite.ui.commons");const E="info";let w;let I;const M=60*1e3;let R={};const x="width=720,height=720";const B=["*.s4hana.ondemand.com","*.*.s4hana.ondemand.com","*.*.*.s4hana.ondemand.com","*.cloud.sap","*.*.cloud.sap","*.*.*.cloud.sap","*.sapcloud.cn","*.*.sapcloud.cn","*.*.*.sapcloud.cn","*.saps4hanacloud.cn","*.*.saps4hanacloud.cn","*.*.*.saps4hanacloud.cn","*.sap.com"];b.prototype.getOptions=function(e){R={isShareAsLinkEnabled:e&&typeof e.isShareAsLinkEnabled!=="undefined"?e.isShareAsLinkEnabled:true,isShareAsTabEnabled:e&&typeof e.isShareAsTabEnabled!=="undefined"?e.isShareAsTabEnabled:true,isShareAsCardEnabled:e&&typeof e.isShareAsCardEnabled!=="undefined"?e.isShareAsCardEnabled:false};var t=[];var a=[];if(s.system.desktop){if(R.isShareAsLinkEnabled){if(this._providerConfig.isShareAsLinkEnabled==="X"){t.push({text:U.getText("COLLABORATION_MSTEAMS_CHAT"),key:"COLLABORATION_MSTEAMS_CHAT",icon:"sap-icon://post",fesrStepName:"MST:ShareAsLink"})}else{v.info("Share as Chat option is not enabled in the tenant")}}else{v.info("Consumer disable Share as Chat option")}}else{v.info("Share as Chat option is not supported in Phone and Tablet")}if(s.system.desktop){if(R.isShareAsTabEnabled){if(this._providerConfig.isShareAsTabEnabled==="X"){t.push({text:U.getText("COLLABORATION_MSTEAMS_TAB"),key:"COLLABORATION_MSTEAMS_TAB",icon:"sap-icon://image-viewer",fesrStepName:"MST:ShareAsTab"})}else{v.info("Share as Tab option is not enabled in the tenant")}}else{v.info("Consumer disable Share as Tab option")}}else{v.info("Share as Tab option is not supported in Phone and Tablet")}if(s.system.desktop){if(R.isShareAsCardEnabled){const e=this._providerConfig.isShareAsCardEnabled;const a={text:U.getText("COLLABORATION_MSTEAMS_CARD"),key:"COLLABORATION_MSTEAMS_CARD",icon:"sap-icon://ui-notifications",fesrStepName:"MST:ShareAsCard"};switch(e){case"DISABLED":v.info("Share as Card option is not enabled in the tenant");break;case"ENABLED":case"AUTHENABLE":t.push(a);break;default:v.info("Share as Card option is not enabled in the tenant");break}}else{v.info("Consumer disable Share as Card option")}}else{v.info("Share as Card option is not supported in Phone and Tablet")}if(t.length===1){a=t;if(a[0].key==="COLLABORATION_MSTEAMS_CHAT"){a[0].text=U.getText("COLLABORATION_MSTEAMS_CHAT_SINGLE")}else if(a[0].key==="COLLABORATION_MSTEAMS_TAB"){a[0].text=U.getText("COLLABORATION_MSTEAMS_TAB_SINGLE")}else if(a[0].key==="COLLABORATION_MSTEAMS_CARD"){a[0].text=U.getText("COLLABORATION_MSTEAMS_CARD_SINGLE")}return a}if(t.length>1){a.push({type:"microsoft",text:U.getText("COLLABORATION_MSTEAMS_SHARE"),icon:"sap-icon://collaborate",subOptions:t})}return a};b.prototype.share=function(e,t){if(!t.url){v.error("url is not supplied in object so terminating Click");return}if(!a.validate(t.url)){v.error("Invalid URL supplied");return}if(e.key==="COLLABORATION_MSTEAMS_CHAT"){this._shareAsChat(t);return}if(e.key==="COLLABORATION_MSTEAMS_TAB"){this._shareAsTab(t);return}if(e.key==="COLLABORATION_MSTEAMS_CARD"){this._shareAsCard(t);return}};b.prototype._shareAsChat=function(e){var t=window.open("","_blank",x);var a=e.appTitle;if(e.subTitle.length>0){a+=": "+e.subTitle}t.opener=null;if(e.minifyUrlForChat){r.compactHash(e.url,[]).then(async function(r){var o=await this._modifyUrlForNavigationContext(e.url,r.url);t.location=this._providerConfig.shareAsLinkUrl+"?msgText="+encodeURIComponent(a)+"&preview=false"+"&href="+encodeURIComponent(o)}.bind(this))}else{t.location=this._providerConfig.shareAsLinkUrl+"?msgText="+encodeURIComponent(a)+"&preview=false"+"&href="+encodeURIComponent(e.url)}};b.prototype._modifyUrlForShareAsTab=async function(e,t){var a=e;var r=a.indexOf("#");if(r!==-1){var o=a.substring(0,r);var i=o.indexOf("?",0);var n="sap-ushell-config=lean&sap-collaboration-teams=true&sap-ui-fesr-env="+t;if(i!==-1){o=o.substring(0,i+1)+n+"&"+o.substring(i+1)}else{o+="?"+n}a=o+a.substring(r);a=await this._addNavmodeInUrl(a,"explace")}return a};b.prototype._shareAsTab=async function(e){var t=await this._modifyUrlForShareAsTab(e.url,"MST:T");var a={subEntityId:{url:t,appTitle:e.appTitle,subTitle:e.subTitle,mode:"tab"}};if(e.minifyUrlForChat){r.compactHash(t,[]).then(async function(e){var r=await this._modifyUrlForNavigationContext(t,e.url);a.subEntityId.url=await this._addNavmodeInUrl(r,"explace");var o=this._providerConfig.shareAsTabUrl+"?&context="+encodeURIComponent(JSON.stringify(a));sap.m.URLHelper.redirect(o,true)}.bind(this))}else{var o=this._providerConfig.shareAsTabUrl+"?&context="+encodeURIComponent(JSON.stringify(a));sap.m.URLHelper.redirect(o,true)}};b.prototype._addNavmodeInUrl=function(e,t){const a=sap.ui.require("sap/ushell/Container");return a&&a.getServiceAsync("URLParsing").then(function(a){var r=e;var o=r.indexOf("#");var i=a.parseShellHash(r.substring(o));i.params["sap-ushell-navmode"]=t;i.params["sap-ushell-next-navmode"]=t;var n=a.constructShellHash(i);r=r.substring(0,o)+"#"+n;return Promise.resolve(r)})};b.prototype._modifyUrlForNavigationContext=function(e,t){if(e===t){return Promise.resolve(t)}const a=sap.ui.require("sap/ushell/Container");return a&&a.getServiceAsync("URLParsing").then(function(a){var r=e;var o=r.indexOf("#");var i=a.parseShellHash(r.substring(o));var n=Object.keys(i.params).length;var s=new URL(t);if(n>0){if(!s.searchParams.has("sap-collaboration-teams")){s.searchParams.set("sap-collaboration-teams","true")}else{s.searchParams.delete("sap-collaboration-teams")}}return Promise.resolve(s.toString())})};b.prototype._shareAsCard=async function(e){if(!e?.cardId||!e.cardId.length||!e.cardManifest||!this.isFeatureFlagEnabled()){this._updateUrl(e,{});return}let t={};try{try{const e=await p.load({name:"sap.suite.ui.commons.collaboration.CollaborationBusyDialog",controller:this,type:"XML"});w=e;w.open();I=setTimeout(()=>{w.close();w.destroy()},M)}catch(e){v.error("Fragment load failed: "+e.message)}t=await this._buildCardInfo(e)}catch(e){v.error("buildCardInfo failed: "+e.message)}finally{if(t&&Object.keys(t).length===0){v.warn("Card info could not be saved.")}this._updateUrl(e,t)}};b.prototype._buildCardInfo=async function(e){e.cardManifest.rtl=A.getRTL();const t=await l.postCard(e.cardId,e.cardManifest);let a={cardId:t.card_id,version:t.version};if(t.error){if(t.error.code==="APS_UI_MSG/001"){a.cardId=e.cardId;if(t.error.message.length>0){try{const e=JSON.parse(atob(t.error.message)).version;a.version=e}catch(e){a={}}}}else{a={}}}return a};b.prototype._updateUrl=async function(e,t){let a=e?.url||window.location.href;try{if(e.minifyUrlForChat){a=await this._getModifiedUrlForSharing(e)}else if(R.isShareAsTabEnabled&&this._providerConfig.isShareAsTabEnabled){const e=await this._modifyUrlForShareAsTab(a,"MST:C");a=await this._addNavmodeInUrl(e,"inplace")}}catch(e){v.error("Error while modifying URL for sharing: "+e.message)}finally{this._closeBusyDialogAndOpenTeamsDialog(a,e,t)}};b.prototype._getModifiedUrlForSharing=async function(e){const t=await r.compactHash(e.url,[]);let a=await this._modifyUrlForNavigationContext(e.url,t.url);let o=await this._modifyUrlForShareAsTab(e.url,"MST:C");const i=await r.compactHash(o,[]);const n=i.url.split("sap-url-hash=")[1];if(n){a+=`,${n}`}else{o=await this._modifyUrlForShareAsTab(a,"MST:C");a=await this._addNavmodeInUrl(o,"inplace")}return a};b.prototype._closeBusyDialog=function(){if(w){w.close();w.destroy();clearTimeout(I)}};b.prototype._closeBusyDialogAndOpenTeamsDialog=function(e,t,a){this._closeBusyDialog();const r=window.open("","_blank",x);r.opener=null;r.location=this._generateShareAsCardUrl(e,t.appTitle,a)};b.prototype._wildcardToRegExp=function(e){return new RegExp("^"+e.split("*").map(function(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}).join("[^.]+")+"$","i")};b.prototype._isValidDomain=function(e){try{const t=new URL(e).hostname;return B.some(e=>this._wildcardToRegExp(e).test(t))}catch(e){return false}};b.prototype._getCardInfoUrl=function(e,t,a){const r=this._isValidDomain(e);const o=t?.appTitle;if(r){return this._generateCardUnfurlingUrl(e,a,{appTitle:o})}else{return this._generateShareAsCardUrl(e,o,a)}};b.prototype._generateShareAsCardUrl=function(e,t,a){const r=this._generateCardUnfurlingUrl(e,a,{appTitle:t});return`${this._providerConfig.shareAsLinkUrl}?href=${encodeURIComponent(L+encodeURIComponent(r))}`};b.prototype._generateCardUnfurlingUrl=function(e,t,a){const r=[t.cardId||"",t.version||"",encodeURIComponent(a.appTitle||"")].filter(Boolean);return`${e}&${E}=${r.join(",")}`};b.prototype._getShareAsTabUrl=function(){return this._getApplicationID().then(function(e){return"https://teams.microsoft.com/l/entity/"+e+"/tab"})};b.prototype._getApplicationID=function(){const e=sap.ui.require("sap/ushell/Container");return e&&e.getServiceAsync("URLParsing").then(function(e){return r._getCurrentUrl().then(function(t){var a=t.split("#")[0];if(a.indexOf("?")!==-1){var r=e&&e.parseParameters(a.substring(a.indexOf("?")));if(r&&r["sap-collaboration-xx-TeamsAppId"]&&r["sap-collaboration-xx-TeamsAppId"][0]&&r["sap-collaboration-xx-TeamsAppId"][0].length>0){return Promise.resolve(r["sap-collaboration-xx-TeamsAppId"][0])}return Promise.resolve(O)}else{return Promise.resolve(O)}})})};b.prototype.isFeatureFlagEnabled=function(){const e=this._providerConfig.isShareAsCardEnabled;return e==="AUTHENABLE"};b.prototype.isContactsCollaborationSupported=function(){return true};b.prototype.enableContactsCollaboration=async function(e,t){const a=await r.isTeamsModeActive();const o=await g.fetchServiceStatus();if(e&&o.value&&o.value&&o.value[0].FetchContacts==="Active"){if(!this.oContactHelper){this.oContactHelper=new n}if(this._providerConfig.isDirectCommunicationEnabled==="ENABLED"){return this.oContactHelper.loadContactPopover(e,t,true)}else{return this.oContactHelper.loadContactPopover(e,t)}}else if(a||!e||this._providerConfig.isDirectCommunicationEnabled!=="ENABLED"){return Promise.reject()}else{if(!this.oContactHelper){this.oContactHelper=new n}return this.oContactHelper.loadMinimalContactPopover(e,t)}};b.prototype.getTeamsContactCollabOptions=async function(){const e=await r.isTeamsModeActive();if(e||this._providerConfig.isDirectCommunicationEnabled!=="ENABLED"){return Promise.reject()}if(!this.oContactHelper){this.oContactHelper=new n}return this.oContactHelper.getTeamsContactOptions()};b.prototype.getTeamsContactStatus=async function(e){const t=await r.isTeamsModeActive();if(t){return Promise.reject()}if(!this.oContactHelper){this.oContactHelper=new n}return this.oContactHelper.getTeamsContactStatus(e)};b.prototype.getCollaborationPopover=function(e,t,a,r,o){if(t.data===undefined||t.data.trim()===""){v.error("Popover cannnot be opened without data");return}var i={isShareAsLinkEnabled:e&&typeof e.isShareAsLinkEnabled!=="undefined"?e.isShareAsLinkEnabled:true};var n={shareToTeams:o&&typeof o.shareToTeams!=="undefined"?o.shareToTeams:true,shareToEmail:o&&typeof o.shareToEmail!=="undefined"?o.shareToEmail:true,shareToCM:o&&typeof o.shareToCM!=="undefined"?o.shareToCM:false};var l=[];if(s.system.desktop){if(i.isShareAsLinkEnabled){if(this._providerConfig.isShareAsLinkEnabled==="X"&&n.shareToTeams){l.push({text:U.getText("COLLABORATION_POPOVER_TEAMS"),icon:"sap-icon://discussion",key:"COLLABORATION_POPOVER_TEAMS"})}else{v.info("Share as Chat option is not enabled in the tenant")}}else{v.info("Consumer disable Share as Chat option")}}else{v.info("Share as Chat option is not supported in Phone and Tablet")}if(n.shareToEmail){l.push({text:U.getText("COLLABORATION_POPOVER_MAIL"),icon:"sap-icon://email",key:"COLLABORATION_POPOVER_MAIL"})}this.oCollaborationManager=new S;var p=this.oCollaborationManager.getOptions();if(p&&n.shareToCM){l.push({text:p.text,icon:p.icon,key:"COLLABORATION_POPOVER_CM"})}if(l.length===1&&!r&&l[0].key==="COLLABORATION_POPOVER_MAIL"){this._shareData(t,l[0],r);return}var c=this._getPopover(t,l,r);c.openBy(a)};b.prototype._getPopover=function(e,t,a){var r=new h({showHeader:false,placement:e.placement?e.placement:"Auto",verticalScrolling:false,horizontalScrolling:false,content:this._getPopoverContent(e,t,a)});return r};b.prototype._getPopoverContent=function(e,t,a){var r=new y({items:[],direction:T.FlexDirection.Column});var o=new y({direction:e.sFormat==="Vertical"?T.FlexDirection.Column:T.FlexDirection.Row,justifyContent:T.FlexJustifyContent.SpaceAround,items:[]});t.forEach(i=>{var n=new m({text:i.text,icon:i.icon,width:e.sFormat==="Horizontal"&&t.length===3?"120px":"180px",press:t=>{t.getSource().getParent().getParent().getParent().close();this._shareData(e,i,a)}}).addStyleClass("sapUiTinyMarginTop").addStyleClass("sapUiTinyMarginBegin");if(i.key==="COLLABORATION_POPOVER_TEAMS"){n.addStyleClass("sapSuiteUiCollaborationBarMSTeamsButton"+(e.sFormat?e.sFormat:"Horizontal"))}else if(i.key==="COLLABORATION_POPOVER_CM"){n.addStyleClass("sapSuiteUiCollaborationBarCMButton"+(e.sFormat?e.sFormat:"Horizontal"))}else{n.addStyleClass("sapSuiteUiCollaborationBarEmailButton"+(e.sFormat?e.sFormat:"Horizontal"))}o.addItem(n);r.addItem(o)});if(a){var i=new y({justifyContent:e.sFormat==="Vertical"?T.FlexJustifyContent.Center:T.FlexJustifyContent.SpaceBetween,alignItems:T.FlexAlignItems.Center,items:[new m({text:U.getText("COLLABORATION_POPOVER_COPYURL_BUTTON"),width:e.sFormat==="Vertical"?"150px":"",press:async()=>{await this._writeToClipBoard(e.data)}}).addStyleClass("sapUiTinyMarginBeginEnd")]});if(e.sFormat==="Horizontal"||e.sFormat===undefined){i.insertItem(new C({text:U.getText("COLLABORATION_POPOVER_MSGSTRIP"),showIcon:true}).addStyleClass("sapUiTinyMarginBeginEnd").addStyleClass("sapSuiteCollaborationBarMsgStrip"),0);i.addStyleClass("sapSuiteUiCollaborationBarMsgStripHBox")}i.addStyleClass("sapUiTinyMarginBeginEnd").addStyleClass("sapUiTinyMarginTopBottom");r.addItem(i)}if(e.sFormat==="Vertical"){o.setHeight(t.length>1?t.length*50+50+"px":"80px");o.addStyleClass("sapUiSmallMarginBottom").addStyleClass("sapUiTinyMarginEnd")}else{o.setHeight("110px");o.addStyleClass("sapUiTinyMarginEnd")}return r};b.prototype._writeToClipBoard=async function(e){try{await window.navigator.clipboard.writeText(e)}catch(e){v.info(e)}};b.prototype._shareData=function(e,t,a){if(t.key==="COLLABORATION_POPOVER_TEAMS"){if(a){var r={url:e.data,appTitle:e.title?e.title:"",subTitle:"",minifyUrlForChat:true};this._shareAsChat(r)}else{var o={appTitle:e.title?e.title:"",message:e.data,showPreview:typeof e.showPreview!=="undefined"?e.showPreview:true};this._shareSummary(o)}}else if(t.key==="COLLABORATION_POPOVER_MAIL"){sap.m.URLHelper.triggerEmail(null,e.title&&e.title.trim()!==""?e.title:null,e.data)}else if(t.key==="COLLABORATION_POPOVER_CM"){this.oCollaborationManager.triggerH2HChat(e.title,e.data)}};b.prototype._shareSummary=function(e){var t={subEntityId:{appTitle:e.appTitle,mode:"summary",message:e.message,showPreview:e.showPreview}};var a=this._providerConfig.shareAsTabUrl+"?&context="+encodeURIComponent(JSON.stringify(t));sap.m.URLHelper.redirect(a,true)};b.prototype._shareToEmail=async function(e){let t=e?.url||window.location.href;try{t=await this._getUnfurlingUrl(e)}catch(e){v.error("getUnfurlingUrl failed: "+e.message)}const a=e?.appTitle?.trim()?e.appTitle:null;sap.m.URLHelper.triggerEmail(null,a,t)};b.prototype._shareAsChatFromCollabBar=async function(e){try{await this._shareAsCard(e)}catch(e){v.error("Failed to share card from collaboration bar: "+e.message)}};b.prototype._copyLink=async function(e){let t=e?.url||window.location.href;try{t=await this._getUnfurlingUrl(e)}catch(e){v.error("getUnfurlingUrl failed: "+e.message)}this._copyCardUrlToClipboard(t)};b.prototype._copyCardUrlToClipboard=async function(e){try{if(typeof window.navigator!=="undefined"&&window.navigator.clipboard&&typeof window.navigator.clipboard.writeText==="function"){try{await window.navigator.clipboard.writeText(e);v.info("Card URL copied to clipboard successfully.");sap.m.MessageToast.show(U.getText("COLLABORATION_POPOVER_MSGSTRIP_SUCCESS"))}catch(e){v.error("Clipboard write failed: "+e.message)}}else{v.error("Clipboard API is not available.")}}catch(e){v.error("Failed to generate or copy Card URL",e)}};b.prototype._getUnfurlingUrl=async function(e){if(!e?.cardId||!e.cardId.length||!e.cardManifest||!this.isFeatureFlagEnabled()){return this._generateUnfurlingUrl(e,{})}let t="";let a={};try{try{const e=await p.load({name:"sap.suite.ui.commons.collaboration.CollaborationBusyDialog",controller:this,type:"XML"});w=e;w.open();I=setTimeout(()=>{w.close();w.destroy()},M)}catch(e){v.error("Fragment load failed: "+e.message)}a=await this._buildCardInfo(e)}catch(e){v.error("buildCardInfo failed: "+e.message)}finally{if(a&&Object.keys(a).length===0){v.warn("Card info could not be saved.")}t=this._generateUnfurlingUrl(e,a);this._closeBusyDialog()}return t};b.prototype._generateUnfurlingUrl=async function(e,t){let a=e?.url||window.location.href;try{if(e?.minifyUrlForChat){a=await this._getModifiedUrlForSharing(e)}else if(R.isShareAsTabEnabled&&this._providerConfig.isShareAsTabEnabled){const e=await this._modifyUrlForShareAsTab(a,"MST:C");a=await this._addNavmodeInUrl(e,"inplace")}}catch(e){v.error("Error while modifying URL for sharing: "+e.message)}return this._getCardInfoUrl(a,e,t)};b.prototype.shareContactCard=async function(e,t){const a=e.displayname||e.mail||"Contact";const o=window.location.href;let i={};if(t&&t.cardId&&t.cardManifest){try{const e=await p.load({name:"sap.suite.ui.commons.collaboration.CollaborationBusyDialog",controller:this,type:"XML"});w=e;w.open();I=setTimeout(()=>{if(w){w.close();w.destroy()}},M);i=await this._buildCardInfo(t)}catch(e){v.error("Failed to save contact card: "+e.message)}}let n=o;try{const e={url:o,minifyUrlForChat:true};n=await this._getModifiedUrlForSharing(e)}catch(e){v.error("Error while modifying URL for contact card sharing: "+e.message)}finally{this._closeBusyDialog();const e=window.open("","_blank",x);e.opener=null;if(i&&Object.keys(i).length>0){const t=this._generateShareAsCardUrl(n,a,i);e.location=t}else{e.location=this._providerConfig.shareAsLinkUrl+"?msgText="+encodeURIComponent(a)+"&preview=false"}}};return b});
28
28
  },
29
29
  "sap/suite/ui/commons/collaboration/UniversalCollaborationBar.js":function(){
30
30
  sap.ui.define(["sap/base/Log","sap/ui/Device","sap/ui/core/Lib","sap/m/Menu","sap/m/MenuItem","sap/ui/performance/trace/FESRHelper"],function(e,t,a,s,n,o){const i="COLLABORATION_POPOVER_MAIL";const r="COLLABORATION_MSTEAMS_SHARE";const l="COLLABORATION_POPOVER_CHAT";const u="COLLABORATION_POPOVER_TAB";const c="COLLABORATION_POPOVER_MANAGER";const p="COLLABORATION_POPOVER_COPYURL_BUTTON";var h=s.extend("sap.suite.ui.commons.collaboration.UniversalCollaborationBar",{metadata:{properties:{shareToEmailEnabled:{type:"boolean",defaultValue:true},shareAsChatEnabled:{type:"boolean",defaultValue:false},shareAsTabEnabled:{type:"boolean",defaultValue:false},shareToCollaborationManagerEnabled:{type:"boolean",defaultValue:false},copyLinkEnabled:{type:"boolean",defaultValue:true}},events:{shareToChatSelected:{},shareToTabSelected:{},copyLinkSelected:{},shareToEmailSelected:{},shareToCollaborationManagerSelected:{}}},init:function(){sap.m.Menu.prototype.init.apply(this,arguments);this._mActionHandlers={[i]:(...e)=>{if(this.hasListeners("shareToEmailSelected")){this.fireShareToEmailSelected({args:e})}else{this._shareToEmail(...e)}},[l]:()=>this.fireShareToChatSelected(),[u]:()=>this.fireShareToTabSelected(),[c]:()=>this.fireShareToCollaborationManagerSelected(),[p]:(...e)=>{if(this.hasListeners("copyLinkSelected")){this.fireCopyLinkSelected({args:e})}else{this._toCopyUrl(...e)}}};this._oLogger=e.getLogger("sap.suite.ui.commons.collaboration.UniversalCollaborationBar");this._oResourceBundle=a.getResourceBundleFor("sap.suite.ui.commons");this.addStyleClass("sapSuiteCollaborationBarMenu")},openBy:function(){if(!this.getItems().length){this._renderMenuItems()}return sap.m.Menu.prototype.openBy.apply(this,arguments)},_renderMenuItems:async function(){const e=await this._getCollaborationPopoverOptions();const t=this._getMenuItems(e);t.forEach(e=>this.addItem(e))},_getTeamsHelperService:async function(){if(!this._oTeamsHelperService){const e=sap.ui.require("sap/suite/ui/commons/collaboration/ServiceContainer");this._oTeamsHelperService=await e.getServiceAsync()}return this._oTeamsHelperService},_getMenuItems:function(e){const t=[];e.forEach(e=>{const a=this._createMenuItem(e.icon,e.text,e.key,e.fesrStepName,e.styleClass);(e.subOptions||[]).forEach(e=>{const t=this._createMenuItem(e.icon,e.text,e.key,e.fesrStepName,e.styleClass);a.addItem(t)});t.push(a)});return t},_createMenuItem:function(e,t,a,s,i){const r={icon:e,text:t,key:a};const l=new n(r);l.attachPress(()=>{const e=this._mActionHandlers[a];if(e){e()}});if(s){o.setSemanticStepname(l,"press",s)}l.addEventDelegate({onAfterRendering:()=>{const e=l.getDomRef();if(e&&i){e.classList.add(i)}}});return l},_createOption:function(e,t,a,{fesrStepName:s="",subOptions:n=[]}={}){const o={text:this._oResourceBundle.getText(e),icon:t,key:e,styleClass:a};if(s){o.fesrStepName=s}if(n.length>0){o.subOptions=n}return o},_getCollaborationPopoverOptions:async function(){const e={isShareAsChatEnabled:this.getShareAsChatEnabled(),isShareAsTabEnabled:this.getShareAsTabEnabled(),isCopyLinkEnabled:this.getCopyLinkEnabled(),isShareToEmailEnabled:this.getShareToEmailEnabled(),isShareToCMEnabled:this.getShareToCollaborationManagerEnabled()};let t={};try{const e=await this._getTeamsHelperService();t=e._providerConfig}catch(e){this._oLogger.error("Error fetching TeamsHelperService:",e)}const a=[];let s=[];const n=[{key:i,icon:"sap-icon://email",styleClass:"sapSuiteUiCommonsCollaborationMail",consumerEnabled:e.isShareToEmailEnabled,providerEnabled:true,fesrStep:"",featureName:"Email",group:"menu"},{key:l,icon:"sap-icon://discussion",styleClass:"sapSuiteUiCommonsCollaborationChat",consumerEnabled:e.isShareAsChatEnabled,providerEnabled:t.isShareAsLinkEnabled==="X",fesrStep:"MST:ShareAsLink",featureName:"Share as Chat",desktopOnly:true,group:"subMenu"},{key:u,icon:"sap-icon://image-viewer",styleClass:"sapSuiteUiCommonsCollaborationTab",consumerEnabled:e.isShareAsTabEnabled,providerEnabled:t.isShareAsTabEnabled==="X",fesrStep:"MST:ShareAsTab",featureName:"Share as Tab",desktopOnly:true,group:"subMenu"},{key:r,icon:"sap-icon://citizen-connect",styleClass:"sapSuiteUiCommonsCollaborationMSTeamsShare",consumerEnabled:true,providerEnabled:true,isParentOfGroup:"subMenu",group:"menu"},{key:c,icon:"sap-icon://collaborate",styleClass:"sapSuiteUiCommonsCollaborationManager",consumerEnabled:e.isShareToCMEnabled,providerEnabled:true,fesrStep:"",featureName:"Collaboration Manager",group:"menu"},{key:p,icon:"sap-icon://chain-link",styleClass:"sapSuiteUiCommonsCollaborationLink",consumerEnabled:e.isCopyLinkEnabled,providerEnabled:true,fesrStep:"",featureName:"Copy link",desktopOnly:true,group:"menu"}];n.forEach(e=>{if(e.group==="subMenu"){const t=this._createOptionIfEnabled(e);if(t){s.push(t)}return}if(e.isParentOfGroup==="subMenu"){if(s.length>0){e.subOptions=s;s=[]}}const t=this._createOptionIfEnabled(e);if(t){a.push(t)}});return a},_createOptionIfEnabled:function(e){if(e.desktopOnly&&!t.system.desktop){this._oLogger.info(`${e.featureName} option is not supported in Phone and Tablet`);return null}if(!e.consumerEnabled){this._oLogger.info(`Consumer disabled ${e.featureName} option`);return null}if(!e.providerEnabled){this._oLogger.info(`${e.featureName} option is not enabled in the tenant`);return null}return this._createOption(e.key,e.icon,e.styleClass,{fesrStepName:e.fesrStep,subOptions:e.subOptions})},_shareToEmail:async function(){const e=await this._getTeamsHelperService();e._shareToEmail()},_toCopyUrl:async function(){const e=await this._getTeamsHelperService();e._copyLink()}});return h});
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  *
23
23
  * @constructor
24
24
  * @alias sap.suite.ui.commons.flexibility.changeHandler.PropertyChangeMapper
25
- * @version 1.149.0
25
+ * @version 1.150.0
26
26
  * @since 1.50
27
27
  * @private
28
28
  */
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @extends sap.suite.ui.commons.imageeditor.HistoryItem
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.149.0
31
+ * @version 1.150.0
32
32
  * @since 1.67.0
33
33
  *
34
34
  * @constructor
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @extends sap.suite.ui.commons.imageeditor.HistoryItem
31
31
  *
32
32
  * @author SAP SE
33
- * @version 1.149.0
33
+ * @version 1.150.0
34
34
  * @since 1.66.0
35
35
  *
36
36
  * @constructor
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @extends sap.suite.ui.commons.imageeditor.HistoryItem
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.149.0
31
+ * @version 1.150.0
32
32
  * @since 1.66.0
33
33
  *
34
34
  * @constructor
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  * @extends sap.ui.core.Element
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.149.0
25
+ * @version 1.150.0
26
26
  * @since 1.66.0
27
27
  *
28
28
  * @constructor
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @extends sap.suite.ui.commons.imageeditor.HistoryItem
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.149.0
31
+ * @version 1.150.0
32
32
  * @since 1.66.0
33
33
  *
34
34
  * @constructor
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @extends sap.suite.ui.commons.imageeditor.HistoryItem
26
26
  *
27
27
  * @author SAP SE
28
- * @version 1.149.0
28
+ * @version 1.150.0
29
29
  * @since 1.66.0
30
30
  *
31
31
  * @constructor
@@ -18,7 +18,7 @@ sap.ui.define([
18
18
  * @extends sap.ui.base.Object
19
19
  *
20
20
  * @author SAP SE
21
- * @version 1.149.0
21
+ * @version 1.150.0
22
22
  * @since 1.66.0
23
23
  *
24
24
  * @abstract
@@ -50,7 +50,7 @@ sap.ui.define([
50
50
  * @extends sap.ui.core.Control
51
51
  *
52
52
  * @author SAP SE
53
- * @version 1.149.0
53
+ * @version 1.150.0
54
54
  * @since 1.66.0
55
55
  *
56
56
  * @constructor
@@ -162,7 +162,7 @@ sap.ui.define([
162
162
  * @extends sap.ui.core.Control
163
163
  *
164
164
  * @author SAP SE
165
- * @version 1.149.0
165
+ * @version 1.150.0
166
166
  * @since 1.66.0
167
167
  *
168
168
  * @constructor
@@ -34,7 +34,7 @@ sap.ui.define([
34
34
  * @extends sap.suite.ui.commons.imageeditor.ImageEditorContainer
35
35
  *
36
36
  * @author SAP SE
37
- * @version 1.149.0
37
+ * @version 1.150.0
38
38
  * @since 1.68.0
39
39
  *
40
40
  * @constructor
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @extends sap.suite.ui.commons.imageeditor.HistoryItem
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.149.0
31
+ * @version 1.150.0
32
32
  * @since 1.66.0
33
33
  *
34
34
  * @constructor
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @extends sap.suite.ui.commons.imageeditor.HistoryItem
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.149.0
26
+ * @version 1.150.0
27
27
  * @since 1.66.0
28
28
  *
29
29
  * @constructor
@@ -198,7 +198,7 @@ sap.ui.define([
198
198
  "sap.suite.ui.commons.TargetFilterMeasureColumn",
199
199
  "sap.suite.ui.commons.AriaProperties"
200
200
  ],
201
- version: "1.149.0",
201
+ version: "1.150.0",
202
202
  extensions: {
203
203
  flChangeHandlers: {
204
204
  "sap.suite.ui.commons.Timeline": "sap/suite/ui/commons/flexibility/Timeline"
@@ -260,6 +260,8 @@ TIMELINE_SHOW_MORE=Show More
260
260
  TIMELINE_TEXT_SHOW_MORE=more
261
261
  #XLNK: Link to allow the user to hide line post
262
262
  TIMELINE_TEXT_SHOW_LESS=less
263
+ #XMSG: Screen reader announcement for link activation instruction
264
+ TIMELINE_LINK_ACTIVATE_INSTRUCTION=link, press Enter to activate
263
265
  #XMSG: process flow error message
264
266
  PF_ERROR_INPUT_DATA=Error loading data
265
267
  #XFLD: text for group text
@@ -1130,6 +1132,8 @@ POPOVER_CONTACT_COPY_EMAIL=Copy
1130
1132
  POPOVER_CONTACT_COPY_EMAIL_SUCCESS=E-Mail copied to clipboard
1131
1133
  #XMSG: Message Toast for email not copied
1132
1134
  POPOVER_CONTACT_COPY_EMAIL_ERROR=E-Mail could not be copied to clipboard
1135
+ #XTOL: Tooltip for Share to Teams Button
1136
+ POPOVER_CONTACT_SHARE_TEAMS=Share to MS Teams
1133
1137
 
1134
1138
  POPOVER_CONTACT_DETAILS=Contact Details
1135
1139
 
@@ -136,6 +136,7 @@ TIMELINE_ADD_POST=\u0625\u0636\u0627\u0641\u0629 \u0645\u0634\u0627\u0631\u0643\
136
136
  TIMELINE_SHOW_MORE=\u0625\u0638\u0647\u0627\u0631 \u0627\u0644\u0645\u0632\u064A\u062F
137
137
  TIMELINE_TEXT_SHOW_MORE=\u0627\u0644\u0645\u0632\u064A\u062F
138
138
  TIMELINE_TEXT_SHOW_LESS=\u0623\u0642\u0644
139
+ TIMELINE_LINK_ACTIVATE_INSTRUCTION=\u0627\u0631\u062A\u0628\u0627\u0637\u060C \u0627\u0636\u063A\u0637 \u0639\u0644\u0649 Enter \u0644\u0644\u062A\u0646\u0634\u064A\u0637
139
140
  PF_ERROR_INPUT_DATA=\u062E\u0637\u0623 \u0623\u062B\u0646\u0627\u0621 \u062A\u062D\u0645\u064A\u0644 \u0627\u0644\u0628\u064A\u0627\u0646\u0627\u062A
140
141
  TIMELINE_GROUP_TEXT=\u0645\u0646\u0634\u0648\u0631\u0627\u062A \u0645\u0646
141
142
  TIMELINE_CUSTOM_RANGE=\u0627\u0644\u0646\u0637\u0627\u0642 \u0627\u0644\u0645\u062E\u0635\u0635
@@ -595,6 +596,7 @@ POPOVER_CANCEL=\u0625\u0644\u063A\u0627\u0621
595
596
  POPOVER_CONTACT_COPY_EMAIL=\u0646\u0633\u062E
596
597
  POPOVER_CONTACT_COPY_EMAIL_SUCCESS=\u062A\u0645 \u0646\u0633\u062E \u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A \u0625\u0644\u0649 \u0627\u0644\u062D\u0627\u0641\u0638\u0629
597
598
  POPOVER_CONTACT_COPY_EMAIL_ERROR=\u062A\u0639\u0630\u0631 \u0646\u0633\u062E \u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A \u0625\u0644\u0649 \u0627\u0644\u062D\u0627\u0641\u0638\u0629
599
+ POPOVER_CONTACT_SHARE_TEAMS=\u0645\u0634\u0627\u0631\u0643\u0629 \u0625\u0644\u0649 MS Teams
598
600
 
599
601
  POPOVER_CONTACT_DETAILS=\u062A\u0641\u0627\u0635\u064A\u0644 \u062C\u0647\u0629 \u0627\u0644\u0627\u062A\u0635\u0627\u0644
600
602
 
@@ -136,6 +136,7 @@ TIMELINE_ADD_POST=\u0414\u043E\u0431\u0430\u0432\u044F\u043D\u0435 \u043D\u0430
136
136
  TIMELINE_SHOW_MORE=\u041F\u043E\u043A\u0430\u0437\u0432\u041F\u043E\u0432\u0435\u0447\u0435
137
137
  TIMELINE_TEXT_SHOW_MORE=\u043F\u043E\u0432\u0435\u0447\u0435
138
138
  TIMELINE_TEXT_SHOW_LESS=\u043F\u043E-\u043C\u0430\u043B\u043A\u043E
139
+ TIMELINE_LINK_ACTIVATE_INSTRUCTION=\u0432\u0440\u044A\u0437\u043A\u0430, \u043D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 \u201EEnter\u201C, \u0437\u0430 \u0434\u0430 \u0430\u043A\u0442\u0438\u0432\u0438\u0440\u0430\u0442\u0435
139
140
  PF_ERROR_INPUT_DATA=\u0413\u0440\u0435\u0448\u043A\u0430 \u043F\u0440\u0438 \u0437\u0430\u0440\u0435\u0436\u0434\u0430\u043D\u0435 \u043D\u0430 \u0434\u0430\u043D\u043D\u0438
140
141
  TIMELINE_GROUP_TEXT=\u041F\u0443\u0431\u043B\u0438\u043A\u0430\u0446\u0438\u0438 \u043E\u0442
141
142
  TIMELINE_CUSTOM_RANGE=\u0414\u0438\u0430\u043F\u0430\u0437\u043E\u043D, \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0438\u043C \u043E\u0442 \u043F\u043E\u0442\u0440\u0435\u0431\u0438\u0442\u0435\u043B
@@ -595,6 +596,7 @@ POPOVER_CANCEL=\u041E\u0442\u043A\u0430\u0437
595
596
  POPOVER_CONTACT_COPY_EMAIL=\u041A\u043E\u043F\u0438\u0440\u0430\u043D\u0435
596
597
  POPOVER_CONTACT_COPY_EMAIL_SUCCESS=\u0418\u043C\u0435\u0439\u043B\u044A\u0442 \u0435 \u043A\u043E\u043F\u0438\u0440\u0430\u043D \u0432 \u043A\u043B\u0438\u043F\u0431\u043E\u0440\u0434\u0430
597
598
  POPOVER_CONTACT_COPY_EMAIL_ERROR=\u0418\u043C\u0435\u0439\u043B\u044A\u0442 \u043D\u0435 \u043C\u043E\u0436\u0435 \u0434\u0430 \u0431\u044A\u0434\u0435 \u043A\u043E\u043F\u0438\u0440\u0430\u043D \u0432 \u043A\u043B\u0438\u043F\u0431\u043E\u0440\u0434\u0430
599
+ POPOVER_CONTACT_SHARE_TEAMS=\u0421\u043F\u043E\u0434\u0435\u043B\u044F\u043D\u0435 \u0432 MS Teams
598
600
 
599
601
  POPOVER_CONTACT_DETAILS=\u041F\u043E\u0434\u0440\u043E\u0431\u043D\u0438 \u0434\u0430\u043D\u043D\u0438 \u0437\u0430 \u043B\u0438\u0446\u0435 \u0437\u0430 \u043A\u043E\u043D\u0442\u0430\u043A\u0442
600
602
 
@@ -136,6 +136,7 @@ TIMELINE_ADD_POST=Afegir contribuci\u00F3 de SAP Jam
136
136
  TIMELINE_SHOW_MORE=Visual.m\u00E9s
137
137
  TIMELINE_TEXT_SHOW_MORE=m\u00E9s
138
138
  TIMELINE_TEXT_SHOW_LESS=menys
139
+ TIMELINE_LINK_ACTIVATE_INSTRUCTION=enlla\u00E7, premeu Retorn per activar
139
140
  PF_ERROR_INPUT_DATA=Error en carregar les dades
140
141
  TIMELINE_GROUP_TEXT=Publicacions de
141
142
  TIMELINE_CUSTOM_RANGE=Interval personalitzat
@@ -595,6 +596,7 @@ POPOVER_CANCEL=Cancel\u00B7lar
595
596
  POPOVER_CONTACT_COPY_EMAIL=Copiar
596
597
  POPOVER_CONTACT_COPY_EMAIL_SUCCESS=L'adre\u00E7a electr\u00F2nica s'ha copiat al porta-retalls
597
598
  POPOVER_CONTACT_COPY_EMAIL_ERROR=No s'ha pogut copiar l'adre\u00E7a electr\u00F2nica al porta-retalls
599
+ POPOVER_CONTACT_SHARE_TEAMS=Compartir a MS Teams
598
600
 
599
601
  POPOVER_CONTACT_DETAILS=Dades de contacte
600
602
 
@@ -136,6 +136,7 @@ TIMELINE_ADD_POST=Dodaj objavu u SAP Jam-u
136
136
  TIMELINE_SHOW_MORE=Poka\u017Ei vi\u0161e
137
137
  TIMELINE_TEXT_SHOW_MORE=vi\u0161e
138
138
  TIMELINE_TEXT_SHOW_LESS=Manje
139
+ TIMELINE_LINK_ACTIVATE_INSTRUCTION=Veza; pritisnite dugme Enter da biste aktivirali.
139
140
  PF_ERROR_INPUT_DATA=Gre\u0161ka pri u\u010Ditavanju podataka
140
141
  TIMELINE_GROUP_TEXT=Objave od
141
142
  TIMELINE_CUSTOM_RANGE=Korisni\u010Dki definisani raspon
@@ -595,6 +596,7 @@ POPOVER_CANCEL=Odustani
595
596
  POPOVER_CONTACT_COPY_EMAIL=Kopiraj
596
597
  POPOVER_CONTACT_COPY_EMAIL_SUCCESS=E-po\u0161ta kopirana u prelaznu memoriju
597
598
  POPOVER_CONTACT_COPY_EMAIL_ERROR=E-po\u0161ta se ne mo\u017Ee kopirati u prelaznu memoriju
599
+ POPOVER_CONTACT_SHARE_TEAMS=Podijelite na MS Teams
598
600
 
599
601
  POPOVER_CONTACT_DETAILS=Detalji o kontaktu
600
602
 
@@ -136,6 +136,7 @@ TIMELINE_ADD_POST=P\u0159idat SAP Jam Post
136
136
  TIMELINE_SHOW_MORE=Uk\u00E1zat v\u00EDce
137
137
  TIMELINE_TEXT_SHOW_MORE=v\u00EDce
138
138
  TIMELINE_TEXT_SHOW_LESS=m\u00E9n\u011B
139
+ TIMELINE_LINK_ACTIVATE_INSTRUCTION=odkaz, pro aktivaci stiskn\u011Bte Enter
139
140
  PF_ERROR_INPUT_DATA=Chyba p\u0159i zav\u00E1d\u011Bn\u00ED dat
140
141
  TIMELINE_GROUP_TEXT=Polo\u017Eky od
141
142
  TIMELINE_CUSTOM_RANGE=Vlastn\u00ED rozsah
@@ -595,6 +596,7 @@ POPOVER_CANCEL=Zru\u0161it
595
596
  POPOVER_CONTACT_COPY_EMAIL=Kop\u00EDrovat
596
597
  POPOVER_CONTACT_COPY_EMAIL_SUCCESS=E-mail je zkop\u00EDrov\u00E1n do schr\u00E1nky
597
598
  POPOVER_CONTACT_COPY_EMAIL_ERROR=E-mail nebylo mo\u017En\u00E9 zkop\u00EDrovat do schr\u00E1nky
599
+ POPOVER_CONTACT_SHARE_TEAMS=Sd\u00EDlet s MS Teams
598
600
 
599
601
  POPOVER_CONTACT_DETAILS=Detaily kontaktu
600
602
 
@@ -136,6 +136,7 @@ TIMELINE_ADD_POST=Ychwanegu Post SAP Jam
136
136
  TIMELINE_SHOW_MORE=Dangos Mwy
137
137
  TIMELINE_TEXT_SHOW_MORE=mwy
138
138
  TIMELINE_TEXT_SHOW_LESS=llai
139
+ TIMELINE_LINK_ACTIVATE_INSTRUCTION=dolen, pwyswch Enter er mwyn ysgogi
139
140
  PF_ERROR_INPUT_DATA=Gwall wrth lwytho data
140
141
  TIMELINE_GROUP_TEXT=Postiadau O
141
142
  TIMELINE_CUSTOM_RANGE=Ystod Bersonol
@@ -595,6 +596,7 @@ POPOVER_CANCEL=Canslo
595
596
  POPOVER_CONTACT_COPY_EMAIL=Cop\u00EFo
596
597
  POPOVER_CONTACT_COPY_EMAIL_SUCCESS=Wedi cop\u00EFo'r e-bost i'r clipfwrdd
597
598
  POPOVER_CONTACT_COPY_EMAIL_ERROR=Dim modd cop\u00EFo'r e-bost i'r clipfwrdd
599
+ POPOVER_CONTACT_SHARE_TEAMS=Rhannu i MS Teams
598
600
 
599
601
  POPOVER_CONTACT_DETAILS=Manylion Cyswllt
600
602
 
@@ -136,6 +136,7 @@ TIMELINE_ADD_POST=Tilf\u00F8j SAP Jam-indl\u00E6g
136
136
  TIMELINE_SHOW_MORE=Vis mere
137
137
  TIMELINE_TEXT_SHOW_MORE=mere
138
138
  TIMELINE_TEXT_SHOW_LESS=mindre
139
+ TIMELINE_LINK_ACTIVATE_INSTRUCTION=link, tryk p\u00E5 Enter for at aktivere
139
140
  PF_ERROR_INPUT_DATA=Fejl ved indl\u00E6sning af data
140
141
  TIMELINE_GROUP_TEXT=Indl\u00E6g fra
141
142
  TIMELINE_CUSTOM_RANGE=Brugerdefineret omr\u00E5de
@@ -595,6 +596,7 @@ POPOVER_CANCEL=Annuller
595
596
  POPOVER_CONTACT_COPY_EMAIL=Kopi\u00E9r
596
597
  POPOVER_CONTACT_COPY_EMAIL_SUCCESS=E-mail kopieret til udklipsholder
597
598
  POPOVER_CONTACT_COPY_EMAIL_ERROR=E-mail kunne ikke kopieres til udklipsholder
599
+ POPOVER_CONTACT_SHARE_TEAMS=Del med MS Teams
598
600
 
599
601
  POPOVER_CONTACT_DETAILS=Kontaktdata
600
602
 
@@ -136,6 +136,7 @@ TIMELINE_ADD_POST=SAP Jam Post hinzuf\u00FCgen
136
136
  TIMELINE_SHOW_MORE=Mehr anzeigen
137
137
  TIMELINE_TEXT_SHOW_MORE=weitere
138
138
  TIMELINE_TEXT_SHOW_LESS=weniger
139
+ TIMELINE_LINK_ACTIVATE_INSTRUCTION=link, press Enter to activate
139
140
  PF_ERROR_INPUT_DATA=Fehler beim Laden der Daten
140
141
  TIMELINE_GROUP_TEXT=Posts von
141
142
  TIMELINE_CUSTOM_RANGE=Eigener Bereich
@@ -595,6 +596,7 @@ POPOVER_CANCEL=Abbrechen
595
596
  POPOVER_CONTACT_COPY_EMAIL=Kopieren
596
597
  POPOVER_CONTACT_COPY_EMAIL_SUCCESS=E-Mail in Zwischenablage kopiert
597
598
  POPOVER_CONTACT_COPY_EMAIL_ERROR=E-Mail konnte nicht in die Zwischenablage kopiert werden
599
+ POPOVER_CONTACT_SHARE_TEAMS=Mit MS Teams teilen
598
600
 
599
601
  POPOVER_CONTACT_DETAILS=Kontaktdetails
600
602
 
@@ -136,6 +136,7 @@ TIMELINE_ADD_POST=\u03A0\u03C1\u03BF\u03C3\u03B8.\u039A\u03B1\u03C4.SAP Jam
136
136
  TIMELINE_SHOW_MORE=\u0395\u03BC\u03C6.\u03A0\u03B5\u03C1.
137
137
  TIMELINE_TEXT_SHOW_MORE=\u03C0\u03B5\u03C1\u03B9\u03C3\u03C3\u03CC\u03C4\u03B5\u03C1\u03B1
138
138
  TIMELINE_TEXT_SHOW_LESS=\u03BB\u03B9\u03B3\u03CC\u03C4\u03B5\u03C1\u03B1
139
+ TIMELINE_LINK_ACTIVATE_INSTRUCTION=\u03C3\u03CD\u03BD\u03B4\u03B5\u03C3\u03B7, \u03C0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 Enter \u03B3\u03B9\u03B1 \u03B5\u03BD\u03B5\u03C1\u03B3\u03BF\u03C0\u03BF\u03AF\u03B7\u03C3\u03B7
139
140
  PF_ERROR_INPUT_DATA=\u039B\u03AC\u03B8\u03BF\u03C2 \u03BA\u03B1\u03C4\u03AC \u03C4\u03B7 \u03C6\u03CC\u03C1\u03C4\u03C9\u03C3\u03B7 \u03B4\u03B5\u03B4\u03BF\u03BC\u03AD\u03BD\u03C9\u03BD
140
141
  TIMELINE_GROUP_TEXT=\u039A\u03B1\u03C4\u03B1\u03C7\u03C9\u03C1\u03AF\u03C3\u03B5\u03B9\u03C2 \u0391\u03C0\u03CC
141
142
  TIMELINE_CUSTOM_RANGE=\u0395\u03CD\u03C1\u03BF\u03C2 \u03A0\u03B1\u03C1\u03B1\u03BC\u03B5\u03C4\u03C1\u03BF\u03C0\u03BF\u03AF\u03B7\u03C3\u03B7\u03C2
@@ -595,6 +596,7 @@ POPOVER_CANCEL=\u0391\u03BA\u03CD\u03C1\u03C9\u03C3\u03B7
595
596
  POPOVER_CONTACT_COPY_EMAIL=\u0391\u03BD\u03C4\u03B9\u03B3\u03C1\u03B1\u03C6\u03AE
596
597
  POPOVER_CONTACT_COPY_EMAIL_SUCCESS=E-mail \u03B1\u03BD\u03C4\u03B9\u03B3\u03C1\u03AC\u03C6\u03B7\u03BA\u03B5 \u03C3\u03B5 \u03C0\u03C1\u03CC\u03C7\u03B5\u03B9\u03C1\u03BF
597
598
  POPOVER_CONTACT_COPY_EMAIL_ERROR=E-mail \u03B4\u03B5\u03BD \u03B1\u03BD\u03C4\u03B9\u03B3\u03C1\u03AC\u03C6\u03B7\u03BA\u03B5 \u03C3\u03B5 \u03C0\u03C1\u03CC\u03C7\u03B5\u03B9\u03C1\u03BF
599
+ POPOVER_CONTACT_SHARE_TEAMS=\u039A\u03BF\u03B9\u03BD\u03BF\u03C0\u03BF\u03AF\u03B7\u03C3\u03B7 \u03C3\u03B5 \u039F\u03BC\u03AC\u03B4\u03B5\u03C2 MS
598
600
 
599
601
  POPOVER_CONTACT_DETAILS=\u039B\u03B5\u03C0\u03C4\u03BF\u03BC\u03AD\u03C1\u03B5\u03B9\u03B5\u03C2 \u0395\u03C0\u03B1\u03C6\u03AE\u03C2
600
602
 
@@ -136,6 +136,7 @@ TIMELINE_ADD_POST=Add SAP Jam Post
136
136
  TIMELINE_SHOW_MORE=Show More
137
137
  TIMELINE_TEXT_SHOW_MORE=more
138
138
  TIMELINE_TEXT_SHOW_LESS=less
139
+ TIMELINE_LINK_ACTIVATE_INSTRUCTION=link, press Enter to activate
139
140
  PF_ERROR_INPUT_DATA=Error loading data
140
141
  TIMELINE_GROUP_TEXT=Posts From
141
142
  TIMELINE_CUSTOM_RANGE=Custom Range
@@ -595,6 +596,7 @@ POPOVER_CANCEL=Cancel
595
596
  POPOVER_CONTACT_COPY_EMAIL=Copy
596
597
  POPOVER_CONTACT_COPY_EMAIL_SUCCESS=E-mail copied to clipboard
597
598
  POPOVER_CONTACT_COPY_EMAIL_ERROR=E-mail could not be copied to clipboard
599
+ POPOVER_CONTACT_SHARE_TEAMS=Share to MS Teams
598
600
 
599
601
  POPOVER_CONTACT_DETAILS=Contact Details
600
602
 
@@ -136,6 +136,7 @@ TIMELINE_ADD_POST=Add SAP Jam Post
136
136
  TIMELINE_SHOW_MORE=Show More
137
137
  TIMELINE_TEXT_SHOW_MORE=more
138
138
  TIMELINE_TEXT_SHOW_LESS=less
139
+ TIMELINE_LINK_ACTIVATE_INSTRUCTION=link, press Enter to activate
139
140
  PF_ERROR_INPUT_DATA=Error loading data
140
141
  TIMELINE_GROUP_TEXT=Posts From
141
142
  TIMELINE_CUSTOM_RANGE=Custom Range
@@ -595,6 +596,7 @@ POPOVER_CANCEL=Cancel
595
596
  POPOVER_CONTACT_COPY_EMAIL=Copy
596
597
  POPOVER_CONTACT_COPY_EMAIL_SUCCESS=E-mail copied to clipboard
597
598
  POPOVER_CONTACT_COPY_EMAIL_ERROR=E-mail could not be copied to clipboard
599
+ POPOVER_CONTACT_SHARE_TEAMS=Share to MS Teams
598
600
 
599
601
  POPOVER_CONTACT_DETAILS=Contact Details
600
602