@sapui5/sap.ui.vk 1.123.0 → 1.124.1

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 (272) hide show
  1. package/LICENSE.txt +13 -10
  2. package/README.md +1 -1
  3. package/package.json +1 -1
  4. package/src/sap/ui/vk/.library +1 -1
  5. package/src/sap/ui/vk/AnimationPlayback.js +1 -1
  6. package/src/sap/ui/vk/AnimationPlayer.js +1 -1
  7. package/src/sap/ui/vk/AnimationSequence.js +1 -1
  8. package/src/sap/ui/vk/AnimationTimeSlider.js +1 -1
  9. package/src/sap/ui/vk/AnimationTrack.js +1 -1
  10. package/src/sap/ui/vk/Annotation.js +1 -1
  11. package/src/sap/ui/vk/BaseNodeProxy.js +1 -1
  12. package/src/sap/ui/vk/Camera.js +1 -1
  13. package/src/sap/ui/vk/ContentConnector.js +1 -1
  14. package/src/sap/ui/vk/ContentManager.js +1 -1
  15. package/src/sap/ui/vk/ContentResource.js +1 -1
  16. package/src/sap/ui/vk/Core.js +1 -1
  17. package/src/sap/ui/vk/DownloadManager.js +1 -1
  18. package/src/sap/ui/vk/DrawerToolbar.js +236 -11
  19. package/src/sap/ui/vk/DrawerToolbarButton.js +6 -1
  20. package/src/sap/ui/vk/DvlException.js +1 -1
  21. package/src/sap/ui/vk/FlexibleControl.js +1 -1
  22. package/src/sap/ui/vk/FlexibleControlLayoutData.js +1 -1
  23. package/src/sap/ui/vk/Highlight.js +1 -1
  24. package/src/sap/ui/vk/ImageContentManager.js +1 -1
  25. package/src/sap/ui/vk/JointUtils.js +1 -1
  26. package/src/sap/ui/vk/LayerProxy.js +1 -1
  27. package/src/sap/ui/vk/Loco.js +1 -1
  28. package/src/sap/ui/vk/Material.js +1 -1
  29. package/src/sap/ui/vk/NativeViewport.js +1 -5
  30. package/src/sap/ui/vk/NodeHierarchy.js +1 -1
  31. package/src/sap/ui/vk/NodeProxy.js +1 -1
  32. package/src/sap/ui/vk/NodeUtils.js +1 -1
  33. package/src/sap/ui/vk/Notifications.js +1 -1
  34. package/src/sap/ui/vk/OrthographicCamera.js +1 -1
  35. package/src/sap/ui/vk/Overlay.js +1 -1
  36. package/src/sap/ui/vk/OverlayArea.js +1 -1
  37. package/src/sap/ui/vk/OverlayRenderer.js +1 -1
  38. package/src/sap/ui/vk/PerspectiveCamera.js +1 -1
  39. package/src/sap/ui/vk/ProgressIndicator.js +1 -1
  40. package/src/sap/ui/vk/RedlineCollaboration.js +33 -16
  41. package/src/sap/ui/vk/RedlineConversation.js +20 -5
  42. package/src/sap/ui/vk/RedlineDesign.js +1 -1
  43. package/src/sap/ui/vk/RedlineElement.js +1 -1
  44. package/src/sap/ui/vk/RedlineElementComment.js +1 -1
  45. package/src/sap/ui/vk/RedlineElementEllipse.js +1 -1
  46. package/src/sap/ui/vk/RedlineElementFreehand.js +1 -1
  47. package/src/sap/ui/vk/RedlineElementLine.js +1 -1
  48. package/src/sap/ui/vk/RedlineElementRectangle.js +1 -1
  49. package/src/sap/ui/vk/RedlineElementText.js +4 -4
  50. package/src/sap/ui/vk/RedlineSurface.js +1 -1
  51. package/src/sap/ui/vk/SafeArea.js +1 -1
  52. package/src/sap/ui/vk/Scene.js +1 -1
  53. package/src/sap/ui/vk/SceneTree.js +1 -1
  54. package/src/sap/ui/vk/Smart2DHandler.js +3 -0
  55. package/src/sap/ui/vk/StepNavigation.js +1 -1
  56. package/src/sap/ui/vk/Texture.js +1 -1
  57. package/src/sap/ui/vk/ToggleMenuButton.js +1 -1
  58. package/src/sap/ui/vk/ToggleMenuItem.js +1 -1
  59. package/src/sap/ui/vk/Toolbar.js +1 -1
  60. package/src/sap/ui/vk/View.js +1 -1
  61. package/src/sap/ui/vk/ViewGallery.js +1 -1
  62. package/src/sap/ui/vk/ViewGalleryThumbnail.js +1 -1
  63. package/src/sap/ui/vk/ViewGroup.js +1 -1
  64. package/src/sap/ui/vk/ViewManager.js +1 -1
  65. package/src/sap/ui/vk/ViewStateManager.js +1 -1
  66. package/src/sap/ui/vk/ViewStateManagerBase.js +1 -1
  67. package/src/sap/ui/vk/Viewer.js +1 -1
  68. package/src/sap/ui/vk/Viewport.js +4 -3
  69. package/src/sap/ui/vk/ViewportBase.js +1 -1
  70. package/src/sap/ui/vk/dvl/BaseNodeProxy.js +1 -1
  71. package/src/sap/ui/vk/dvl/ContentManager.js +1 -1
  72. package/src/sap/ui/vk/dvl/GraphicsCore.js +1 -1
  73. package/src/sap/ui/vk/dvl/LayerProxy.js +1 -1
  74. package/src/sap/ui/vk/dvl/NodeHierarchy.js +1 -1
  75. package/src/sap/ui/vk/dvl/NodeProxy.js +1 -1
  76. package/src/sap/ui/vk/dvl/Scene.js +1 -1
  77. package/src/sap/ui/vk/dvl/ViewStateManager.js +1 -1
  78. package/src/sap/ui/vk/dvl/Viewport.js +1 -1
  79. package/src/sap/ui/vk/dvl/checkResult.js +5 -0
  80. package/src/sap/ui/vk/dvl/getJSONObject.js +5 -0
  81. package/src/sap/ui/vk/dvl/getPointer.js +5 -0
  82. package/src/sap/ui/vk/helpers/RotateOrbitHelperDvl.js +3 -0
  83. package/src/sap/ui/vk/helpers/RotateTurntableHelperDvl.js +3 -0
  84. package/src/sap/ui/vk/i18n/messagebundle.properties +20 -0
  85. package/src/sap/ui/vk/i18n/messagebundle_ar.properties +6 -0
  86. package/src/sap/ui/vk/i18n/messagebundle_bg.properties +6 -0
  87. package/src/sap/ui/vk/i18n/messagebundle_ca.properties +6 -0
  88. package/src/sap/ui/vk/i18n/messagebundle_cnr.properties +6 -0
  89. package/src/sap/ui/vk/i18n/messagebundle_cs.properties +6 -0
  90. package/src/sap/ui/vk/i18n/messagebundle_cy.properties +6 -0
  91. package/src/sap/ui/vk/i18n/messagebundle_da.properties +6 -0
  92. package/src/sap/ui/vk/i18n/messagebundle_de.properties +6 -0
  93. package/src/sap/ui/vk/i18n/messagebundle_el.properties +6 -0
  94. package/src/sap/ui/vk/i18n/messagebundle_en.properties +298 -0
  95. package/src/sap/ui/vk/i18n/messagebundle_en_GB.properties +6 -0
  96. package/src/sap/ui/vk/i18n/messagebundle_en_US_saprigi.properties +17 -0
  97. package/src/sap/ui/vk/i18n/messagebundle_es.properties +6 -0
  98. package/src/sap/ui/vk/i18n/messagebundle_es_MX.properties +6 -0
  99. package/src/sap/ui/vk/i18n/messagebundle_et.properties +6 -0
  100. package/src/sap/ui/vk/i18n/messagebundle_fi.properties +6 -0
  101. package/src/sap/ui/vk/i18n/messagebundle_fr.properties +6 -0
  102. package/src/sap/ui/vk/i18n/messagebundle_fr_CA.properties +11 -5
  103. package/src/sap/ui/vk/i18n/messagebundle_hi.properties +6 -0
  104. package/src/sap/ui/vk/i18n/messagebundle_hr.properties +6 -0
  105. package/src/sap/ui/vk/i18n/messagebundle_hu.properties +6 -0
  106. package/src/sap/ui/vk/i18n/messagebundle_id.properties +6 -0
  107. package/src/sap/ui/vk/i18n/messagebundle_it.properties +6 -0
  108. package/src/sap/ui/vk/i18n/messagebundle_iw.properties +6 -0
  109. package/src/sap/ui/vk/i18n/messagebundle_ja.properties +6 -0
  110. package/src/sap/ui/vk/i18n/messagebundle_kk.properties +6 -0
  111. package/src/sap/ui/vk/i18n/messagebundle_ko.properties +6 -0
  112. package/src/sap/ui/vk/i18n/messagebundle_lt.properties +6 -0
  113. package/src/sap/ui/vk/i18n/messagebundle_lv.properties +6 -0
  114. package/src/sap/ui/vk/i18n/messagebundle_mk.properties +8 -2
  115. package/src/sap/ui/vk/i18n/messagebundle_ms.properties +6 -0
  116. package/src/sap/ui/vk/i18n/messagebundle_nl.properties +6 -0
  117. package/src/sap/ui/vk/i18n/messagebundle_no.properties +6 -0
  118. package/src/sap/ui/vk/i18n/messagebundle_pl.properties +6 -0
  119. package/src/sap/ui/vk/i18n/messagebundle_pt.properties +6 -0
  120. package/src/sap/ui/vk/i18n/messagebundle_pt_PT.properties +6 -0
  121. package/src/sap/ui/vk/i18n/messagebundle_ro.properties +6 -0
  122. package/src/sap/ui/vk/i18n/messagebundle_ru.properties +6 -0
  123. package/src/sap/ui/vk/i18n/messagebundle_sh.properties +6 -0
  124. package/src/sap/ui/vk/i18n/messagebundle_sk.properties +6 -0
  125. package/src/sap/ui/vk/i18n/messagebundle_sl.properties +6 -0
  126. package/src/sap/ui/vk/i18n/messagebundle_sr.properties +6 -0
  127. package/src/sap/ui/vk/i18n/messagebundle_sv.properties +6 -0
  128. package/src/sap/ui/vk/i18n/messagebundle_th.properties +6 -0
  129. package/src/sap/ui/vk/i18n/messagebundle_tr.properties +6 -0
  130. package/src/sap/ui/vk/i18n/messagebundle_uk.properties +7 -1
  131. package/src/sap/ui/vk/i18n/messagebundle_vi.properties +6 -0
  132. package/src/sap/ui/vk/i18n/messagebundle_zh_CN.properties +6 -0
  133. package/src/sap/ui/vk/i18n/messagebundle_zh_TW.properties +6 -0
  134. package/src/sap/ui/vk/library.js +2 -3
  135. package/src/sap/ui/vk/matai/MataiLoader.js +3 -1
  136. package/src/sap/ui/vk/matai/MataiLoaderWorker.js +51 -21
  137. package/src/sap/ui/vk/measurements/Angle.js +1 -1
  138. package/src/sap/ui/vk/measurements/Area.js +1 -1
  139. package/src/sap/ui/vk/measurements/Distance.js +1 -1
  140. package/src/sap/ui/vk/measurements/Edge.js +1 -1
  141. package/src/sap/ui/vk/measurements/Face.js +1 -1
  142. package/src/sap/ui/vk/measurements/Feature.js +1 -1
  143. package/src/sap/ui/vk/measurements/Vertex.js +1 -1
  144. package/src/sap/ui/vk/pdf/ContentManager.js +1 -1
  145. package/src/sap/ui/vk/pdf/Page.js +7 -9
  146. package/src/sap/ui/vk/pdf/PageGallery.js +746 -0
  147. package/src/sap/ui/vk/pdf/Viewport.js +283 -88
  148. package/src/sap/ui/vk/pdf/ViewportRenderer.js +23 -0
  149. package/src/sap/ui/vk/svg/BaseNodeProxy.js +1 -1
  150. package/src/sap/ui/vk/svg/ContentDeliveryService.js +1 -1
  151. package/src/sap/ui/vk/svg/ContentManager.js +1 -1
  152. package/src/sap/ui/vk/svg/NodeHierarchy.js +1 -1
  153. package/src/sap/ui/vk/svg/NodeProxy.js +1 -1
  154. package/src/sap/ui/vk/svg/OrthographicCamera.js +1 -1
  155. package/src/sap/ui/vk/svg/Scene.js +1 -1
  156. package/src/sap/ui/vk/svg/SceneBuilder.js +1 -1
  157. package/src/sap/ui/vk/svg/ViewStateManager.js +1 -1
  158. package/src/sap/ui/vk/svg/Viewport.js +1 -1
  159. package/src/sap/ui/vk/themes/base/PDFViewport.less +7 -1
  160. package/src/sap/ui/vk/themes/base/PageGallery.less +79 -0
  161. package/src/sap/ui/vk/themes/base/fonts/SAP-VE-icons-bold-v1.4.woff2 +0 -0
  162. package/src/sap/ui/vk/themes/base/fonts/SAP-VE-icons-regular-v1.4.woff2 +0 -0
  163. package/src/sap/ui/vk/themes/base/images/vk-pdf-page-error.svg +20 -0
  164. package/src/sap/ui/vk/themes/base/library.source.less +2 -1
  165. package/src/sap/ui/vk/themes/sap_bluecrystal/library.source.less +10 -1
  166. package/src/sap/ui/vk/themes/sap_bluecrystal_base/Annotation.less +1406 -0
  167. package/src/sap/ui/vk/themes/sap_bluecrystal_base/ContainerBase.less +49 -0
  168. package/src/sap/ui/vk/themes/sap_bluecrystal_base/DrawerToolbar.less +86 -0
  169. package/src/sap/ui/vk/themes/sap_bluecrystal_base/FlexibleControl.less +21 -0
  170. package/src/sap/ui/vk/themes/sap_bluecrystal_base/Hotspot.less +3 -0
  171. package/src/sap/ui/vk/themes/sap_bluecrystal_base/LegendItem.less +46 -0
  172. package/src/sap/ui/vk/themes/sap_bluecrystal_base/ListPanel.less +43 -0
  173. package/src/sap/ui/vk/themes/sap_bluecrystal_base/ListPanelStack.less +30 -0
  174. package/src/sap/ui/vk/themes/sap_bluecrystal_base/MapContainer.less +210 -0
  175. package/src/sap/ui/vk/themes/sap_bluecrystal_base/Measurement.less +281 -0
  176. package/src/sap/ui/vk/themes/sap_bluecrystal_base/NativeViewport.less +24 -0
  177. package/src/sap/ui/vk/themes/sap_bluecrystal_base/Notifications.less +14 -0
  178. package/src/sap/ui/vk/themes/sap_bluecrystal_base/Overlay.less +15 -0
  179. package/src/sap/ui/vk/themes/sap_bluecrystal_base/PDFViewport.less +59 -0
  180. package/src/sap/ui/vk/themes/sap_bluecrystal_base/PageGallery.less +79 -0
  181. package/src/sap/ui/vk/themes/sap_bluecrystal_base/Poi.less +21 -0
  182. package/src/sap/ui/vk/themes/sap_bluecrystal_base/RedlineDesign.less +18 -0
  183. package/src/sap/ui/vk/themes/sap_bluecrystal_base/RedlineSurface.less +4 -0
  184. package/src/sap/ui/vk/themes/sap_bluecrystal_base/RedlineTool.less +15 -0
  185. package/src/sap/ui/vk/themes/sap_bluecrystal_base/SafeArea.less +11 -0
  186. package/src/sap/ui/vk/themes/sap_bluecrystal_base/SceneOrientationGizmo.less +12 -0
  187. package/src/sap/ui/vk/themes/sap_bluecrystal_base/SceneTree.less +25 -0
  188. package/src/sap/ui/vk/themes/sap_bluecrystal_base/StepNavigation.less +50 -0
  189. package/src/sap/ui/vk/themes/sap_bluecrystal_base/ToggleMenuButton.less +122 -0
  190. package/src/sap/ui/vk/themes/sap_bluecrystal_base/Tooltip.less +26 -0
  191. package/src/sap/ui/vk/themes/sap_bluecrystal_base/TransformationTool.less +43 -0
  192. package/src/sap/ui/vk/themes/sap_bluecrystal_base/ViewGallery.less +215 -0
  193. package/src/sap/ui/vk/themes/sap_bluecrystal_base/Viewer.less +47 -0
  194. package/src/sap/ui/vk/themes/sap_bluecrystal_base/Viewport.less +38 -0
  195. package/src/sap/ui/vk/themes/sap_bluecrystal_base/library.source.less +46 -0
  196. package/src/sap/ui/vk/themes/sap_horizon/library.source.less +1 -1
  197. package/src/sap/ui/vk/themes/sap_horizon_dark/library.source.less +1 -1
  198. package/src/sap/ui/vk/themes/sap_horizon_hcb/library.source.less +1 -1
  199. package/src/sap/ui/vk/themes/sap_horizon_hcw/library.source.less +1 -1
  200. package/src/sap/ui/vk/thirdparty/pdf.js +18487 -16960
  201. package/src/sap/ui/vk/thirdparty/pdf.worker.js +2073 -2955
  202. package/src/sap/ui/vk/thirdparty/three.js +5 -2
  203. package/src/sap/ui/vk/threejs/AnimationHelper.js +1 -1
  204. package/src/sap/ui/vk/threejs/BaseNodeProxy.js +1 -1
  205. package/src/sap/ui/vk/threejs/Billboard.js +1 -1
  206. package/src/sap/ui/vk/threejs/Callout.js +1 -1
  207. package/src/sap/ui/vk/threejs/ContentDeliveryService.js +1 -1
  208. package/src/sap/ui/vk/threejs/ContentManager.js +1 -1
  209. package/src/sap/ui/vk/threejs/DetailView.js +1 -1
  210. package/src/sap/ui/vk/threejs/HighlightPlayer.js +1 -1
  211. package/src/sap/ui/vk/threejs/Material.js +1 -1
  212. package/src/sap/ui/vk/threejs/NodeHierarchy.js +1 -1
  213. package/src/sap/ui/vk/threejs/NodeProxy.js +1 -1
  214. package/src/sap/ui/vk/threejs/OrthographicCamera.js +1 -1
  215. package/src/sap/ui/vk/threejs/PerspectiveCamera.js +1 -1
  216. package/src/sap/ui/vk/threejs/PointCloudGroup.js +1 -1
  217. package/src/sap/ui/vk/threejs/Scene.js +1 -1
  218. package/src/sap/ui/vk/threejs/SceneBuilder.js +43 -114
  219. package/src/sap/ui/vk/threejs/Texture.js +1 -1
  220. package/src/sap/ui/vk/threejs/ThreeExtensions.js +5 -0
  221. package/src/sap/ui/vk/threejs/Thrustline.js +1 -1
  222. package/src/sap/ui/vk/threejs/ViewStateManager.js +15 -64
  223. package/src/sap/ui/vk/threejs/Viewport.js +30 -32
  224. package/src/sap/ui/vk/threejs/ViewportGestureHandler.js +14 -3
  225. package/src/sap/ui/vk/threejs/v2/ViewStateManager.js +1 -1
  226. package/src/sap/ui/vk/tools/AnchorPointTool.js +1 -1
  227. package/src/sap/ui/vk/tools/AnchorPointToolGizmo.js +1 -1
  228. package/src/sap/ui/vk/tools/AxisAngleRotationTool.js +1 -1
  229. package/src/sap/ui/vk/tools/AxisAngleRotationToolGizmo.js +1 -1
  230. package/src/sap/ui/vk/tools/CreateEllipseTool.js +1 -1
  231. package/src/sap/ui/vk/tools/CreateEllipseToolGizmo.js +1 -1
  232. package/src/sap/ui/vk/tools/CreateParametricGizmo.js +1 -1
  233. package/src/sap/ui/vk/tools/CreatePathTool.js +1 -1
  234. package/src/sap/ui/vk/tools/CreatePathToolGizmo.js +1 -1
  235. package/src/sap/ui/vk/tools/CreateRectangleTool.js +1 -1
  236. package/src/sap/ui/vk/tools/CreateRectangleToolGizmo.js +1 -1
  237. package/src/sap/ui/vk/tools/CreateTextTool.js +1 -1
  238. package/src/sap/ui/vk/tools/CreateTextToolGizmo.js +1 -1
  239. package/src/sap/ui/vk/tools/CrossSectionTool.js +1 -1
  240. package/src/sap/ui/vk/tools/CrossSectionToolGizmo.js +1 -1
  241. package/src/sap/ui/vk/tools/DuplicateSvgElementTool.js +1 -1
  242. package/src/sap/ui/vk/tools/DuplicateSvgElementToolGizmo.js +1 -1
  243. package/src/sap/ui/vk/tools/ExplodeTool.js +1 -1
  244. package/src/sap/ui/vk/tools/ExplodeToolGizmo.js +1 -1
  245. package/src/sap/ui/vk/tools/Gizmo.js +1 -1
  246. package/src/sap/ui/vk/tools/HitTestTool.js +1 -1
  247. package/src/sap/ui/vk/tools/MoveTool.js +1 -1
  248. package/src/sap/ui/vk/tools/MoveToolGizmo.js +1 -1
  249. package/src/sap/ui/vk/tools/PointCloudSelectionTool.js +1 -1
  250. package/src/sap/ui/vk/tools/PointCloudSelectionToolGizmo.js +1 -1
  251. package/src/sap/ui/vk/tools/RectSelectTool.js +1 -1
  252. package/src/sap/ui/vk/tools/RedlineTool.js +8 -2
  253. package/src/sap/ui/vk/tools/RedlineToolGizmo.js +11 -4
  254. package/src/sap/ui/vk/tools/RotateOrbitTool.js +1 -1
  255. package/src/sap/ui/vk/tools/RotateTool.js +1 -1
  256. package/src/sap/ui/vk/tools/RotateToolGizmo.js +1 -1
  257. package/src/sap/ui/vk/tools/RotateTurntableTool.js +1 -1
  258. package/src/sap/ui/vk/tools/ScaleTool.js +1 -1
  259. package/src/sap/ui/vk/tools/ScaleToolGizmo.js +1 -1
  260. package/src/sap/ui/vk/tools/SceneOrientationTool.js +1 -1
  261. package/src/sap/ui/vk/tools/SceneOrientationToolGizmo.js +1 -1
  262. package/src/sap/ui/vk/tools/Tool.js +1 -1
  263. package/src/sap/ui/vk/tools/TooltipTool.js +1 -1
  264. package/src/sap/ui/vk/tools/TooltipToolGizmo.js +1 -1
  265. package/src/sap/ui/vk/tools/TransformSvgElementTool.js +1 -1
  266. package/src/sap/ui/vk/tools/TransformSvgElementToolGizmo.js +1 -1
  267. package/src/sap/ui/vk/totara/SceneContext.js +0 -10
  268. package/src/sap/ui/vk/ve/matai.js +1 -1
  269. package/src/sap/ui/vk/ve/matai.wasm +0 -0
  270. package/src/sap/ui/vk/themes/base/fonts/SAP-VE-icons-bold-v1.3.woff2 +0 -0
  271. package/src/sap/ui/vk/themes/base/fonts/SAP-VE-icons-regular-v1.3.woff2 +0 -0
  272. package/src/sap/ui/vk/threejs/NodesTransitionHelper.js +0 -229
