@sapui5/sap.ui.vk 1.136.0 → 1.138.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 (241) hide show
  1. package/package.json +1 -1
  2. package/src/sap/ui/vk/.library +1 -1
  3. package/src/sap/ui/vk/AnimationPlayback.js +1 -1
  4. package/src/sap/ui/vk/AnimationPlayer.js +2 -2
  5. package/src/sap/ui/vk/AnimationSequence.js +1 -1
  6. package/src/sap/ui/vk/AnimationTimeSlider.js +1 -1
  7. package/src/sap/ui/vk/AnimationTrack.js +1 -1
  8. package/src/sap/ui/vk/Annotation.js +2 -2
  9. package/src/sap/ui/vk/BaseNodeProxy.js +1 -1
  10. package/src/sap/ui/vk/Camera.js +1 -1
  11. package/src/sap/ui/vk/ContentConnector.js +2 -2
  12. package/src/sap/ui/vk/ContentManager.js +1 -1
  13. package/src/sap/ui/vk/ContentResource.js +5 -1
  14. package/src/sap/ui/vk/Core.js +1 -3
  15. package/src/sap/ui/vk/DownloadManager.js +1 -1
  16. package/src/sap/ui/vk/DrawerToolbar.js +142 -76
  17. package/src/sap/ui/vk/DrawerToolbarButton.js +12 -1
  18. package/src/sap/ui/vk/DvlException.js +1 -1
  19. package/src/sap/ui/vk/FlexibleControl.js +1 -2
  20. package/src/sap/ui/vk/FlexibleControlLayoutData.js +1 -2
  21. package/src/sap/ui/vk/Highlight.js +1 -1
  22. package/src/sap/ui/vk/ImageContentManager.js +1 -1
  23. package/src/sap/ui/vk/JointUtils.js +1 -1
  24. package/src/sap/ui/vk/LayerProxy.js +1 -1
  25. package/src/sap/ui/vk/LegendItem.js +1 -1
  26. package/src/sap/ui/vk/ListPanel.js +1 -1
  27. package/src/sap/ui/vk/ListPanelStack.js +1 -1
  28. package/src/sap/ui/vk/Loco.js +1 -1
  29. package/src/sap/ui/vk/Material.js +1 -1
  30. package/src/sap/ui/vk/NativeViewport.js +1 -1
  31. package/src/sap/ui/vk/NodeHierarchy.js +1 -1
  32. package/src/sap/ui/vk/NodeProxy.js +1 -1
  33. package/src/sap/ui/vk/NodeUtils.js +1 -1
  34. package/src/sap/ui/vk/Notifications.js +1 -1
  35. package/src/sap/ui/vk/OrthographicCamera.js +1 -1
  36. package/src/sap/ui/vk/OutputSettings.js +0 -1
  37. package/src/sap/ui/vk/Overlay.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 +1 -1
  41. package/src/sap/ui/vk/RedlineConversation.js +1 -1
  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 +1 -1
  50. package/src/sap/ui/vk/RedlineSurface.js +2 -2
  51. package/src/sap/ui/vk/SafeArea.js +1 -1
  52. package/src/sap/ui/vk/Scene.js +12 -1
  53. package/src/sap/ui/vk/SceneTree.js +4 -7
  54. package/src/sap/ui/vk/StepNavigation.js +1 -2
  55. package/src/sap/ui/vk/Texture.js +2 -2
  56. package/src/sap/ui/vk/ToggleMenuButton.js +1 -1
  57. package/src/sap/ui/vk/ToggleMenuItem.js +7 -4
  58. package/src/sap/ui/vk/ToggleMenuItemRenderer.js +224 -0
  59. package/src/sap/ui/vk/Toolbar.js +69 -115
  60. package/src/sap/ui/vk/View.js +7 -13
  61. package/src/sap/ui/vk/ViewGallery.js +2 -2
  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 +2 -2
  66. package/src/sap/ui/vk/ViewStateManagerBase.js +3 -3
  67. package/src/sap/ui/vk/Viewer.js +467 -304
  68. package/src/sap/ui/vk/Viewport.js +2 -2
  69. package/src/sap/ui/vk/ViewportBase.js +46 -3
  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/ecad/ElementsPanel.js +641 -119
  80. package/src/sap/ui/vk/ecad/LayersPanel.js +254 -121
  81. package/src/sap/ui/vk/i18n/messagebundle.properties +40 -5
  82. package/src/sap/ui/vk/i18n/messagebundle_ar.properties +34 -0
  83. package/src/sap/ui/vk/i18n/messagebundle_bg.properties +34 -0
  84. package/src/sap/ui/vk/i18n/messagebundle_ca.properties +35 -1
  85. package/src/sap/ui/vk/i18n/messagebundle_cnr.properties +34 -0
  86. package/src/sap/ui/vk/i18n/messagebundle_cs.properties +34 -0
  87. package/src/sap/ui/vk/i18n/messagebundle_cy.properties +34 -0
  88. package/src/sap/ui/vk/i18n/messagebundle_da.properties +34 -0
  89. package/src/sap/ui/vk/i18n/messagebundle_de.properties +34 -0
  90. package/src/sap/ui/vk/i18n/messagebundle_el.properties +34 -0
  91. package/src/sap/ui/vk/i18n/messagebundle_en.properties +348 -0
  92. package/src/sap/ui/vk/i18n/messagebundle_en_GB.properties +34 -0
  93. package/src/sap/ui/vk/i18n/messagebundle_en_US_saprigi.properties +34 -0
  94. package/src/sap/ui/vk/i18n/messagebundle_es.properties +36 -2
  95. package/src/sap/ui/vk/i18n/messagebundle_es_MX.properties +34 -0
  96. package/src/sap/ui/vk/i18n/messagebundle_et.properties +34 -0
  97. package/src/sap/ui/vk/i18n/messagebundle_fi.properties +34 -0
  98. package/src/sap/ui/vk/i18n/messagebundle_fr.properties +34 -0
  99. package/src/sap/ui/vk/i18n/messagebundle_fr_CA.properties +34 -0
  100. package/src/sap/ui/vk/i18n/messagebundle_hi.properties +34 -0
  101. package/src/sap/ui/vk/i18n/messagebundle_hr.properties +34 -0
  102. package/src/sap/ui/vk/i18n/messagebundle_hu.properties +34 -0
  103. package/src/sap/ui/vk/i18n/messagebundle_id.properties +35 -1
  104. package/src/sap/ui/vk/i18n/messagebundle_it.properties +36 -2
  105. package/src/sap/ui/vk/i18n/messagebundle_iw.properties +34 -0
  106. package/src/sap/ui/vk/i18n/messagebundle_ja.properties +34 -0
  107. package/src/sap/ui/vk/i18n/messagebundle_kk.properties +34 -0
  108. package/src/sap/ui/vk/i18n/messagebundle_ko.properties +34 -0
  109. package/src/sap/ui/vk/i18n/messagebundle_lt.properties +34 -0
  110. package/src/sap/ui/vk/i18n/messagebundle_lv.properties +36 -2
  111. package/src/sap/ui/vk/i18n/messagebundle_mk.properties +36 -2
  112. package/src/sap/ui/vk/i18n/messagebundle_ms.properties +39 -5
  113. package/src/sap/ui/vk/i18n/messagebundle_nl.properties +34 -0
  114. package/src/sap/ui/vk/i18n/messagebundle_no.properties +34 -0
  115. package/src/sap/ui/vk/i18n/messagebundle_pl.properties +34 -0
  116. package/src/sap/ui/vk/i18n/messagebundle_pt.properties +34 -0
  117. package/src/sap/ui/vk/i18n/messagebundle_pt_PT.properties +34 -0
  118. package/src/sap/ui/vk/i18n/messagebundle_ro.properties +34 -0
  119. package/src/sap/ui/vk/i18n/messagebundle_ru.properties +34 -0
  120. package/src/sap/ui/vk/i18n/messagebundle_sh.properties +34 -0
  121. package/src/sap/ui/vk/i18n/messagebundle_sk.properties +34 -0
  122. package/src/sap/ui/vk/i18n/messagebundle_sl.properties +37 -3
  123. package/src/sap/ui/vk/i18n/messagebundle_sr.properties +34 -0
  124. package/src/sap/ui/vk/i18n/messagebundle_sv.properties +34 -0
  125. package/src/sap/ui/vk/i18n/messagebundle_th.properties +34 -0
  126. package/src/sap/ui/vk/i18n/messagebundle_tr.properties +34 -0
  127. package/src/sap/ui/vk/i18n/messagebundle_uk.properties +35 -1
  128. package/src/sap/ui/vk/i18n/messagebundle_vi.properties +34 -0
  129. package/src/sap/ui/vk/i18n/messagebundle_zh_CN.properties +34 -0
  130. package/src/sap/ui/vk/i18n/messagebundle_zh_TW.properties +34 -0
  131. package/src/sap/ui/vk/library.js +6 -3
  132. package/src/sap/ui/vk/measurements/Angle.js +1 -1
  133. package/src/sap/ui/vk/measurements/Area.js +1 -1
  134. package/src/sap/ui/vk/measurements/Distance.js +1 -1
  135. package/src/sap/ui/vk/measurements/Edge.js +1 -1
  136. package/src/sap/ui/vk/measurements/Face.js +1 -1
  137. package/src/sap/ui/vk/measurements/Feature.js +1 -1
  138. package/src/sap/ui/vk/measurements/Vertex.js +1 -1
  139. package/src/sap/ui/vk/pdf/ContentManager.js +1 -1
  140. package/src/sap/ui/vk/pdf/Viewport.js +5 -8
  141. package/src/sap/ui/vk/svg/BaseNodeProxy.js +1 -1
  142. package/src/sap/ui/vk/svg/ContentDeliveryService.js +1 -1
  143. package/src/sap/ui/vk/svg/ContentManager.js +3 -1
  144. package/src/sap/ui/vk/svg/HotspotHelper.js +2 -2
  145. package/src/sap/ui/vk/svg/NodeHierarchy.js +1 -1
  146. package/src/sap/ui/vk/svg/NodeProxy.js +1 -1
  147. package/src/sap/ui/vk/svg/OrthographicCamera.js +1 -1
  148. package/src/sap/ui/vk/svg/Scene.js +1 -1
  149. package/src/sap/ui/vk/svg/SceneBuilder.js +12 -4
  150. package/src/sap/ui/vk/svg/ViewStateManager.js +2 -2
  151. package/src/sap/ui/vk/svg/Viewport.js +199 -2
  152. package/src/sap/ui/vk/themes/base/DrawerToolbar.less +8 -0
  153. package/src/sap/ui/vk/themes/base/Viewer.less +9 -12
  154. package/src/sap/ui/vk/themes/base/fonts/SAP-VE-icons-bold-v1.8.woff2 +0 -0
  155. package/src/sap/ui/vk/themes/base/fonts/SAP-VE-icons-regular-v1.8.woff2 +0 -0
  156. package/src/sap/ui/vk/themes/base/library.source.less +1 -1
  157. package/src/sap/ui/vk/themes/sap_belize_base/Viewer.less +1 -12
  158. package/src/sap/ui/vk/themes/sap_belize_base/library.source.less +1 -1
  159. package/src/sap/ui/vk/themes/sap_bluecrystal_base/Viewer.less +1 -12
  160. package/src/sap/ui/vk/themes/sap_bluecrystal_base/library.source.less +1 -1
  161. package/src/sap/ui/vk/themes/sap_hcb/base_Viewer.less +1 -12
  162. package/src/sap/ui/vk/themes/sap_hcb/library.source.less +1 -1
  163. package/src/sap/ui/vk/themes/sap_horizon/library.source.less +0 -5
  164. package/src/sap/ui/vk/themes/sap_horizon_dark/library.source.less +0 -5
  165. package/src/sap/ui/vk/themes/sap_horizon_hcb/library.source.less +0 -5
  166. package/src/sap/ui/vk/themes/sap_horizon_hcw/library.source.less +0 -5
  167. package/src/sap/ui/vk/thirdparty/pdf.worker.js +1 -1
  168. package/src/sap/ui/vk/threejs/AnimationHelper.js +1 -1
  169. package/src/sap/ui/vk/threejs/BaseNodeProxy.js +1 -1
  170. package/src/sap/ui/vk/threejs/Billboard.js +2 -2
  171. package/src/sap/ui/vk/threejs/Callout.js +11 -1
  172. package/src/sap/ui/vk/threejs/ContentDeliveryService.js +1 -1
  173. package/src/sap/ui/vk/threejs/ContentManager.js +2 -1
  174. package/src/sap/ui/vk/threejs/DetailView.js +1 -1
  175. package/src/sap/ui/vk/threejs/HighlightPlayer.js +1 -1
  176. package/src/sap/ui/vk/threejs/Material.js +2 -2
  177. package/src/sap/ui/vk/threejs/NodeHierarchy.js +1 -1
  178. package/src/sap/ui/vk/threejs/NodeProxy.js +1 -1
  179. package/src/sap/ui/vk/threejs/OrthographicCamera.js +1 -1
  180. package/src/sap/ui/vk/threejs/PerspectiveCamera.js +1 -1
  181. package/src/sap/ui/vk/threejs/PointCloudGroup.js +1 -1
  182. package/src/sap/ui/vk/threejs/Scene.js +1 -1
  183. package/src/sap/ui/vk/threejs/SceneBuilder.js +17 -1
  184. package/src/sap/ui/vk/threejs/Texture.js +2 -2
  185. package/src/sap/ui/vk/threejs/Thrustline.js +1 -1
  186. package/src/sap/ui/vk/threejs/ViewStateManager.js +2 -2
  187. package/src/sap/ui/vk/threejs/Viewport.js +9 -3
  188. package/src/sap/ui/vk/threejs/v2/ViewStateManager.js +1 -1
  189. package/src/sap/ui/vk/tools/AnchorPointTool.js +1 -1
  190. package/src/sap/ui/vk/tools/AnchorPointToolGizmo.js +1 -1
  191. package/src/sap/ui/vk/tools/AxisAngleRotationTool.js +1 -1
  192. package/src/sap/ui/vk/tools/AxisAngleRotationToolGizmo.js +1 -1
  193. package/src/sap/ui/vk/tools/CreateEllipseTool.js +1 -1
  194. package/src/sap/ui/vk/tools/CreateEllipseToolGizmo.js +1 -1
  195. package/src/sap/ui/vk/tools/CreateParametricGizmo.js +1 -1
  196. package/src/sap/ui/vk/tools/CreatePathTool.js +1 -1
  197. package/src/sap/ui/vk/tools/CreatePathToolGizmo.js +1 -1
  198. package/src/sap/ui/vk/tools/CreateRectangleTool.js +1 -1
  199. package/src/sap/ui/vk/tools/CreateRectangleToolGizmo.js +1 -1
  200. package/src/sap/ui/vk/tools/CreateTextTool.js +1 -1
  201. package/src/sap/ui/vk/tools/CreateTextToolGizmo.js +1 -1
  202. package/src/sap/ui/vk/tools/CrossSectionTool.js +1 -1
  203. package/src/sap/ui/vk/tools/CrossSectionToolGizmo.js +1 -1
  204. package/src/sap/ui/vk/tools/DuplicateSvgElementTool.js +1 -1
  205. package/src/sap/ui/vk/tools/DuplicateSvgElementToolGizmo.js +1 -1
  206. package/src/sap/ui/vk/tools/ExplodeItemGroup.js +1 -1
  207. package/src/sap/ui/vk/tools/ExplodeTool.js +1 -1
  208. package/src/sap/ui/vk/tools/ExplodeToolGizmo.js +1 -1
  209. package/src/sap/ui/vk/tools/Gizmo.js +1 -1
  210. package/src/sap/ui/vk/tools/HitTestTool.js +1 -1
  211. package/src/sap/ui/vk/tools/MoveTool.js +1 -1
  212. package/src/sap/ui/vk/tools/MoveToolGizmo.js +1 -1
  213. package/src/sap/ui/vk/tools/PointCloudSelectionTool.js +2 -2
  214. package/src/sap/ui/vk/tools/PointCloudSelectionToolGizmo.js +1 -1
  215. package/src/sap/ui/vk/tools/RectSelectTool.js +1 -1
  216. package/src/sap/ui/vk/tools/RedlineTool.js +1 -1
  217. package/src/sap/ui/vk/tools/RedlineToolGizmo.js +1 -1
  218. package/src/sap/ui/vk/tools/RotateOrbitTool.js +1 -1
  219. package/src/sap/ui/vk/tools/RotateTool.js +1 -1
  220. package/src/sap/ui/vk/tools/RotateToolGizmo.js +1 -1
  221. package/src/sap/ui/vk/tools/RotateTurntableTool.js +1 -1
  222. package/src/sap/ui/vk/tools/ScaleTool.js +1 -1
  223. package/src/sap/ui/vk/tools/ScaleToolGizmo.js +1 -1
  224. package/src/sap/ui/vk/tools/SceneOrientationTool.js +1 -1
  225. package/src/sap/ui/vk/tools/SceneOrientationToolGizmo.js +1 -1
  226. package/src/sap/ui/vk/tools/Tool.js +1 -1
  227. package/src/sap/ui/vk/tools/TooltipTool.js +1 -1
  228. package/src/sap/ui/vk/tools/TooltipToolGizmo.js +1 -1
  229. package/src/sap/ui/vk/tools/TransformSvgElementTool.js +1 -1
  230. package/src/sap/ui/vk/tools/TransformSvgElementToolGizmo.js +1 -1
  231. package/src/sap/ui/vk/totara/TotaraLoader.js +4 -0
  232. package/src/sap/ui/vk/ve/dvl.js +1 -1
  233. package/src/sap/ui/vk/ve/dvl.wasm +0 -0
  234. package/src/sap/ui/vk/ve/matai.js +1 -1
  235. package/src/sap/ui/vk/ve/matai.wasm +0 -0
  236. package/src/sap/ui/vk/ToolbarRenderer.js +0 -41
  237. package/src/sap/ui/vk/ViewerRenderer.js +0 -48
  238. package/src/sap/ui/vk/ecad/ElementsPanelRenderer.js +0 -41
  239. package/src/sap/ui/vk/ecad/LayersPanelRenderer.js +0 -41
  240. package/src/sap/ui/vk/themes/base/fonts/SAP-VE-icons-bold-v1.4.woff2 +0 -0
  241. package/src/sap/ui/vk/themes/base/fonts/SAP-VE-icons-regular-v1.4.woff2 +0 -0