package/LICENSE.txt CHANGED
@@ -1,5 +1,7 @@
1
1
  SAP DEVELOPER LICENSE AGREEMENT
2
2
 
3
+ Version 3.2
4
+
3
5
  Please scroll down and read the following Developer License Agreement carefully ("Developer Agreement"). By clicking "I Accept" or by attempting to download, or install, or use the SAP software and other materials that accompany this Developer Agreement ("SAP Materials"), You agree that this Developer Agreement forms a legally binding agreement between You ("You" or "Your") and SAP SE, for and on behalf of itself and its subsidiaries and affiliates (as defined in Section 15 of the German Stock Corporation Act) and You agree to be bound by all of the terms and conditions stated in this Developer Agreement. If You are trying to access or download the SAP Materials on behalf of Your employer or as a consultant or agent of a third party (either "Your Company"), You represent and warrant that You have the authority to act on behalf of and bind Your Company to the terms of this Developer Agreement and everywhere in this Developer Agreement that refers to 'You' or 'Your' shall also include Your Company. If You do not agree to these terms, do not click "I Accept", and do not attempt to access or use the SAP Materials.
4
6
 
5
7
  1. LICENSE: SAP grants You a non-exclusive, non-transferable, non-sublicensable, revocable, limited use license to copy, reproduce and distribute the application programming interfaces ("API"), documentation, plug-ins, templates, scripts and sample code ("Tools") on a desktop, laptop, tablet, smart phone, or other appropriate computer device that You own or control (any, a "Computer") to create new applications ("Customer Applications"). You agree that the Customer Applications will not: (a) unreasonably impair, degrade or reduce the performance or security of any SAP software applications, services or related technology ("Software"); (b) enable the bypassing or circumventing of SAP's license restrictions and/or provide users with access to the Software to which such users are not licensed; (c) render or provide, without prior written consent from SAP, any information concerning SAP software license terms, Software, or any other information related to SAP products; or (d) permit mass data extraction from an SAP product to a non-SAP product, including use, modification, saving or other processing of such data in the non-SAP product. In exchange for the right to develop Customer Applications under this Agreement, You covenant not to assert any Intellectual Property Rights in Customer Applications created by You against any SAP product, service, or future SAP development.
@@ -7,29 +9,30 @@ Please scroll down and read the following Developer License Agreement carefully
7
9
  2. INTELLECTUAL PROPERTY: (a) SAP or its licensors retain all ownership and intellectual property rights in the APIs, Tools and Software. You may not: a) remove or modify any marks or proprietary notices of SAP, b) provide or make the APIs, Tools or Software available to any third party, c) assign this Developer Agreement or give or transfer the APIs, Tools or Software or an interest in them to another individual or entity, d) decompile, disassemble or reverse engineer (except to the extent permitted by applicable law) the APIs Tools or Software, (e) create derivative works of or based on the APIs, Tools or Software, (f) use any SAP name, trademark or logo, or (g) use the APIs or Tools to modify existing Software or other SAP product functionality or to access the Software or other SAP products' source code or metadata.
8
10
  (b) Subject to SAP's underlying rights in any part of the APIs, Tools or Software, You retain all ownership and intellectual property rights in Your Customer Applications.
9
11
 
10
- 3. FREE AND OPEN SOURCE COMPONENTS: The SAP Materials may include certain third party free or open source components ("FOSS Components"). You may have additional rights in such FOSS Components that are provided by the third party licensors of those components.
12
+ 3. ARTIFICIAL INTELLIGENCE TRAINING: You are expressly prohibited from using the Software, Tools or APIs as well as any Customer Applications or any part thereof for the purpose of training (developing) artificial intelligence models or systems (“AI Training”). Prohibition of AI Training includes, but is not limited to, using the Software, Tools, APIs and/or Customer Applications or part thereof in any training data set, algorithm development, model development or refinement (including language learning models) related to artificial intelligence, as well as text and data mining in accordance with §44b UrhG and Art. 4 of EU Directive 2019/790. For the avoidance of doubt, by accepting this Developer Agreement You agree that Your ownership of Customer Applications shall not create nor encompass any right to use Customer Applications for AI Training and, hence, You will not use Customer Applications or any part of it for AI Training.
11
13
 