@@ -40,7 +40,7 @@ sap.ui.define([
40
40
  * @public
41
41
  * @alias sap.ui.vk.ListPanel
42
42
  * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
43
- * @experimental Since 1.38.0 This class is experimental and might be modified or removed in future versions.
43
+ * @since 1.38.0
44
44
  * @deprecated As of version 1.120.2. This object is moved to sap.ui.vbm namespace, see {@link sap.ui.vbm.ListPanel}
45
45
  */
46
46
  var ListPanel = Control.extend("sap.ui.vk.ListPanel", /** @lends sap.ui.vk.ListPanel.prototype */ {
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  * @public
33
33
  * @alias sap.ui.vk.ListPanelStack
34
34
  * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
35
- * @experimental Since 1.38.0 This class is experimental and might be modified or removed in future versions.
35
+ * @since 1.38.0
36
36
  * @deprecated As of version 1.120.2. This object is moved to sap.ui.vbm namespace, see {@link sap.ui.vbm.ListPanelStack}
37
37
  */
38
38
  var ListPanelStack = Control.extend("sap.ui.vk.ListPanelStack", /** @lends sap.ui.vk.ListPanelStack.prototype */ {
@@ -131,7 +131,7 @@ sap.ui.define([
131
131
  * @extends sap.ui.base.BaseObject
132
132
  *
133
133
  * @author SAP SE
134
- * @version 1.136.0
134
+ * @version 1.138.0
135
135
  *
136
136
  * @constructor
137
137
  * @param {sap.ui.vk.Viewport} [viewport] The viewport to attach the event handlers to.
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @public
25
25
  * @abstract
26
26
  * @author SAP SE
27
- * @version 1.136.0
27
+ * @version 1.138.0
28
28
  * @extends sap.ui.base.Object
29
29
  * @alias sap.ui.vk.Material
30
30
  */
@@ -44,7 +44,7 @@ sap.ui.define([
44
44
  *
45
45
  * @extends sap.ui.vk.ViewportBase
46
46
  * @author SAP SE
47
- * @version 1.136.0
47
+ * @version 1.138.0
48
48
  * @constructor
49
49
  * @public
50
50
  * @alias sap.ui.vk.NativeViewport
@@ -36,7 +36,7 @@ sap.ui.define([
36
36
  * @public
37
37
  * @abstract
38
38
  * @author SAP SE
39
- * @version 1.136.0
39
+ * @version 1.138.0
40
40
  * @extends sap.ui.base.ManagedObject
41
41
  * @alias sap.ui.vk.NodeHierarchy
42
42
  */
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  *
25
25
  * @public
26
26
  * @author SAP SE
27
- * @version 1.136.0
27
+ * @version 1.138.0
28
28
  * @extends sap.ui.base.ManagedObject
29
29
  * @alias sap.ui.vk.NodeProxy
30
30
  * @since 1.32.0
@@ -15,7 +15,7 @@ sap.ui.define([
15
15
  *
16
16
  * @private
17
17
  * @author SAP SE
18
- * @version 1.136.0
18
+ * @version 1.138.0
19
19
  * @alias sap.ui.vk.NodeUtils
20
20
  * @since 1.74
21
21
  */
@@ -45,7 +45,7 @@ sap.ui.define([
45
45
  * @param {object} [mSettings] Initial settings for the new Notifications control.
46
46
  * @public
47
47
  * @author SAP SE
48
- * @version 1.136.0
48
+ * @version 1.138.0
49
49
  * @extends sap.ui.core.Control
50
50
  * @alias sap.ui.vk.Notifications
51
51
  * @since 1.38.0
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  *
23
23
  * @public
24
24
  * @author SAP SE
25
- * @version 1.136.0
25
+ * @version 1.138.0
26
26
  * @extends sap.ui.vk.Camera
27
27
  * @alias sap.ui.vk.OrthographicCamera
28
28
  * @since 1.52.0
@@ -27,7 +27,6 @@ sap.ui.define([
27
27
  * @alias sap.ui.vk.OutputSettings
28
28
  * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
29
29
  * @since 1.92.0
30
- * @experimental Since 1.92.0 This class is experimental and might be modified or removed in future versions.
31
30
  */
32
31
  var OverlayArea = Element.extend("sap.ui.vk.OutputSettings", /** @lends sap.ui.vk.OverlayArea.prototype */ {
33
32
  metadata: {
@@ -327,7 +327,7 @@ sap.ui.define([
327
327
  oTarget.addDelegate({
328
328
  onAfterRendering: function(oEvent) {
329
329
  this.oTargetDomRef = oTarget.getDomRef();
330
- this.oTargetDomRef.addEventListener("load", jQuery.proxy(this._adaptSizeOfTarget, this));
330
+ this.oTargetDomRef.addEventListener("load", this._adaptSizeOfTarget.bind(this));
331
331
  }.bind(this)
332
332
  });
333
333
  } else {
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  *
23
23
  * @public
24
24
  * @author SAP SE
25
- * @version 1.136.0
25
+ * @version 1.138.0
26
26
  * @extends sap.ui.vk.Camera
27
27
  * @alias sap.ui.vk.PerspectiveCamera
28
28
  * @since 1.52.0
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @extends sap.m.ProgressIndicator
28
28
  *
29
29
  * @author SAP SE
30
- * @version 1.136.0
30
+ * @version 1.138.0
31
31
  *
32
32
  * @constructor
33
33
  * @public
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  *
31
31
  * @public
32
32
  * @author SAP SE
33
- * @version 1.136.0s
33
+ * @version 1.138.0s
34
34
  * @extends sap.ui.core.Element
35
35
  * @alias sap.ui.vk.RedlineCollaboration
36
36
  * @since 1.89.0
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  *
28
28
  * @public
29
29
  * @author SAP SE
30
- * @version 1.136.0
30
+ * @version 1.138.0
31
31
  * @extends sap.ui.core.Element
32
32
  * @alias sap.ui.vk.RedlineConversation
33
33
  * @since 1.89.0
@@ -31,7 +31,7 @@ sap.ui.define([
31
31
  *
32
32
  * @public
33
33
  * @author SAP SE
34
- * @version 1.136.0
34
+ * @version 1.138.0
35
35
  * @extends sap.ui.vk.RedlineSurface
36
36
  * @alias sap.ui.vk.RedlineDesign
37
37
  * @since 1.40.0
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  *
22
22
  * @public
23
23
  * @author SAP SE
24
- * @version 1.136.0
24
+ * @version 1.138.0
25
25
  * @extends sap.ui.core.Element
26
26
  * @alias sap.ui.vk.RedlineElement
27
27
  * @since 1.40.0
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  *
23
23
  * @public
24
24
  * @author SAP SE
25
- * @version 1.136.0
25
+ * @version 1.138.0
26
26
  * @extends sap.ui.core.Element
27
27
  * @alias sap.ui.vk.RedlineElementComment
28
28
  * @since 1.89.0
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  *
25
25
  * @public
26
26
  * @author SAP SE
27
- * @version 1.136.0
27
+ * @version 1.138.0
28
28
  * @extends sap.ui.vk.RedlineElement
29
29
  * @alias sap.ui.vk.RedlineElementEllipse
30
30
  * @since 1.40.0
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  *
25
25
  * @public
26
26
  * @author SAP SE
27
- * @version 1.136.0
27
+ * @version 1.138.0
28
28
  * @extends sap.ui.vk.RedlineElement
29
29
  * @alias sap.ui.vk.RedlineElementFreehand
30
30
  * @since 1.40.0
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  *
25
25
  * @public
26
26
  * @author SAP SE
27
- * @version 1.136.0
27
+ * @version 1.138.0
28
28
  * @extends sap.ui.vk.RedlineElement
29
29
  * @alias sap.ui.vk.RedlineElementLine
30
30
  * @since 1.40.0
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  *
25
25
  * @public
26
26
  * @author SAP SE
27
- * @version 1.136.0
27
+ * @version 1.138.0
28
28
  * @extends sap.ui.vk.RedlineElement
29
29
  * @alias sap.ui.vk.RedlineElementRectangle
30
30
  * @since 1.40.0
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  *
25
25
  * @public
26
26
  * @author SAP SE
27
- * @version 1.136.0
27
+ * @version 1.138.0
28
28
  * @extends sap.ui.vk.RedlineElement
29
29
  * @alias sap.ui.vk.RedlineElementText
30
30
  * @since 1.40.0
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  *
33
33
  * @public
34
34
  * @author SAP SE
35
- * @version 1.136.0
35
+ * @version 1.138.0
36
36
  * @extends sap.ui.core.Control
37
37
  * @alias sap.ui.vk.RedlineSurface
38
38
  * @since 1.40.0
@@ -108,7 +108,7 @@ sap.ui.define([
108
108
  * @public
109
109
  */
110
110
  RedlineSurface.prototype.importJSON = function(jsonElements) {
111
- if (!jQuery.isArray(jsonElements)) {
111
+ if (!Array.isArray(jsonElements)) {
112
112
  jsonElements = [jsonElements];
113
113
  }
114
114
 
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  *
25
25
  * @public
26
26
  * @author SAP SE
27
- * @version 1.136.0
27
+ * @version 1.138.0
28
28
  * @extends sap.ui.core.Control
29
29
  * @alias sap.ui.vk.SafeArea
30
30
  */
@@ -37,7 +37,7 @@ sap.ui.define([
37
37
  * @public
38
38
  * @abstract
39
39
  * @author SAP SE
40
- * @version 1.136.0
40
+ * @version 1.138.0
41
41
  * @extends sap.ui.base.ManagedObject
42
42
  * @alias sap.ui.vk.Scene
43
43
  */
@@ -628,5 +628,16 @@ sap.ui.define([
628
628
  return this;
629
629
  };
630
630
 
631
+ Scene.prototype._metadata = null;
632
+
633
+ Scene.prototype.setSceneMetadata = function(metadata) {
634
+ this._metadata = metadata;
635
+ return this;
636
+ };
637
+
638
+ Scene.prototype.getSceneMetadata = function(metadata) {
639
+ return this._metadata;
640
+ };
641
+
631
642
  return Scene;
632
643
  });
@@ -65,7 +65,7 @@ sap.ui.define([
65
65
  * @extends sap.ui.core.Control
66
66
  *
67
67
  * @author SAP SE
68
- * @version 1.136.0
68
+ * @version 1.138.0
69
69
  *
70
70
  * @constructor
71
71
  * @public
@@ -439,9 +439,7 @@ sap.ui.define([
439
439
  rowCount = tree.getRowMode().getComputedRowCounts().count;
440
440
  if ((index < firstRow) || (index >= (firstRow + rowCount))) {
441
441
  firstRow = Math.min(Math.max(index - (rowCount >> 1), 0), totalRowCount - rowCount);
442
- setTimeout(function() {
443
- tree.setFirstVisibleRow(firstRow);
444
- }, 0); // we have to wait until the tree opens up
442
+ tree.setFirstVisibleRow(firstRow);
445
443
  }
446
444
  }
447
445
 
@@ -522,13 +520,12 @@ sap.ui.define([
522
520
  };
523
521
 
524
522
  SceneTree.prototype.refresh = function() {
525
- if (!this._scene || !this._viewStateManager || !this._viewStateManager.getNodeHierarchy()) {
523
+ const nodeHierarchy = this._scene?.getDefaultNodeHierarchy?.();
524
+ if (!nodeHierarchy || !this._viewStateManager?.getNodeHierarchy()) {
526
525
  this._model.setData([]);
527
526
  return;
528
527
  }
529
528
 
530
- var nodeHierarchy = this._scene.getDefaultNodeHierarchy();
531
-
532
529
  // building the tree model which is going to be passed to the TreeTable control.
533
530
  var tree = [];
534
531
  var getChildrenRecursively = function(tree, nodeRefs) {
@@ -79,7 +79,7 @@ sap.ui.define([
79
79
  * @param {object} [mSettings] Initial settings for the new Step Navigation control.
80
80
  * @public
81
81
  * @author SAP SE
82
- * @version 1.136.0
82
+ * @version 1.138.0
83
83
  * @extends sap.ui.core.Control
84
84
  * @alias sap.ui.vk.StepNavigation
85
85
  * @deprecated Since version 1.72.0. This class is used only with DVL namespace which will be removed in future. Use {@link sap.ui.vk.ViewGallery} instead.
@@ -335,7 +335,6 @@ sap.ui.define([
335
335
 
336
336
  // Create JSON data model
337
337
  this.oModel = new JSONModel();
338
- this.setModel(this.oModel);
339
338
 
340
339
  // Create layout panel
341
340
  this._layout = new Toolbar({
@@ -22,10 +22,10 @@ sap.ui.define([
22
22
  *
23
23
  * @public
24
24
  * @author SAP SE
25
- * @version 1.136.0
25
+ * @version 1.138.0
26
26
  * @extends sap.ui.base.ManagedObject
27
27
  * @alias sap.ui.vk.Texture
28
- * @experimental Since 1.58.0 This class is experimental and might be modified or removed in future versions.
28
+ * @since 1.58.0
29
29
  */
30
30
  var Texture = ManagedObject.extend("sap.ui.vk.Texture", /** @lends sap.ui.vk.Texture.prototype */ {
31
31
  metadata: {
@@ -61,7 +61,7 @@ sap.ui.define([
61
61
  *
62
62
  * @public
63
63
  * @author SAP SE
64
- * @version 1.136.0
64
+ * @version 1.138.0
65
65
  * @extends sap.ui.core.Control
66
66
  * @alias sap.ui.vk.ToggleMenuButton
67
67
  */
@@ -7,9 +7,11 @@
7
7
 
8
8
  // Provides control sap.ui.vk.ToggleMenuItem.
9
9
  sap.ui.define([
10
- "sap/m/MenuItem"
10
+ "sap/m/MenuItem",
11
+ "./ToggleMenuItemRenderer"
11
12
  ], function(
12
- MenuItem
13
+ MenuItem,
14
+ ToggleMenuItemRenderer
13
15
  ) {
14
16
  "use strict";
15
17
 
@@ -24,7 +26,7 @@ sap.ui.define([
24
26
  * @extends sap.m.MenuItem
25
27
  *
26
28
  * @author SAP SE
27
- * @version 1.136.0
29
+ * @version 1.138.0
28
30
  *
29
31
  * @constructor
30
32
  * @private
@@ -39,7 +41,8 @@ sap.ui.define([
39
41
  */
40
42
  toggleable: { type: "boolean", group: "Behavior", defaultValue: true }
41
43
  }
42
- }
44
+ },
45
+ renderer: ToggleMenuItemRenderer
43
46
  });
44
47
 
45
48
  return ToggleMenuItem;
@@ -0,0 +1,224 @@
1
+ /*!
2
+ * SAP UI development toolkit for HTML5 (SAPUI5)
3
+
4
+ (c) Copyright 2009-2015 SAP SE. All rights reserved
5
+
6
+ */
7
+
8
+ // This is a copy of MenuItemRenderer from openUi5, just with the name changed to ToggleMenuItemRenderer.
9
+ // This is required because older versions of ui5 (e.g. 1.120) do not have the MenuItemRenderer class
10
+
11
+ sap.ui.define([
12
+ "sap/ui/core/library"
13
+ ], function(
14
+ coreLibrary
15
+ ) {
16
+ "use strict";
17
+
18
+ // Shortcut for sap.ui.core.ItemSelectionMode
19
+ const ItemSelectionMode = coreLibrary.ItemSelectionMode;
20
+
21
+ /**
22
+ * ToggleMenuItemRenderer renderer.
23
+ * @namespace
24
+ */
25
+ const ToggleMenuItemRenderer = {
26
+ apiVersion: 2
27
+ };
28
+
29
+ /**
30
+ * Renders the HTML for the given control, using the provided
31
+ * {@link sap.ui.core.RenderManager}.
32
+ *
33
+ * @param {sap.ui.core.RenderManager} oRm the RenderManager that can be used for writing to the Render-Output-Buffer
34
+ * @param {sap.m.MenuItem} oItem the menu item to be rendered
35
+ */
36
+ ToggleMenuItemRenderer.render = function(oRm, oItem) {
37
+ const bHasSubmenu = !!oItem._getVisibleItems().length;
38
+
39
+ oRm.openStart("li", oItem);
40
+
41
+ // HTML attributes
42
+ this.renderAttributes(oRm, oItem);
43
+ // CSS classes
44
+ this.renderStyleClasses(oRm, oItem);
45
+ // Inline styles
46
+ this.renderInlineStyles(oRm, oItem);
47
+ // Add ARIA attributes
48
+ this.setAccessibilityAttributes(oRm, oItem);
49
+
50
+ oRm.openEnd();
51
+
52
+ // Icon column
53
+ this.renderIcon(oRm, oItem);
54
+ // Text column
55
+ this.renderText(oRm, oItem);
56
+
57
+ if (bHasSubmenu) {
58
+ // Submenu arrow column
59
+ this.renderSubmenuArrow(oRm, oItem);
60
+ } else {
61
+ // Shortcut column
62
+ this.renderShortcut(oRm, oItem);
63
+ // End content column
64
+ this.renderEndContent(oRm, oItem);
65
+ // Selection mark column
66
+ this.renderSelectionMark(oRm, oItem);
67
+ }
68
+
69
+ oRm.close("li");
70
+ };
71
+
72
+ /**
73
+ * Renders the HTML attributes for the given control.
74
+ *
75
+ * @param {sap.ui.core.RenderManager} oRm the RenderManager that can be used for writing to the Render-Output-Buffer
76
+ * @param {sap.m.MenuItem} oItem the menu item to be rendered
77
+ */
78
+ ToggleMenuItemRenderer.renderAttributes = function(oRm, oItem) {
79
+ if (oItem.getTooltip_AsString()) {
80
+ oRm.attr("title", oItem.getTooltip_AsString());
81
+ }
82
+
83
+ if (oItem.getVisible() && oItem.isFocusable && oItem.isFocusable()) {
84
+ oRm.attr("tabindex", "0");
85
+ }
86
+ };
87
+
88
+ /**
89
+ * Renders the CSS classes for the given control.
90
+ *
91
+ * @param {sap.ui.core.RenderManager} oRm the RenderManager that can be used for writing to the Render-Output-Buffer
92
+ * @param {sap.m.MenuItem} oItem the menu item to be rendered
93
+ */
94
+ ToggleMenuItemRenderer.renderStyleClasses = function(oRm, oItem) {
95
+ const bIsEnabled = oItem.getEnabled();
96
+
97
+ oRm.class("sapMMenuItem");
98
+ if (!bIsEnabled) {
99
+ oRm.class("sapMMenuItemDisabled");
100
+ }
101
+ };
102
+
103
+ /**
104
+ * Hook for rendering the inline styles of the control.
105
+ * Hook for the subclasses.
106
+ *
107
+ * @param {sap.ui.core.RenderManager} oRm the RenderManager that can be used for writing to the Render-Output-Buffer
108
+ * @param {sap.m.MenuItem} oItem the menu item to be rendered
109
+ */
110
+ ToggleMenuItemRenderer.renderInlineStyles = function(oRm, oItem) {
111
+ };
112
+
113
+ /**
114
+ * Sets the accessibility attributes for the given control.
115
+ *
116
+ * @param {sap.ui.core.RenderManager} oRm the RenderManager that can be used for writing to the Render-Output-Buffer
117
+ * @param {sap.m.MenuItem} oItem the menu item to be rendered
118
+ */
119
+ ToggleMenuItemRenderer.setAccessibilityAttributes = function(oRm, oItem) {
120
+ oRm.accessibilityState(oItem._getAccessibilityAttributes());
121
+ };
122
+
123
+ /**
124
+ * Renders the icon column for the given control.
125
+ *
126
+ * @param {sap.ui.core.RenderManager} oRm the RenderManager that can be used for writing to the Render-Output-Buffer
127
+ * @param {sap.m.MenuItem} oItem the menu item to be rendered
128
+ */
129
+ ToggleMenuItemRenderer.renderIcon = function(oRm, oItem) {
130
+ oRm.openStart("div");
131
+ oRm.class("sapMMenuItemIcon");
132
+ oRm.openEnd();
133
+
134
+ if (oItem.getIcon()) {
135
+ const oIcon = oItem._getIcon();
136
+ oRm.renderControl(oIcon);
137
+ }
138
+
139
+ oRm.close("div");
140
+ };
141
+
142
+ /**
143
+ * Renders the text column for the given control.
144
+ *
145
+ * @param {sap.ui.core.RenderManager} oRm the RenderManager that can be used for writing to the Render-Output-Buffer
146
+ * @param {sap.m.MenuItem} oItem the menu item to be rendered
147
+ */
148
+ ToggleMenuItemRenderer.renderText = function(oRm, oItem) {
149
+ oRm.openStart("div", `${oItem.getId()}-txt`);
150
+ oRm.class("sapMMenuItemText");
151
+ oRm.openEnd();
152
+ oRm.text(oItem.getText());
153
+ oRm.close("div");
154
+ };
155
+
156
+ /**
157
+ * Renders the shortcut column for the given control (if necessary).
158
+ *
159
+ * @param {sap.ui.core.RenderManager} oRm the RenderManager that can be used for writing to the Render-Output-Buffer
160
+ * @param {sap.m.MenuItem} oItem the menu item to be rendered
161
+ */
162
+ ToggleMenuItemRenderer.renderShortcut = function(oRm, oItem) {
163
+ const sShortcutText = oItem.getShortcutText();
164
+
165
+ if (sShortcutText) {
166
+ oRm.openStart("div", `${oItem.getId()}-scuttxt`);
167
+ oRm.class("sapMMenuItemShortcut");
168
+ oRm.openEnd();
169
+ oRm.text(sShortcutText);
170
+ oRm.close("div");
171
+ }
172
+ };
173
+
174
+ /**
175
+ * Renders the submenu arrow column for the given control.
176
+ * @param {sap.ui.core.RenderManager} oRm the RenderManager that can be used for writing to the Render-Output-Buffer
177
+ * @param {sap.m.MenuItem} oItem the menu item to be rendered
178
+ */
179
+ ToggleMenuItemRenderer.renderSubmenuArrow = function(oRm, oItem) {
180
+ oRm.openStart("div");
181
+ oRm.class("sapMMenuItemSubMenu");
182
+ oRm.openEnd();
183
+ oRm.openStart("div");
184
+ oRm.class("sapUiIconMirrorInRTL");
185
+ oRm.openEnd();
186
+ oRm.close("div");
187
+ oRm.close("div");
188
+ };
189
+
190
+ /**
191
+ * Renders the end content column for the given control (if necessary).
192
+ *
193
+ * @param {sap.ui.core.RenderManager} oRm the RenderManager that can be used for writing to the Render-Output-Buffer
194
+ * @param {sap.m.MenuItem} oItem the menu item to be rendered
195
+ */
196
+ ToggleMenuItemRenderer.renderEndContent = function(oRm, oItem) {
197
+ const aEndContent = oItem.getEndContent();
198
+
199
+ if (aEndContent.length) {
200
+ oRm.openStart("div", `${oItem.getId()}-endContent`);
201
+ oRm.class("sapMMenuEndContent");
202
+ oRm.openEnd();
203
+ aEndContent.forEach((oControl) => oRm.renderControl(oControl));
204
+ oRm.close("div");
205
+ }
206
+ };
207
+
208
+ /**
209
+ * Renders the selection mark column for the given control (if necessary).
210
+ *
211
+ * @param {sap.ui.core.RenderManager} oRm the RenderManager that can be used for writing to the Render-Output-Buffer
212
+ * @param {sap.m.MenuItem} oItem the menu item to be rendered
213
+ */
214
+ ToggleMenuItemRenderer.renderSelectionMark = function(oRm, oItem) {
215
+ if (oItem.getSelected() && oItem._getItemSelectionMode() !== ItemSelectionMode.None) {
216
+ oRm.openStart("div", `${oItem.getId()}-sel`);
217
+ oRm.class("sapMMenuItemSelected");
218
+ oRm.openEnd();
219
+ oRm.close("div");
220
+ }
221
+ };
222
+
223
+ return ToggleMenuItemRenderer;
224
+ }, /* bExport= */ true);