12
- 4. THIRD PARTY DEPENDENCIES: The SAP Materials may require certain third party software dependencies ("Dependencies") for the use or operation of such SAP Materials. These dependencies may be identified by SAP in Maven POM files, product documentation or by other means. SAP does not grant You any rights in or to such Dependencies under this Developer Agreement. You are solely responsible for the acquisition, installation and use of Dependencies. SAP DOES NOT MAKE ANY REPRESENTATIONS OR WARRANTIES IN RESPECT OF DEPENDENCIES, INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIES OF MERCHANTABILITY AND OF FITNESS FOR A PARTICULAR PURPOSE. IN PARTICULAR, SAP DOES NOT WARRANT THAT DEPENDENCIES WILL BE AVAILABLE, ERROR FREE, INTEROPERABLE WITH THE SAP MATERIALS, SUITABLE FOR ANY PARTICULAR PURPOSE OR NON-INFRINGING. YOU ASSUME ALL RISKS ASSOCIATED WITH THE USE OF DEPENDENCIES, INCLUDING WITHOUT LIMITATION RISKS RELATING TO QUALITY, AVAILABILITY, PERFORMANCE, DATA LOSS, UTILITY IN A PRODUCTION ENVIRONMENT, AND NON-INFRINGEMENT. IN NO EVENT WILL SAP BE LIABLE DIRECTLY OR INDIRECTLY IN RESPECT OF ANY USE OF DEPENDENCIES BY YOU.
14
+ 4. FREE AND OPEN SOURCE COMPONENTS: The SAP Materials may include certain third party free or open source components ("FOSS Components"). You may have additional rights in such FOSS Components that are provided by the third party licensors of those components.
13
15
 
16
+ 5. THIRD PARTY DEPENDENCIES: The SAP Materials may require certain third party software dependencies ("Dependencies") for the use or operation of such SAP Materials. These dependencies may be identified by SAP in Maven POM files, product documentation or by other means. SAP does not grant You any rights in or to such Dependencies under this Developer Agreement. You are solely responsible for the acquisition, installation and use of Dependencies. SAP DOES NOT MAKE ANY REPRESENTATIONS OR WARRANTIES IN RESPECT OF DEPENDENCIES, INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIES OF MERCHANTABILITY AND OF FITNESS FOR A PARTICULAR PURPOSE. IN PARTICULAR, SAP DOES NOT WARRANT THAT DEPENDENCIES WILL BE AVAILABLE, ERROR FREE, INTEROPERABLE WITH THE SAP MATERIALS, SUITABLE FOR ANY PARTICULAR PURPOSE OR NON-INFRINGING. YOU ASSUME ALL RISKS ASSOCIATED WITH THE USE OF DEPENDENCIES, INCLUDING WITHOUT LIMITATION RISKS RELATING TO QUALITY, AVAILABILITY, PERFORMANCE, DATA LOSS, UTILITY IN A PRODUCTION ENVIRONMENT, AND NON-INFRINGEMENT. IN NO EVENT WILL SAP BE LIABLE DIRECTLY OR INDIRECTLY IN RESPECT OF ANY USE OF DEPENDENCIES BY YOU.
14
17
 
15
- 5. WARRANTY:
18
+ 6. WARRANTY:
16
19
  a) If You are located outside the US or Canada: AS THE API AND TOOLS ARE PROVIDED TO YOU FREE OF CHARGE, SAP DOES NOT GUARANTEE OR WARRANT ANY FEATURES OR QUALITIES OF THE TOOLS OR API OR GIVE ANY UNDERTAKING WITH REGARD TO ANY OTHER QUALITY. NO SUCH WARRANTY OR UNDERTAKING SHALL BE IMPLIED BY YOU FROM ANY DESCRIPTION IN THE API OR TOOLS OR ANY AVAILABLE DOCUMENTATION OR ANY OTHER COMMUNICATION OR ADVERTISEMENT. IN PARTICULAR, SAP DOES NOT WARRANT THAT THE SOFTWARE WILL BE AVAILABLE UNINTERRUPTED, ERROR FREE, OR PERMANENTLY AVAILABLE. FOR THE TOOLS AND API ALL WARRANTY CLAIMS ARE SUBJECT TO THE LIMITATION OF LIABILITY STIPULATED IN SECTION 4 BELOW.
17
20
  b) If You are located in the US or Canada: THE API AND TOOLS ARE LICENSED TO YOU "AS IS", WITHOUT ANY WARRANTY, ESCROW, TRAINING, MAINTENANCE, OR SERVICE OBLIGATIONS WHATSOEVER ON THE PART OF SAP. SAP MAKES NO EXPRESS OR IMPLIED WARRANTIES OR CONDITIONS OF SALE OF ANY TYPE WHATSOEVER, INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIES OF MERCHANTABILITY AND OF FITNESS FOR A PARTICULAR PURPOSE. IN PARTICULAR, SAP DOES NOT WARRANT THAT THE SOFTWARE WILL BE AVAILABLE UNINTERRUPTED, ERROR FREE, OR PERMANENTLY AVAILABLE. YOU ASSUME ALL RISKS ASSOCIATED WITH THE USE OF THE API AND TOOLS, INCLUDING WITHOUT LIMITATION RISKS RELATING TO QUALITY, AVAILABILITY, PERFORMANCE, DATA LOSS, AND UTILITY IN A PRODUCTION ENVIRONMENT.
18
21
 
19
- 6. LIMITATION OF LIABILITY:
22
+ 7. LIMITATION OF LIABILITY:
20
23
  a) If You are located outside the US or Canada: IRRESPECTIVE OF THE LEGAL REASONS, SAP SHALL ONLY BE LIABLE FOR DAMAGES UNDER THIS AGREEMENT IF SUCH DAMAGE (I) CAN BE CLAIMED UNDER THE GERMAN PRODUCT LIABILITY ACT OR (II) IS CAUSED BY INTENTIONAL MISCONDUCT OF SAP OR (III) CONSISTS OF PERSONAL INJURY. IN ALL OTHER CASES, NEITHER SAP NOR ITS EMPLOYEES, AGENTS AND SUBCONTRACTORS SHALL BE LIABLE FOR ANY KIND OF DAMAGE OR CLAIMS HEREUNDER.
21
24
  b) If You are located in the US or Canada: IN NO EVENT SHALL SAP BE LIABLE TO YOU, YOUR COMPANY OR TO ANY THIRD PARTY FOR ANY DAMAGES IN AN AMOUNT IN EXCESS OF $100 ARISING IN CONNECTION WITH YOUR USE OF OR INABILITY TO USE THE TOOLS OR API OR IN CONNECTION WITH SAP'S PROVISION OF OR FAILURE TO PROVIDE SERVICES PERTAINING TO THE TOOLS OR API, OR AS A RESULT OF ANY DEFECT IN THE API OR TOOLS. THIS DISCLAIMER OF LIABILITY SHALL APPLY REGARDLESS OF THE FORM OF ACTION THAT MAY BE BROUGHT AGAINST SAP, WHETHER IN CONTRACT OR TORT, INCLUDING WITHOUT LIMITATION ANY ACTION FOR NEGLIGENCE. YOUR SOLE REMEDY IN THE EVENT OF BREACH OF THIS DEVELOPER AGREEMENT BY SAP OR FOR ANY OTHER CLAIM RELATED TO THE API OR TOOLS SHALL BE TERMINATION OF THIS AGREEMENT. NOTWITHSTANDING ANYTHING TO THE CONTRARY HEREIN, UNDER NO CIRCUMSTANCES SHALL SAP AND ITS LICENSORS BE LIABLE TO YOU OR ANY OTHER PERSON OR ENTITY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, OR INDIRECT DAMAGES, LOSS OF GOOD WILL OR BUSINESS PROFITS, WORK STOPPAGE, DATA LOSS, COMPUTER FAILURE OR MALFUNCTION, ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSS, OR EXEMPLARY OR PUNITIVE DAMAGES.
22
25
 
23
- 7. INDEMNITY: You will fully indemnify, hold harmless and defend SAP against law suits based on any claim: (a) that any Customer Application created by You infringes or misappropriates any patent, copyright, trademark, trade secrets, or other proprietary rights of a third party, or (b) related to Your alleged violation of the terms of this Developer Agreement.
26
+ 8. INDEMNITY: You will fully indemnify, hold harmless and defend SAP against law suits based on any claim: (a) that any Customer Application created by You infringes or misappropriates any patent, copyright, trademark, trade secrets, or other proprietary rights of a third party, or (b) related to Your alleged violation of the terms of this Developer Agreement.
24
27
 
25
- 8. EXPORT: The Tools and API are subject to German, EU and US export control regulations. You confirm that: a) You will not use the Tools or API for, and will not allow the Tools or API to be used for, any purposes prohibited by German, EU and US law, including, without limitation, for the development, design, manufacture or production of nuclear, chemical or biological weapons of mass destruction; b) You are not located in Cuba, Iran, Sudan, Iraq, North Korea, Syria, nor any other country to which the United States has prohibited export or that has been designated by the U.S. Government as a "terrorist supporting" country (any, an "US Embargoed Country"); c) You are not a citizen, national or resident of, and are not under the control of, a US Embargoed Country; d) You will not download or otherwise export or re-export the API or Tools, directly or indirectly, to a US Embargoed Country nor to citizens, nationals or residents of a US Embargoed Country; e) You are not listed on the United States Department of Treasury lists of Specially Designated Nationals, Specially Designated Terrorists, and Specially Designated Narcotic Traffickers, nor listed on the United States Department of Commerce Table of Denial Orders or any other U.S. government list of prohibited or restricted parties and f) You will not download or otherwise export or re-export the API or Tools , directly or indirectly, to persons on the above-mentioned lists.
28
+ 9. EXPORT: The Tools and API are subject to German, EU and US export control regulations. You confirm that: a) You will not use the Tools or API for, and will not allow the Tools or API to be used for, any purposes prohibited by German, EU and US law, including, without limitation, for the development, design, manufacture or production of nuclear, chemical or biological weapons of mass destruction; b) You are not located in Cuba, Iran, Sudan, Iraq, North Korea, Syria, nor any other country to which the United States has prohibited export or that has been designated by the U.S. Government as a "terrorist supporting" country (any, an "US Embargoed Country"); c) You are not a citizen, national or resident of, and are not under the control of, a US Embargoed Country; d) You will not download or otherwise export or re-export the API or Tools, directly or indirectly, to a US Embargoed Country nor to citizens, nationals or residents of a US Embargoed Country; e) You are not listed on the United States Department of Treasury lists of Specially Designated Nationals, Specially Designated Terrorists, and Specially Designated Narcotic Traffickers, nor listed on the United States Department of Commerce Table of Denial Orders or any other U.S. government list of prohibited or restricted parties and f) You will not download or otherwise export or re-export the API or Tools , directly or indirectly, to persons on the above-mentioned lists.
26
29
 
27
- 9. SUPPORT: Other than what is made available on the SAP Community Website (SCN) by SAP at its sole discretion and by SCN members, SAP does not offer support for the API or Tools which are the subject of this Developer Agreement.
30
+ 10. SUPPORT: Other than what is made available on the SAP Community Website (SCN) by SAP at its sole discretion and by SCN members, SAP does not offer support for the API or Tools which are the subject of this Developer Agreement.
28
31
 
29
- 10. TERM AND TERMINATION: You may terminate this Developer Agreement by destroying all copies of the API and Tools on Your Computer(s). SAP may terminate Your license to use the API and Tools immediately if You fail to comply with any of the terms of this Developer Agreement, or, for SAP's convenience by providing you with ten (10) day's written notice of termination (including email). In case of termination or expiration of this Developer Agreement, You must destroy all copies of the API and Tools immediately. In the event Your Company or any of the intellectual property you create using the API, Tools or Software are acquired (by merger, purchase of stock, assets or intellectual property or exclusive license), or You become employed, by a direct competitor of SAP, then this Development Agreement and all licenses granted in this Developer Agreement shall immediately terminate upon the date of such acquisition.
32
+ 11. TERM AND TERMINATION: You may terminate this Developer Agreement by destroying all copies of the API and Tools on Your Computer(s). SAP may terminate Your license to use the API and Tools immediately if You fail to comply with any of the terms of this Developer Agreement, or, for SAP's convenience by providing you with ten (10) day's written notice of termination (including by public notice). In case of termination or expiration of this Developer Agreement, You must destroy all copies of the API and Tools immediately. In the event Your Company or any of the intellectual property you create using the API, Tools or Software are acquired (by merger, purchase of stock, assets or intellectual property or exclusive license), or You become employed, by a direct competitor of SAP, then this Development Agreement and all licenses granted in this Developer Agreement shall immediately terminate upon the date of such acquisition.
30
33
 
31
- 11. LAW/VENUE:
34
+ 12. LAW/VENUE:
32
35
  a) If You are located outside the US or Canada: This Developer Agreement is governed by and construed in accordance with the laws of the Germany. You and SAP agree to submit to the exclusive jurisdiction of, and venue in, the courts of Karlsruhe in Germany in any dispute arising out of or relating to this Developer Agreement.
33
36
  b) If You are located in the US or Canada: This Developer Agreement shall be governed by and construed under the Commonwealth of Pennsylvania law without reference to its conflicts of law principles. In the event of any conflicts between foreign law, rules, and regulations, and United States of America law, rules, and regulations, United States of America law, rules, and regulations shall prevail and govern. The United Nations Convention on Contracts for the International Sale of Goods shall not apply to this Developer Agreement. The Uniform Computer Information Transactions Act as enacted shall not apply.
34
37
 
35
- 12. MISCELLANEOUS: This Developer Agreement is the complete agreement for the API and Tools licensed (including reference to information/documentation contained in a URL). This Developer Agreement supersedes all prior or contemporaneous agreements or representations with regards to the subject matter of this Developer Agreement. If any term of this Developer Agreement is found to be invalid or unenforceable, the surviving provisions shall remain effective. SAP's failure to enforce any right or provisions stipulated in this Developer Agreement will not constitute a waiver of such provision, or any other provision of this Developer Agreement.
38
+ 13. MISCELLANEOUS: This Developer Agreement is the complete agreement for the API and Tools licensed (including reference to information/documentation contained in a URL). This Developer Agreement supersedes all prior or contemporaneous agreements or representations with regards to the subject matter of this Developer Agreement. If any term of this Developer Agreement is found to be invalid or unenforceable, the surviving provisions shall remain effective. SAP's failure to enforce any right or provisions stipulated in this Developer Agreement will not constitute a waiver of such provision, or any other provision of this Developer Agreement.
package/README.md CHANGED
@@ -9,4 +9,4 @@ It is meant to be consumed using the [UI5 Tooling](https://sap.github.io/ui5-too
9
9
  For details please refer to our documentation on [Consuming SAPUI5 Libraries](https://sap.github.io/ui5-tooling/pages/SAPUI5/).
10
10
 
11
11
  ## License
12
- This package is provided under the terms of the [SAP Developer License Agreement](https://tools.hana.ondemand.com/developer-license-3.1.txt).
12
+ This package is provided under the terms of the [SAP Developer License Agreement](https://tools.hana.ondemand.com/developer-license-3_2.txt).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/sap.ui.vk",
3
- "version": "1.123.0",
3
+ "version": "1.124.1",
4
4
  "description": "SAPUI5 Library sap.ui.vk",
5
5
  "homepage": "https://sap.github.io/ui5-tooling/pages/SAPUI5/",
6
6
  "author": "SAP SE (https://www.sap.com)",
@@ -7,7 +7,7 @@
7
7
 
8
8
  (c) Copyright 2009-2015 SAP SE. All rights reserved
9
9
  </copyright>
10
- <version>1.123.0</version>
10
+ <version>1.124.1</version>
11
11
 
12
12
  <documentation>SAPUI5 Visualization Toolkit.</documentation>
13
13
 
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  *
28
28
  * @private
29
29
  * @author SAP SE
30
- * @version 1.123.0
30
+ * @version 1.124.1
31
31
  * @extends sap.ui.base.EventProvider
32
32
  * @alias sap.ui.vk.AnimationPlayback
33
33
  * @experimental Since 1.67.0 This class is experimental and might be modified or removed in future versions.
@@ -31,7 +31,7 @@ sap.ui.define([
31
31
  *
32
32
  * @public
33
33
  * @author SAP SE
34
- * @version 1.123.0
34
+ * @version 1.124.1
35
35
  * @extends sap.ui.core.Element
36
36
  * @alias sap.ui.vk.AnimationPlayer
37
37
  * @experimental Since 1.67.0 This class is experimental and might be modified or removed in future versions.
@@ -33,7 +33,7 @@ sap.ui.define([
33
33
  *
34
34
  * @private
35
35
  * @author SAP SE
36
- * @version 1.123.0
36
+ * @version 1.124.1
37
37
  * @extends sap.ui.base.Object
38
38
  * @alias sap.ui.vk.AnimationSequence
39
39
  * @implements sap.ui.vk.IJointCollection
@@ -26,7 +26,7 @@ sap.ui.define([
26
26
  * @extends sap.m.Slider
27
27
  *
28
28
  * @author SAP SE
29
- * @version 1.123.0
29
+ * @version 1.124.1
30
30
  *
31
31
  * @constructor
32
32
  * @private
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  * @param {boolean} parameters.infinite infinite flag
33
33
  *
34
34
  * @author SAP SE
35
- * @version 1.123.0
35
+ * @version 1.124.1
36
36
  * @extends sap.ui.base.Object
37
37
  * @alias sap.ui.vk.AnimationTrack
38
38
  *
@@ -40,7 +40,7 @@ sap.ui.define([
40
40
  *
41
41
  * @public
42
42
  * @author SAP SE
43
- * @version 1.123.0
43
+ * @version 1.124.1
44
44
  * @extends sap.ui.core.Control
45
45
  * @alias sap.ui.vk.Annotation
46
46
  * @experimental Since 1.76.0 This class is experimental and might be modified or removed in future versions.
@@ -36,7 +36,7 @@ sap.ui.define([
36
36
  * @public
37
37
  * @abstract
38
38
  * @author SAP SE
39
- * @version 1.123.0
39
+ * @version 1.124.1
40
40
  * @extends sap.ui.base.Object
41
41
  * @implements sap.ui.base.Poolable, sap.ui.vk.BaseNodeProxy
42
42
  * @alias sap.ui.vk.BaseNodeProxy
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @public
24
24
  * @abstract
25
25
  * @author SAP SE
26
- * @version 1.123.0
26
+ * @version 1.124.1
27
27
  * @extends sap.ui.base.ManagedObject
28
28
  * @alias sap.ui.vk.Camera
29
29
  * @since 1.52.0
@@ -40,7 +40,7 @@ sap.ui.define([
40
40
  * @param {object} [mSettings] Initial settings for the new ContentConnector object.
41
41
  * @public
42
42
  * @author SAP SE
43
- * @version 1.123.0
43
+ * @version 1.124.1
44
44
  * @extends sap.ui.core.Element
45
45
  * @alias sap.ui.vk.ContentConnector
46
46
  */
@@ -26,7 +26,7 @@ sap.ui.define([
26
26
  * @protected
27
27
  * @abstract
28
28
  * @author SAP SE
29
- * @version 1.123.0
29
+ * @version 1.124.1
30
30
  * @extends sap.ui.base.ManagedObject
31
31
  * @alias sap.ui.vk.ContentManager
32
32
  * @since 1.50.0
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @param {object} [oScope] scope An object for resolving string-based type and formatter references in bindings.
28
28
  * @public
29
29
  * @author SAP SE
30
- * @version 1.123.0
30
+ * @version 1.124.1
31
31
  * @extends sap.ui.base.ManagedObject
32
32
  * @alias sap.ui.vk.ContentResource
33
33
  */
@@ -39,7 +39,7 @@ sap.ui.define([
39
39
  * @final
40
40
  * @private
41
41
  * @author SAP SE
42
- * @version 1.123.0
42
+ * @version 1.124.1
43
43
  * @extends sap.ui.base.ManagedObject
44
44
  * @alias sap.ui.vk.Core
45
45
  * @since 1.50.0
@@ -37,7 +37,7 @@ sap.ui.define([
37
37
  * If left undefined, the number of retry attempts will default to 1. Passing in 0 disables any retry attempts.
38
38
  * @private
39
39
  * @author SAP SE
40
- * @version 1.123.0
40
+ * @version 1.124.1
41
41
  * @extends sap.ui.base.EventProvider
42
42
  * @alias sap.ui.vk.DownloadManager
43
43
  * @since 1.32.0
@@ -9,17 +9,24 @@
9
9
  sap.ui.define([
10
10
  "./library",
11
11
  "./Core",
12
+ "sap/ui/core/library",
12
13
  "sap/ui/core/Element",
13
14
  "./DrawerToolbarRenderer",
14
15
  "sap/ui/core/Control",
15
16
  "sap/ui/core/IconPool",
16
17
  "sap/ui/core/ResizeHandler",
18
+ "sap/ui/core/InvisibleText",
17
19
  "sap/ui/Device",
18
20
  "sap/m/VBox",
21
+ "sap/m/HBox",
19
22
  "sap/m/FlexItemData",
20
23
  "sap/m/OverflowToolbar",
21
24
  "sap/ui/core/Icon",
22
25
  "sap/m/OverflowToolbarButton",
26
+ "sap/m/Button",
27
+ "sap/m/Input",
28
+ "sap/m/InputType",
29
+ "sap/m/Text",
23
30
  "sap/m/ToolbarSeparator",
24
31
  "sap/m/OverflowToolbarToggleButton",
25
32
  "sap/m/OverflowToolbarMenuButton",
@@ -47,17 +54,24 @@ sap.ui.define([
47
54
  ], function(
48
55
  vkLibrary,
49
56
  vkCore,
57
+ coreLibrary,
50
58
  Element,
51
59
  DrawerToolbarRenderer,
52
60
  Control,
53
61
  IconPool,
54
62
  ResizeHandler,
63
+ InvisibleText,
55
64
  Device,
56
65
  VBox,
66
+ HBox,
57
67
  FlexItemData,
58
68
  OverflowToolbar,
59
69
  Icon,
60
70
  OverflowToolbarButton,
71
+ Button,
72
+ Input,
73
+ InputType,
74
+ Text,
61
75
  ToolbarSeparator,
62
76
  OverflowToolbarToggleButton,
63
77
  OverflowToolbarMenuButton,
@@ -100,6 +114,10 @@ sap.ui.define([
100
114
  // shortcut for sap.m.FlexAlignContent
101
115
  var FlexAlignContent = library.FlexAlignContent;
102
116
 
117
+ const TextAlign = coreLibrary.TextAlign;
118
+
119
+ const ValueState = coreLibrary.ValueState;
120
+
103
121
  /**
104
122
  * Constructor for a new DrawerToolbar control.
105
123
  *
@@ -111,7 +129,7 @@ sap.ui.define([
111
129
  * @extends sap.ui.core.Control
112
130
  *
113
131
  * @author SAP
114
- * @version 1.123.0
132
+ * @version 1.124.1
115
133
  *
116
134
  * @public
117
135
  * @alias sap.ui.vk.DrawerToolbar
@@ -265,6 +283,14 @@ sap.ui.define([
265
283
  }, {
266
284
  name: "toggle-pmi",
267
285
  unicode: "e96d"
286
+ },
287
+ {
288
+ name: "fit-to-page",
289
+ unicode: "e96e"
290
+ },
291
+ {
292
+ name: "fit-to-width",
293
+ unicode: "e96f"
268
294
  }
269
295
  ];
270
296
  var collectionName = "vk-icons";
@@ -448,11 +474,48 @@ sap.ui.define([
448
474
  };
449
475
 
450
476
  DrawerToolbar.prototype.setViewport = function(viewport) {
451
- Element.getElementById(this.getViewport())?.dettachResize(this._onViewportResize, this);
477
+ Element.getElementById(this.getViewport())?.detachResize(this._onViewportResize, this);
452
478
 
453
479
  this.setAssociation("viewport", viewport);
454
480
 
455
481
  viewport?.attachResize(this._onViewportResize, this);
482
+ viewport?.attachEvent("documentReplaced", {}, this._onDocumentReplaced, this);
483
+ viewport?.attachEvent("pageChanged", {}, this._onPageChanged, this);
484
+ };
485
+
486
+ DrawerToolbar.prototype._onDocumentReplaced = function(event) {
487
+ this._pdfDocument = event.getParameter("newDocument");
488
+ if (this._pdfDocument == null) {
489
+ this._pdfTotalPages = 0;
490
+ this._totalPageCountText.setText("0");
491
+ this._currentPageIndexInput.setValue("");
492
+ this._currentPageIndexInput.setEnabled(false);
493
+ this._previousPageButton.setEnabled(false);
494
+ this._nextPageButton.setEnabled(false);
495
+ this._zoomInButton.setEnabled(false);
496
+ this._zoomOutButton.setEnabled(false);
497
+ this._zoomToFitPageButton.setEnabled(false);
498
+ this._zoomToFitPageWidthButton.setEnabled(false);
499
+ } else {
500
+ this._pdfTotalPages = this._pdfDocument.pageCount;
501
+ this._totalPageCountText.setText(`${this._pdfTotalPages}`);
502
+ this._currentPageIndexInput.setEnabled(true);
503
+ this._previousPageButton.setEnabled(this._pdfPageIndex !== 0);
504
+ this._nextPageButton.setEnabled(this._pdfPageIndex + 1 !== this._pdfTotalPages);
505
+ this._zoomInButton.setEnabled(true);
506
+ this._zoomOutButton.setEnabled(true);
507
+ this._zoomToFitPageButton.setEnabled(true);
508
+ this._zoomToFitPageWidthButton.setEnabled(true);
509
+ }
510
+ };
511
+
512
+ DrawerToolbar.prototype._onPageChanged = function(event) {
513
+ this._pdfPageIndex = event.getParameter("newPageIndex");
514
+ this._invisPageIndex.setText(getResourceBundle().getText("PAGE_COUNT_INPUT", [this._pdfPageIndex + 1, this._pdfTotalPages]));
515
+ this._currentPageIndexInput.setValue(this._pdfPageIndex + 1);
516
+ this._currentPageIndexInput.setValueState(ValueState.None);
517
+ this._previousPageButton.setEnabled(this._pdfPageIndex !== 0);
518
+ this._nextPageButton.setEnabled(this._pdfPageIndex + 1 !== this._pdfTotalPages);
456
519
  };
457
520
 
458
521
  DrawerToolbar.prototype._toolbarContentChanged = function() {
@@ -467,7 +530,7 @@ sap.ui.define([
467
530
  };
468
531
 
469
532
  DrawerToolbar.prototype._itemVisibilityChanged = function(event) {
470
- if (!this._ignoreVisiblityChange) {
533
+ if (!this._ignoreVisibilityChange) {
471
534
  this._itemsVisibility.set(event.object, event.current);
472
535
  }
473
536
  };
@@ -484,6 +547,11 @@ sap.ui.define([
484
547
  return viewport ? viewport.getMetadata().getName() === "sap.ui.vk.NativeViewport" : false;
485
548
  }
486
549
 
550
+ function isPdfViewport(viewport) {
551
+ return viewport ? viewport.getMetadata().getName() === "sap.ui.vk.pdf.Viewport" : false;
552
+ }
553
+
554
+
487
555
  function isView3D(viewport) {
488
556
  var view = viewport.getCurrentView && viewport.getCurrentView();
489
557
  var dimension = view && view.getDimension();
@@ -493,7 +561,7 @@ sap.ui.define([
493
561
  DrawerToolbar.prototype._getViewport = function() {
494
562
  var viewport = Element.getElementById(this.getViewport());
495
563
  viewport = viewport instanceof Viewport && viewport.getImplementation() || viewport;
496
- return viewport && (isViewport3D(viewport) || isSvgViewport(viewport) || isNativeViewport(viewport)) ? viewport : null;
564
+ return viewport && (isViewport3D(viewport) || isSvgViewport(viewport) || isNativeViewport(viewport) || isPdfViewport(viewport)) ? viewport : null;
497
565
  };
498
566
 
499
567
  DrawerToolbar.prototype._getViewStateManager = function() {
@@ -872,6 +940,136 @@ sap.ui.define([
872
940
 
873
941
  this._measurementsToggleButton.vitId = DrawerToolbarButton.Measurements;
874
942
 
943
+ this._zoomInButton = new OverflowToolbarButton({
944
+ icon: "sap-icon://zoom-in",
945
+ tooltip: resourceBundle.getText("ZOOM_IN_TOOLTIP"),
946
+ enabled: false,
947
+ press: () => {
948
+ const viewport = this._getViewport();
949
+ const { left, top, right, bottom } = viewport.getDomRef("page").getBoundingClientRect();
950
+ viewport.zoom(1.1, (left + right) / 2, (top + bottom) / 2);
951
+ }
952
+ });
953
+ this._zoomInButton.vitId = DrawerToolbarButton.ZoomIn;
954
+
955
+ this._zoomOutButton = new OverflowToolbarButton({
956
+ icon: "sap-icon://zoom-out",
957
+ tooltip: resourceBundle.getText("ZOOM_IN_TOOLTIP"),
958
+ enabled: false,
959
+ press: () => {
960
+ const viewport = this._getViewport();
961
+ const { left, top, right, bottom } = viewport.getDomRef("page").getBoundingClientRect();
962
+ viewport.zoom(1 / 1.1, (left + right) / 2, (top + bottom) / 2);
963
+ }
964
+ });
965
+ this._zoomOutButton.vitId = DrawerToolbarButton.ZoomOut;
966
+
967
+ this._zoomToFitPageButton = new OverflowToolbarButton({
968
+ icon: visIconPath + "fit-to-page",
969
+ tooltip: resourceBundle.getText("FIT_TO_PAGE_TOOLTIP"),
970
+ enabled: false,
971
+ press: () => this._getViewport().zoomToFitPage()
972
+ });
973
+ this._zoomToFitPageButton.vitId = DrawerToolbarButton.FitToPage;
974
+
975
+ this._zoomToFitPageWidthButton = new OverflowToolbarButton({
976
+ icon: visIconPath + "fit-to-width",
977
+ tooltip: resourceBundle.getText("FIT_TO_WIDTH_TOOLTIP"),
978
+ enabled: false,
979
+ press: () => this._getViewport().zoomToFitPageWidth()
980
+ });
981
+ this._zoomToFitPageWidthButton.vitId = DrawerToolbarButton.FitToWidth;
982
+
983
+ this._previousPageButton = new OverflowToolbarButton({
984
+ type: sap.m.ButtonType.Transparent,
985
+ tooltip: resourceBundle.getText("PREVIOUS_PAGE_TOOLTIP"),
986
+ icon: "sap-icon://navigation-left-arrow",
987
+ enabled: false,
988
+ press: () => {
989
+ this._getViewport().setCurrentPageIndex(this._pdfPageIndex - 1);
990
+ }
991
+ });
992
+
993
+ this._nextPageButton = new OverflowToolbarButton({
994
+ type: sap.m.ButtonType.Transparent,
995
+ tooltip: resourceBundle.getText("NEXT_PAGE_TOOLTIP"),
996
+ icon: "sap-icon://navigation-right-arrow",
997
+ enabled: false,
998
+ press: () => {
999
+ this._getViewport().setCurrentPageIndex(this._pdfPageIndex + 1);
1000
+ }
1001
+ });
1002
+
1003
+ this._invisPageIndex = new InvisibleText();
1004
+
1005
+ this._currentPageIndexInput = new Input({
1006
+ ariaLabelledBy: this._invisPageIndex,
1007
+ type: InputType.Number,
1008
+ enabled: false,
1009
+ submit: (event) => {
1010
+ const value = event.getParameter("value");
1011
+ if (value < 1 || value > this._pdfTotalPages) {
1012
+ return;
1013
+ }
1014
+ this._getViewport().setCurrentPageIndex(value - 1);
1015
+ },
1016
+ liveChange: (event) => {
1017
+ const value = event.getParameter("value");
1018
+ const newValue = value.replaceAll(".", "");
1019
+ this._currentPageIndexInput.setValue(newValue);
1020
+ if (newValue < 1 || newValue > this._pdfTotalPages) {
1021
+ this._currentPageIndexInput.setValueState(ValueState.Error);
1022
+ this._currentPageIndexInput.setValueStateText(getResourceBundle().getText(newValue === "" ? "PAGE_COUNT_EMPTY" : "PAGE_COUNT_ERROR", [newValue]));
1023
+ } else {
1024
+ this._currentPageIndexInput.setValueState(ValueState.None);
1025
+ }
1026
+ }
1027
+ }).addStyleClass("sapVizKitPageGalleryToolbarCurrentPageIndex").addEventDelegate({
1028
+ onfocusout: () => {
1029
+ const value = this._currentPageIndexInput.getValue();
1030
+ if (value < 1 || value > this._pdfTotalPages) {
1031
+ return;
1032
+ }
1033
+ this._getViewport().setCurrentPageIndex(value - 1);
1034
+ }
1035
+ });
1036
+
1037
+ const slash = new Text({
1038
+ text: "/",
1039
+ wrapping: false,
1040
+ textAlign: TextAlign.Center
1041
+ }).addStyleClass("sapVizKitPageGalleryToolbarSlash");
1042
+
1043
+ this._totalPageCountText = new Text({
1044
+ text: "0",
1045
+ wrapping: false
1046
+ });
1047
+
1048
+ const pageNavigationSeparator = new ToolbarSeparator();
1049
+
1050
+ this._pageNavigation = new HBox({
1051
+ renderType: FlexRendertype.Bare,
1052
+ alignItems: "Center",
1053
+ items: [
1054
+ this._previousPageButton,
1055
+ this._invisPageIndex,
1056
+ this._currentPageIndexInput,
1057
+ slash,
1058
+ this._totalPageCountText,
1059
+ this._nextPageButton
1060
+ ]
1061
+ }).addStyleClass("sapVizKitPageGalleryPageNavigation");
1062
+ this.addEventDelegate({
1063
+ onAfterRendering: () => {
1064
+ const innerDomRef = this._currentPageIndexInput.getDomRef("inner");
1065
+ if (innerDomRef != null) {
1066
+ const minWidth = parseFloat(window.getComputedStyle(innerDomRef).minWidth);
1067
+ this._currentPageIndexInput.setWidth(Math.max(minWidth, this._totalPageCountText.getDomRef().offsetWidth) + "px");
1068
+ }
1069
+ }
1070
+ });
1071
+ this._pageNavigation.vitId = DrawerToolbarButton.PageNavigation;
1072
+
875
1073
  var measurementsSeparator = new ToolbarSeparator();
876
1074
  measurementsSeparator.vitId = DrawerToolbarButton.MeasurementsSeparator;
877
1075
 
@@ -903,6 +1101,8 @@ sap.ui.define([
903
1101
  this._itemTurntable = this._gestureButtons[0];
904
1102
  this._itemPan = this._gestureButtons[2];
905
1103
 
1104
+ this._pdfItems = [this._zoomInButton, this._zoomOutButton, this._zoomToFitPageButton, this._zoomToFitPageWidthButton, pageNavigationSeparator, this._pageNavigation];
1105
+
906
1106
  this._items3D = [
907
1107
  this._gestureButtons[1], // orbit
908
1108
  crossSectionToggleButton,
@@ -932,9 +1132,17 @@ sap.ui.define([
932
1132
  crossSectionSeparator,
933
1133
  predefinedViews,
934
1134
  predefinedViewsSeparator,
935
- fullscreen
1135
+ fullscreen,
1136
+ this._zoomInButton,
1137
+ this._zoomOutButton,
1138
+ this._zoomToFitPageButton,
1139
+ this._zoomToFitPageWidthButton,
1140
+ pageNavigationSeparator,
1141
+ this._pageNavigation
936
1142
  ];
937
1143
 
1144
+ this._notPdfItems = [zoom, items[9], items[13], togglePmiButton, togglePmiButtonSeparator, measurementsSeparator, this._measurementsToggleButton, fitToView, fullscreen];
1145
+
938
1146
  items.forEach(function(item) {
939
1147
  this._itemsVisibility.set(item, true);
940
1148
  this._itemsVisibilityObserver.observe(item, { properties: ["visible"] });
@@ -1035,8 +1243,10 @@ sap.ui.define([
1035
1243
  this._y = p.y;
1036
1244
  }
1037
1245
  event.handled = true;
1038
- } else if (event.n == 2 && !this._isScrolling) {
1246
+ } else if (!(isViewport3D(this.viewport) && this.viewport._isPanoramicActivated()) && event.n == 2 && !this._isScrolling) {
1039
1247
  setGestureIcon(this.viewport, 2);
1248
+ } else if ((isViewport3D(this.viewport) && this.viewport._isPanoramicActivated()) && event.n == 2 && !this._isScrolling) { // only spherical visualisations in viewer has rotate/turntable icon assigned to right-click gesture
1249
+ setGestureIcon(this.viewport, 0);
1040
1250
  }
1041
1251
  }
1042
1252
  };
@@ -1074,7 +1284,7 @@ sap.ui.define([
1074
1284
  if (viewport) {
1075
1285
  if (!this._cameraHandler || this._cameraHandler.getViewport() !== viewport) {
1076
1286
  this._cameraHandler = new CameraHandler(viewport, this);
1077
- viewport._loco.addHandler(this._cameraHandler, 0);
1287
+ viewport._loco?.addHandler(this._cameraHandler, 0);
1078
1288
  }
1079
1289
 
1080
1290
  this._cameraHandler._mode = modeIndex;
@@ -1139,21 +1349,30 @@ sap.ui.define([
1139
1349
  var is3D = isView3D(viewport);
1140
1350
  var isPanoramic = isViewport3D(viewport) && viewport._isPanoramicActivated();
1141
1351
  var isNative = isNativeViewport(viewport); // no scene tree, show/hide/selection not supported
1352
+ var isPdf = isPdfViewport(viewport);
1142
1353
 
1143
- this._ignoreVisiblityChange = true;
1354
+ this._ignoreVisibilityChange = true;
1144
1355
 
1145
1356
  this._itemsShowHideSelect.forEach(function(item) {
1146
- item.setVisible(!isNative && this._itemsVisibility.get(item));
1357
+ item.setVisible(!isNative && !isPdf && this._itemsVisibility.get(item));
1147
1358
  }.bind(this));
1148
1359
 
1149
1360
  this._itemTurntable.setVisible(is3D && this._itemsVisibility.get(this._itemTurntable));
1150
- this._itemPan.setVisible(!isPanoramic && this._itemsVisibility.get(this._itemPan));
1361
+ this._itemPan.setVisible(!isPanoramic && !isPdf && this._itemsVisibility.get(this._itemPan));
1151
1362
 
1152
1363
  this._items3D.forEach(function(item) {
1153
1364
  item.setVisible(is3D && !isPanoramic && this._itemsVisibility.get(item));
1154
1365
  }.bind(this));
1155
1366
 
1156
- this._ignoreVisiblityChange = false;
1367
+ this._pdfItems.forEach((i) => {
1368
+ i.setVisible(isPdf && this._itemsVisibility.get(i));
1369
+ });
1370
+
1371
+ this._notPdfItems.forEach((i) => {
1372
+ i.setVisible(!isPdf && this._itemsVisibility.get(i));
1373
+ });
1374
+
1375
+ this._ignoreVisibilityChange = false;
1157
1376
 
1158
1377
  if (is3D && !isPanoramic) {
1159
1378
  this._crossSectionTool = this._crossSectionTool || new CrossSectionTool();
@@ -1164,5 +1383,11 @@ sap.ui.define([
1164
1383
  }
1165
1384
  };
1166
1385
 
1386
+ DrawerToolbar.prototype.setPageNavigationEnabled = function(enabled) {
1387
+ this._previousPageButton.setEnabled(enabled);
1388
+ this._currentPageIndexInput.setEnabled(enabled);
1389
+ this._nextPageButton.setEnabled(enabled);
1390
+ };
1391
+
1167
1392
  return DrawerToolbar;
1168
1393
  });
@@ -34,7 +34,12 @@ sap.ui.define([
34
34
  Measurements: "VIT-Measurements",
35
35
  MeasurementsSeparator: "VIT-Measurements-Separator",
36
36
  PMI: "VIT-PMI",
37
- PMISeparator: "VIT-PMI-Separator"
37
+ PMISeparator: "VIT-PMI-Separator",
38
+ ZoomIn: "VIT-Zoom-In",
39
+ ZoomOut: "VIT-Zoom-Out",
40
+ FitToPage: "VIT-Fit-To-Page",
41
+ FitToWidth: "VIT-Fit-To-Width",
42
+ PageNavigation: "VIT-Page-Navigation"
38
43
  };
39
44
 
40
45
  DataType.registerEnum("sap.ui.vk.DrawerToolbarButton", DrawerToolbarButton);
@@ -18,7 +18,7 @@ sap.ui.define(["sap/ui/base/Exception"], function(Exception) {
18
18
  * @param {string} message The error message.
19
19
  * @private
20
20
  * @author SAP SE
21
- * @version 1.123.0
21
+ * @version 1.124.1
22
22
  * @extends sap.ui.base.Exception
23
23
  * @alias sap.ui.vk.DvlException
24
24
  */