@sapui5/sap.ui.vk 1.136.1 → 1.136.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (185) 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 +1 -1
  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 +1 -1
  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 +19 -15
  12. package/src/sap/ui/vk/ContentManager.js +1 -1
  13. package/src/sap/ui/vk/ContentResource.js +3 -2
  14. package/src/sap/ui/vk/Core.js +1 -1
  15. package/src/sap/ui/vk/DownloadManager.js +1 -1
  16. package/src/sap/ui/vk/DrawerToolbar.js +140 -19
  17. package/src/sap/ui/vk/DrawerToolbarButton.js +5 -1
  18. package/src/sap/ui/vk/DvlException.js +1 -1
  19. package/src/sap/ui/vk/FlexibleControl.js +1 -1
  20. package/src/sap/ui/vk/FlexibleControlLayoutData.js +1 -1
  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/Loco.js +1 -1
  26. package/src/sap/ui/vk/Material.js +1 -1
  27. package/src/sap/ui/vk/NativeViewport.js +1 -1
  28. package/src/sap/ui/vk/NodeHierarchy.js +1 -1
  29. package/src/sap/ui/vk/NodeProxy.js +1 -1
  30. package/src/sap/ui/vk/NodeUtils.js +1 -1
  31. package/src/sap/ui/vk/Notifications.js +1 -1
  32. package/src/sap/ui/vk/OrthographicCamera.js +1 -1
  33. package/src/sap/ui/vk/PerspectiveCamera.js +1 -1
  34. package/src/sap/ui/vk/ProgressIndicator.js +1 -1
  35. package/src/sap/ui/vk/RedlineCollaboration.js +1 -1
  36. package/src/sap/ui/vk/RedlineConversation.js +1 -1
  37. package/src/sap/ui/vk/RedlineDesign.js +1 -1
  38. package/src/sap/ui/vk/RedlineElement.js +1 -1
  39. package/src/sap/ui/vk/RedlineElementComment.js +1 -1
  40. package/src/sap/ui/vk/RedlineElementEllipse.js +1 -1
  41. package/src/sap/ui/vk/RedlineElementFreehand.js +1 -1
  42. package/src/sap/ui/vk/RedlineElementLine.js +1 -1
  43. package/src/sap/ui/vk/RedlineElementRectangle.js +1 -1
  44. package/src/sap/ui/vk/RedlineElementText.js +1 -1
  45. package/src/sap/ui/vk/RedlineSurface.js +1 -1
  46. package/src/sap/ui/vk/SafeArea.js +1 -1
  47. package/src/sap/ui/vk/Scene.js +16 -1
  48. package/src/sap/ui/vk/SceneTree.js +3 -4
  49. package/src/sap/ui/vk/StepNavigation.js +1 -2
  50. package/src/sap/ui/vk/Texture.js +1 -1
  51. package/src/sap/ui/vk/ToggleMenuButton.js +1 -1
  52. package/src/sap/ui/vk/ToggleMenuItem.js +1 -1
  53. package/src/sap/ui/vk/Toolbar.js +68 -102
  54. package/src/sap/ui/vk/View.js +1 -1
  55. package/src/sap/ui/vk/ViewGallery.js +1 -1
  56. package/src/sap/ui/vk/ViewGalleryThumbnail.js +1 -1
  57. package/src/sap/ui/vk/ViewGroup.js +1 -1
  58. package/src/sap/ui/vk/ViewManager.js +1 -1
  59. package/src/sap/ui/vk/ViewStateManager.js +1 -1
  60. package/src/sap/ui/vk/ViewStateManagerBase.js +1 -1
  61. package/src/sap/ui/vk/Viewer.js +469 -234
  62. package/src/sap/ui/vk/Viewport.js +1 -1
  63. package/src/sap/ui/vk/ViewportBase.js +1 -1
  64. package/src/sap/ui/vk/dvl/BaseNodeProxy.js +1 -1
  65. package/src/sap/ui/vk/dvl/ContentManager.js +1 -1
  66. package/src/sap/ui/vk/dvl/GraphicsCore.js +1 -1
  67. package/src/sap/ui/vk/dvl/LayerProxy.js +1 -1
  68. package/src/sap/ui/vk/dvl/NodeHierarchy.js +1 -1
  69. package/src/sap/ui/vk/dvl/NodeProxy.js +1 -1
  70. package/src/sap/ui/vk/dvl/Scene.js +1 -1
  71. package/src/sap/ui/vk/dvl/ViewStateManager.js +1 -1
  72. package/src/sap/ui/vk/dvl/Viewport.js +2 -2
  73. package/src/sap/ui/vk/ecad/ElementsPanel.js +984 -212
  74. package/src/sap/ui/vk/ecad/LayersPanel.js +283 -145
  75. package/src/sap/ui/vk/i18n/messagebundle.properties +64 -37
  76. package/src/sap/ui/vk/i18n/messagebundle_id.properties +1 -1
  77. package/src/sap/ui/vk/i18n/messagebundle_iw.properties +1 -1
  78. package/src/sap/ui/vk/i18n/messagebundle_ja.properties +2 -2
  79. package/src/sap/ui/vk/i18n/messagebundle_no.properties +1 -1
  80. package/src/sap/ui/vk/i18n/messagebundle_vi.properties +1 -1
  81. package/src/sap/ui/vk/library.js +11 -4
  82. package/src/sap/ui/vk/measurements/Angle.js +1 -1
  83. package/src/sap/ui/vk/measurements/Area.js +1 -1
  84. package/src/sap/ui/vk/measurements/Distance.js +1 -1
  85. package/src/sap/ui/vk/measurements/Edge.js +1 -1
  86. package/src/sap/ui/vk/measurements/Face.js +1 -1
  87. package/src/sap/ui/vk/measurements/Feature.js +1 -1
  88. package/src/sap/ui/vk/measurements/Vertex.js +1 -1
  89. package/src/sap/ui/vk/pdf/ContentManager.js +1 -1
  90. package/src/sap/ui/vk/pdf/Viewport.js +5 -8
  91. package/src/sap/ui/vk/svg/BaseNodeProxy.js +1 -1
  92. package/src/sap/ui/vk/svg/ContentDeliveryService.js +1 -1
  93. package/src/sap/ui/vk/svg/ContentManager.js +3 -1
  94. package/src/sap/ui/vk/svg/Element.js +1 -0
  95. package/src/sap/ui/vk/svg/NodeHierarchy.js +1 -1
  96. package/src/sap/ui/vk/svg/NodeProxy.js +1 -1
  97. package/src/sap/ui/vk/svg/OrthographicCamera.js +1 -1
  98. package/src/sap/ui/vk/svg/Scene.js +1 -1
  99. package/src/sap/ui/vk/svg/SceneBuilder.js +44 -8
  100. package/src/sap/ui/vk/svg/ViewStateManager.js +2 -2
  101. package/src/sap/ui/vk/svg/Viewport.js +192 -2
  102. package/src/sap/ui/vk/themes/base/fonts/SAP-VE-icons-bold-v1.8.woff2 +0 -0
  103. package/src/sap/ui/vk/themes/base/fonts/SAP-VE-icons-regular-v1.8.woff2 +0 -0
  104. package/src/sap/ui/vk/themes/base/library.source.less +1 -1
  105. package/src/sap/ui/vk/themes/sap_belize_base/library.source.less +1 -1
  106. package/src/sap/ui/vk/themes/sap_bluecrystal_base/library.source.less +1 -1
  107. package/src/sap/ui/vk/themes/sap_hcb/library.source.less +1 -1
  108. package/src/sap/ui/vk/themes/sap_horizon/library.source.less +0 -5
  109. package/src/sap/ui/vk/themes/sap_horizon_dark/library.source.less +0 -5
  110. package/src/sap/ui/vk/themes/sap_horizon_hcb/library.source.less +0 -5
  111. package/src/sap/ui/vk/themes/sap_horizon_hcw/library.source.less +0 -5
  112. package/src/sap/ui/vk/thirdparty/pdf.worker.js +1 -1
  113. package/src/sap/ui/vk/threejs/AnimationHelper.js +1 -1
  114. package/src/sap/ui/vk/threejs/BaseNodeProxy.js +1 -1
  115. package/src/sap/ui/vk/threejs/Billboard.js +1 -1
  116. package/src/sap/ui/vk/threejs/Callout.js +1 -1
  117. package/src/sap/ui/vk/threejs/ContentDeliveryService.js +1 -1
  118. package/src/sap/ui/vk/threejs/ContentManager.js +1 -1
  119. package/src/sap/ui/vk/threejs/DetailView.js +1 -1
  120. package/src/sap/ui/vk/threejs/HighlightPlayer.js +1 -1
  121. package/src/sap/ui/vk/threejs/Material.js +1 -1
  122. package/src/sap/ui/vk/threejs/NodeHierarchy.js +1 -1
  123. package/src/sap/ui/vk/threejs/NodeProxy.js +1 -1
  124. package/src/sap/ui/vk/threejs/OrthographicCamera.js +1 -1
  125. package/src/sap/ui/vk/threejs/PerspectiveCamera.js +1 -1
  126. package/src/sap/ui/vk/threejs/PointCloudGroup.js +1 -1
  127. package/src/sap/ui/vk/threejs/Scene.js +1 -1
  128. package/src/sap/ui/vk/threejs/SceneBuilder.js +12 -1
  129. package/src/sap/ui/vk/threejs/Texture.js +1 -1
  130. package/src/sap/ui/vk/threejs/Thrustline.js +1 -1
  131. package/src/sap/ui/vk/threejs/ViewStateManager.js +1 -1
  132. package/src/sap/ui/vk/threejs/Viewport.js +1 -1
  133. package/src/sap/ui/vk/threejs/v2/ViewStateManager.js +1 -1
  134. package/src/sap/ui/vk/tools/AnchorPointTool.js +1 -1
  135. package/src/sap/ui/vk/tools/AnchorPointToolGizmo.js +1 -1
  136. package/src/sap/ui/vk/tools/AxisAngleRotationTool.js +1 -1
  137. package/src/sap/ui/vk/tools/AxisAngleRotationToolGizmo.js +1 -1
  138. package/src/sap/ui/vk/tools/CreateEllipseTool.js +1 -1
  139. package/src/sap/ui/vk/tools/CreateEllipseToolGizmo.js +1 -1
  140. package/src/sap/ui/vk/tools/CreateParametricGizmo.js +1 -1
  141. package/src/sap/ui/vk/tools/CreatePathTool.js +1 -1
  142. package/src/sap/ui/vk/tools/CreatePathToolGizmo.js +1 -1
  143. package/src/sap/ui/vk/tools/CreateRectangleTool.js +1 -1
  144. package/src/sap/ui/vk/tools/CreateRectangleToolGizmo.js +1 -1
  145. package/src/sap/ui/vk/tools/CreateTextTool.js +1 -1
  146. package/src/sap/ui/vk/tools/CreateTextToolGizmo.js +1 -1
  147. package/src/sap/ui/vk/tools/CrossSectionTool.js +1 -1
  148. package/src/sap/ui/vk/tools/CrossSectionToolGizmo.js +1 -1
  149. package/src/sap/ui/vk/tools/DuplicateSvgElementTool.js +1 -1
  150. package/src/sap/ui/vk/tools/DuplicateSvgElementToolGizmo.js +1 -1
  151. package/src/sap/ui/vk/tools/ExplodeTool.js +1 -1
  152. package/src/sap/ui/vk/tools/ExplodeToolGizmo.js +1 -1
  153. package/src/sap/ui/vk/tools/Gizmo.js +1 -1
  154. package/src/sap/ui/vk/tools/HitTestTool.js +1 -1
  155. package/src/sap/ui/vk/tools/MoveTool.js +1 -1
  156. package/src/sap/ui/vk/tools/MoveToolGizmo.js +1 -1
  157. package/src/sap/ui/vk/tools/PointCloudSelectionTool.js +1 -1
  158. package/src/sap/ui/vk/tools/PointCloudSelectionToolGizmo.js +1 -1
  159. package/src/sap/ui/vk/tools/RectSelectTool.js +1 -1
  160. package/src/sap/ui/vk/tools/RedlineTool.js +1 -1
  161. package/src/sap/ui/vk/tools/RedlineToolGizmo.js +1 -1
  162. package/src/sap/ui/vk/tools/RotateOrbitTool.js +1 -1
  163. package/src/sap/ui/vk/tools/RotateTool.js +1 -1
  164. package/src/sap/ui/vk/tools/RotateToolGizmo.js +1 -1
  165. package/src/sap/ui/vk/tools/RotateTurntableTool.js +1 -1
  166. package/src/sap/ui/vk/tools/ScaleTool.js +1 -1
  167. package/src/sap/ui/vk/tools/ScaleToolGizmo.js +1 -1
  168. package/src/sap/ui/vk/tools/SceneOrientationTool.js +1 -1
  169. package/src/sap/ui/vk/tools/SceneOrientationToolGizmo.js +1 -1
  170. package/src/sap/ui/vk/tools/Tool.js +1 -1
  171. package/src/sap/ui/vk/tools/TooltipTool.js +1 -1
  172. package/src/sap/ui/vk/tools/TooltipToolGizmo.js +1 -1
  173. package/src/sap/ui/vk/tools/TooltipToolHandler.js +5 -0
  174. package/src/sap/ui/vk/tools/TransformSvgElementTool.js +1 -1
  175. package/src/sap/ui/vk/tools/TransformSvgElementToolGizmo.js +1 -1
  176. package/src/sap/ui/vk/totara/TotaraLoader.js +4 -0
  177. package/src/sap/ui/vk/ve/dvl.wasm +0 -0
  178. package/src/sap/ui/vk/ve/matai.js +1 -1
  179. package/src/sap/ui/vk/ve/matai.wasm +0 -0
  180. package/src/sap/ui/vk/ToolbarRenderer.js +0 -41
  181. package/src/sap/ui/vk/ViewerRenderer.js +0 -48
  182. package/src/sap/ui/vk/ecad/ElementsPanelRenderer.js +0 -41
  183. package/src/sap/ui/vk/ecad/LayersPanelRenderer.js +0 -41
  184. package/src/sap/ui/vk/themes/base/fonts/SAP-VE-icons-bold-v1.4.woff2 +0 -0
  185. package/src/sap/ui/vk/themes/base/fonts/SAP-VE-icons-regular-v1.4.woff2 +0 -0
@@ -656,55 +656,82 @@ SLIDER_TOOLTIP=Preview zoom level
656
656
  #XTOL: Mini-map toogle toolbar button tooltip
657
657
  MINIMAP_BUTTONTOOLTIP=Mini-Map
658
658
 
659
- #XTOL: Text for Show Layers button in LayersPanel
659
+ #XTOL: Page gallery toogle toolbar button tooltip
660
+ PAGE_GALLERY_BUTTONTOOLTIP=Page Gallery
661
+
662
+ #XTOL: Layers panel toogle toolbar button tooltip
663
+ LAYERS_BUTTONTOOLTIP=Layers
664
+
665
+ #XTOL: Elements panel toogle toolbar button tooltip
666
+ ELEMENTS_BUTTONTOOLTIP=Elements
667
+
668
+ #XTOL: Show/hide all hotspots toogle toolbar button tooltip
669
+ TOGGLE_HOTSPOTS_BUTTONTOOLTIP = Toggle Hotspots
670
+
671
+ #XBUT: Button caption for showing layers
660
672
  LAYERS_PANEL_SHOW_BUTTON=Show
661
- #XTOL: Tooltip for for Show Layers button in LayersPanel
662
- LAYERS_PANEL_SHOW_BUTTON_TOOLTIP=Show Layer(s)
663
- #XTOL: Text for Hide Layers button in LayersPanel
673
+ #XTOL: Button tooltip for showing layers
674
+ LAYERS_PANEL_SHOW_BUTTON_TOOLTIP=Show elements of selected layers
675
+ #XBUT: Button caption for hiding layers
664
676
  LAYERS_PANEL_HIDE_BUTTON=Hide
665
- #XTOL: Tooltip for for Hide Layers button in LayersPanel
666
- LAYERS_PANEL_HIDE_BUTTON_TOOLTIP=Hide Layer(s)
667
- #XTOL: Text for Name column in LayersPanel table
668
- LAYERS_PANEL__NAME_COLUMN=Name
669
- #XTOL: Text for Visible column in LayersPanel table
670
- LAYERS_PANEL_VISIBLE_COLUMN=Visible
671
- #XTOL: Tooltip for for Visible column icon in visible state
672
- LAYERS_PANEL_VISIBLE_COLUMN_VISIBLE_TOOLTIP=Visible layer
673
- #XTOL: Tooltip for for Visible column icon in partially visible state
674
- LAYERS_PANEL_VISIBLE_COLUMN_PARTIAL_TOOLTIP=Partially visible layer
675
- #XTOL: Tooltip for for Visible column icon in partially visible state
676
- LAYERS_PANEL_VISIBLE_COLUMN_HIDDEN_TOOLTIP=Hidden layer
677
-
678
- #XTOL: Text for Show Element button in ElementsPanel
677
+ #XTOL: Button tooltip for hiding layers
678
+ LAYERS_PANEL_HIDE_BUTTON_TOOLTIP=Hide elements of selected layers
679
+ #XTIT: Column header for name of the layer
680
+ LAYERS_PANEL_NAME_COLUMN=Name
681
+ #XTIT: Column header for visibility of the layer
682
+ LAYERS_PANEL_VISIBLE_COLUMN=Visibility
683
+ #XTOL: Tooltip for layer in visible state
684
+ LAYERS_PANEL_VISIBLE_COLUMN_VISIBLE_TOOLTIP=All elements are visible
685
+ #XTOL: Tooltip for layer in partially visible state
686
+ LAYERS_PANEL_VISIBLE_COLUMN_PARTIAL_TOOLTIP=Some elements are visible and some are hidden
687
+ #XTOL: Tooltip for layer in hidden state
688
+ LAYERS_PANEL_VISIBLE_COLUMN_HIDDEN_TOOLTIP=All elements are hidden
689
+
690
+ #XBUT: Button caption for showing elements
679
691
  ELEMENTS_PANEL_SHOW_BUTTON=Show
680
- #XTOL: Tooltip for for Show Elements button in ElementsPanel
681
- ELEMENTS_PANEL_SHOW_BUTTON_TOOLTIP=Show Element(s)
682
- #XTOL: Text for Hide Elements button in ElementsPanel
692
+ #XTOL: Button tooltip for showing elements
693
+ ELEMENTS_PANEL_SHOW_BUTTON_TOOLTIP=Show elements in the viewport
694
+ #XBUT: Button caption for hiding elements
683
695
  ELEMENTS_PANEL_HIDE_BUTTON=Hide
684
- #XTOL: Tooltip for for Hide Elements button in ElementsPanel
685
- ELEMENTS_PANEL_HIDE_BUTTON_TOOLTIP=Hide Element(s)
686
- #XTOL: Tooltip for for Settings button in ElementsPanel
696
+ #XTOL: Button tooltip for hiding elements
697
+ ELEMENTS_PANEL_HIDE_BUTTON_TOOLTIP=Hide elements in the viewport
698
+ #XTOL: Button tooltip for settings of elements table
687
699
  ELEMENTS_PANEL_SETTINGS_BUTTON_TOOLTIP=Elements panel settings
688
- #XTOL: Text for Name column in ElementsPanel table
689
- ELEMENTS_PANEL_NAME_COLUMN=Reference Designator
690
- #XTOL: Text for Name column in ElementsPanel table
700
+ #XTIT: Column header for installation point or identifier of an element
701
+ ELEMENTS_PANEL_NAME_COLUMN=Installation Point
702
+ #XTIT: Column header for type of an element
691
703
  ELEMENTS_PANEL_TYPE_COLUMN=Type
692
- #XTOL: Text for Name column in ElementsPanel table
693
- ELEMENTS_PANEL_DEVICE_REFERENCE_COLUMN=Device reference
694
- #XTOL: Text for Visible column in ElementsPanel table
695
- ELEMENTS_PANEL_VISIBLE_COLUMN=Visible
696
- #XTOL: Tooltip for for Visible column icon in visible state
704
+ #XTIT: Column header for device reference or external identifier of an element
705
+ ELEMENTS_PANEL_DEVICE_REFERENCE_COLUMN=Device Reference
706
+ #XTIT: Column header for visibility of an elements
707
+ ELEMENTS_PANEL_VISIBLE_COLUMN=Visibility
708
+ #XTOL: Tooltip for element in visible state
697
709
  ELEMENTS_PANEL_VISIBLE_COLUMN_VISIBLE_TOOLTIP=Visible element
698
- #XTOL: Tooltip for for Visible column icon in partially visible state
710
+ #XTOL: Tooltip for element in partially visible state
699
711
  ELEMENTS_PANEL_VISIBLE_COLUMN_PARTIAL_TOOLTIP=Partially visible element
700
- #XTOL: Tooltip for for Visible column icon in partially visible state
712
+ #XTOL: Tooltip for element in hidden state
701
713
  ELEMENTS_PANEL_VISIBLE_COLUMN_HIDDEN_TOOLTIP=Hidden element
702
- #XTOL: Text for Component type in ElementsPanel
714
+
715
+ #XSEL: Text for element type: component (like capacitor, resistor, diod etc.. on PCB board)
703
716
  ELEMENTS_PANEL_TYPE_COMPONENT=Component
704
- #XTOL: Text for Net type in ElementsPanel
717
+ #XSEL: Text for element type: net (or copper route on PCB board)
705
718
  ELEMENTS_PANEL_TYPE_NET=Net
706
- #XTOL: Text for Unknown type in ElementsPanel
719
+ #XTOL: Text for unknown element type
707
720
  ELEMENTS_PANEL_TYPE_UNKNOWN=Unknown
721
+ #XFLD: Caption for element type filter in filter bar
722
+ TYPE_FILTER_LABEL=Type
723
+ #XFLD: Caption for component device reference (or external identifier) filter in filter bar
724
+ DEVICE_REF_FILTER_LABEL=Device Reference
725
+ #XFLD: Caption for installation point (or identifier) filter in filter bar
726
+ REFDES_FILTER_LABEL=Installation Point
727
+
728
+ #XTOL: Button tooltip for clockwise rotate of PCB board
729
+ ROTATE_BOARD_CW=Rotate board clockwise
730
+ #XTOL: Button tooltip for counterclockwise rotate of PCB board
731
+ ROTATE_BOARD_CCW=Rotate board counter clockwise
732
+ #XTOL: Button tooltip for flip PCB board horizontally, to see other board side
733
+ FLIP_BOARD=Flip board horizontally
734
+
708
735
 
709
736
  #XTOL: Button tooltip for entering fullscreen
710
737
  ENTER_FULLSCREEN=Enter Full Screen
@@ -57,7 +57,7 @@ CONTAINERBASE_MENU_SINGLE=Pilihan Tunggal
57
57
 
58
58
  MAPCONTAINER_ZOOMIN=Perbesar
59
59
  MAPCONTAINER_ZOOMOUT=Perkecil
60
- MAPCONTAINER_HOME=Beranda
60
+ MAPCONTAINER_HOME=Halaman Utama
61
61
  MAPCONTAINER_RECT_ZOOM=Perbesar/Perkecil dalam Bentuk Persegi Panjang
62
62
 
63
63
  PREDEFINED_VIEW_MENUBUTTONTOOLTIP=Posisi Kamera yang Ditentukan Sebelumnya
@@ -231,7 +231,7 @@ SCENE_CONTEXT_FINISHED_IMAGES=\u05EA\u05DE\u05D5\u05E0\u05D5\u05EA \u05E9\u05D4\
231
231
  SCENE_CONTEXT_LOADING_TEXTURES=\u05D8\u05D5\u05E2\u05DF \u05DE\u05E8\u05E7\u05DE\u05D9\u05DD
232
232
  SCENE_CONTEXT_LOADING_MODEL_VIEWS=\u05D8\u05D5\u05E2\u05DF \u05EA\u05E6\u05D5\u05D2\u05D5\u05EA \u05DE\u05D5\u05D3\u05DC\u05D9\u05DD
233
233
 
234
- OVERLAY_MSG_EVENTHANDLERFAILED_SUMMARY=\u05DE\u05D8\u05E2\u05E4\u05DC \u05D1\u05D0\u05D9\u05E8\u05D5\u05E2 \u05E0\u05DB\u05E9\u05DC.
234
+ OVERLAY_MSG_EVENTHANDLERFAILED_SUMMARY=\u05DE\u05D8\u05E4\u05DC \u05D1\u05D0\u05D9\u05E8\u05D5\u05E2 \u05E0\u05DB\u05E9\u05DC.
235
235
  OVERLAY_MSG_EVENTHANDLERFAILED_UNSUPPORTEDEVENTTYPE_CAUSE=\u05E1\u05D5\u05D2 \u05D0\u05D9\u05E8\u05D5\u05E2 \u05E9\u05D0\u05D9\u05E0\u05D5 \u05E0\u05EA\u05DE\u05DA \u05D1\u05E9\u05D9\u05DE\u05D5\u05E9.
236
236
  OVERLAY_MSG_EVENTHANDLERFAILED_UNSUPPORTEDEVENTTYPE_CHECKEVENTTYPE_RESOLUTION=\u05D5\u05D3\u05D0 \u05E9\u05E1\u05D5\u05D2 \u05D0\u05D9\u05E8\u05D5\u05E2 \u05E0\u05EA\u05DE\u05DA \u05E0\u05DE\u05E6\u05D0 \u05D1\u05E9\u05D9\u05DE\u05D5\u05E9.
237
237
 
@@ -43,7 +43,7 @@ SCENETREE_VISIBILITYSTATEVISIBLE=\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u975E\u886
43
43
  SCENETREE_VISIBILITYSTATEHIDDEN=\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u8868\u793A
44
44
  SCENETREE_VISIBILITYSTATEVISIBLEALL=\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u3059\u3079\u3066\u3092\u975E\u8868\u793A
45
45
  SCENETREE_VISIBILITYSTATEHIDDENALL=\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u3059\u3079\u3066\u3092\u8868\u793A
46
- SCENETREE_SELECTIONSTATESELECTED=\u9078\u629E\u6E08
46
+ SCENETREE_SELECTIONSTATESELECTED=\u9078\u629E\u6E08\u307F
47
47
 
48
48
 
49
49
  CONTAINERBASE_FULLSCREEN=\u5168\u753B\u9762
@@ -60,7 +60,7 @@ MAPCONTAINER_ZOOMOUT=\u7E2E\u5C0F
60
60
  MAPCONTAINER_HOME=\u30DB\u30FC\u30E0
61
61
  MAPCONTAINER_RECT_ZOOM=\u9577\u65B9\u5F62\u30BA\u30FC\u30E0
62
62
 
63
- PREDEFINED_VIEW_MENUBUTTONTOOLTIP=\u4E8B\u524D\u5B9A\u7FA9\u6E08\u306E\u30AB\u30E1\u30E9\u4F4D\u7F6E
63
+ PREDEFINED_VIEW_MENUBUTTONTOOLTIP=\u4E8B\u524D\u5B9A\u7FA9\u6E08\u307F\u306E\u30AB\u30E1\u30E9\u4F4D\u7F6E
64
64
  PREDEFINED_VIEW_INITIAL=\u521D\u671F\u5024
65
65
  PREDEFINED_VIEW_FRONT=\u524D
66
66
  PREDEFINED_VIEW_BACK=\u5F8C
@@ -1,5 +1,5 @@
1
1
 
2
- OVL_AREA_EDGE_SPLIT=Del
2
+ OVL_AREA_EDGE_SPLIT=Del opp
3
3
  OVL_AREA_HANDLE_REMOVE=Fjern
4
4
 
5
5
  VIEWER_TITLE=Visning
@@ -40,7 +40,7 @@ SCENETREE_TITLE=C\u00E2y khung ca\u0309nh
40
40
  SCENETREE_NAME=T\u00EAn
41
41
  SCENETREE_VISIBLE=Minh ba\u0323ch
42
42
  SCENETREE_VISIBILITYSTATEVISIBLE=B\u00E2\u0301m \u0111\u00EA\u0309 \u00E2\u0309n
43
- SCENETREE_VISIBILITYSTATEHIDDEN=B\u00E2\u0301m \u0111\u00EA\u0309 hi\u00EA\u0323n
43
+ SCENETREE_VISIBILITYSTATEHIDDEN=B\u00E2\u0301m \u0111\u00EA\u0309 hi\u1EC3n th\u1ECB
44
44
  SCENETREE_VISIBILITYSTATEVISIBLEALL=B\u00E2\u0301m \u0111\u00EA\u0309 \u00E2\u0309n t\u00E2\u0301t ca\u0309
45
45
  SCENETREE_VISIBILITYSTATEHIDDENALL=B\u00E2\u0301m \u0111\u00EA\u0309 hi\u00EA\u0323n t\u00E2\u0301t ca\u0309
46
46
  SCENETREE_SELECTIONSTATESELECTED=\u0110\u01B0\u01A1\u0323c cho\u0323n
@@ -14,6 +14,9 @@
14
14
  sap.ui.define([
15
15
  "sap/ui/core/Lib",
16
16
  "sap/ui/core/library",
17
+ "sap/ui/comp/library",
18
+ "sap/f/library",
19
+ "sap/m/library",
17
20
  "./BillboardBorderLineStyle",
18
21
  "./BillboardCoordinateSpace",
19
22
  "./BillboardHorizontalAlignment",
@@ -61,7 +64,7 @@ sap.ui.define([
61
64
  * @namespace
62
65
  * @name sap.ui.vk
63
66
  * @author SAP SE
64
- * @version 1.136.1
67
+ * @version 1.136.3
65
68
  * @public
66
69
  */
67
70
 
@@ -69,7 +72,10 @@ sap.ui.define([
69
72
  apiVersion: 2,
70
73
  name: "sap.ui.vk",
71
74
  dependencies: [
72
- "sap.ui.core"
75
+ "sap.ui.core",
76
+ "sap.ui.comp",
77
+ "sap.f",
78
+ "sap.m"
73
79
  ],
74
80
  interfaces: [
75
81
  "sap.ui.vk.AuthorizationHandler",
@@ -115,7 +121,8 @@ sap.ui.define([
115
121
  "sap.ui.vk.tools.ScaleToolGizmo",
116
122
  "sap.ui.vk.tools.SceneOrientationToolGizmo",
117
123
  "sap.ui.vk.tools.TooltipToolGizmo",
118
- "sap.ui.vk.ecad.LayersPanel"
124
+ "sap.ui.vk.ecad.LayersPanel",
125
+ "sap.ui.vk.ecad.ElementsPanel"
119
126
  ],
120
127
  elements: [
121
128
  "sap.ui.vk.ContentConnector",
@@ -147,7 +154,7 @@ sap.ui.define([
147
154
  "sap.ui.vk.tools.PoiManipulationTool"
148
155
  ],
149
156
  noLibraryCSS: false,
150
- version: "1.136.1",
157
+ version: "1.136.3",
151
158
  designtime: "sap/ui/vk/designtime/library.designtime"
152
159
  });
153
160
 
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @param {object} [settings] A JSON-like object.
26
26
  * @private
27
27
  * @author SAP SE
28
- * @version 1.136.1
28
+ * @version 1.136.3
29
29
  * @alias sap.ui.vk.measurement.Angle
30
30
  * @since 1.101.0
31
31
  */
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @param {object} [settings] A JSON-like object.
26
26
  * @private
27
27
  * @author SAP SE
28
- * @version 1.136.1
28
+ * @version 1.136.3
29
29
  * @alias sap.ui.vk.measurement.Area
30
30
  * @since 1.101.0
31
31
  */
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @param {object} [settings] A JSON-like object.
24
24
  * @private
25
25
  * @author SAP SE
26
- * @version 1.136.1
26
+ * @version 1.136.3
27
27
  * @alias sap.ui.vk.measurement.Distance
28
28
  * @since 1.101.0
29
29
  */
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @param {float[]} [settings.edge] World coordinates of the edge ends in form <code>[x1, y1, z1, x2, y2, z2]</code>.
29
29
  * @private
30
30
  * @author SAP SE
31
- * @version 1.136.1
31
+ * @version 1.136.3
32
32
  * @alias sap.ui.vk.measurement.Edge
33
33
  * @since 1.101.0
34
34
  */
@@ -44,7 +44,7 @@ sap.ui.define([
44
44
  * where <code>e</code> is the number of edges in the list.
45
45
  * @private
46
46
  * @author SAP SE
47
- * @version 1.136.1
47
+ * @version 1.136.3
48
48
  * @alias sap.ui.vk.measurement.Face
49
49
  * @since 1.101.0
50
50
  */
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @abstract
28
28
  * @private
29
29
  * @author SAP SE
30
- * @version 1.136.1
30
+ * @version 1.136.3
31
31
  * @alias sap.ui.vk.measurement.Feature
32
32
  * @since 1.101.0
33
33
  */
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @param {float[]} [settings.vertex] World coordinates of the vertex in form <code>[x, y, z]</code>.
29
29
  * @private
30
30
  * @author SAP SE
31
- * @version 1.136.1
31
+ * @version 1.136.3
32
32
  * @alias sap.ui.vk.measurement.Vertex
33
33
  * @since 1.101.0
34
34
  */
@@ -43,7 +43,7 @@ sap.ui.define([
43
43
  * @param {object} [mSettings] Initial settings for the new ContentManager object.
44
44
  * @private
45
45
  * @author SAP SE
46
- * @version 1.136.1
46
+ * @version 1.136.3
47
47
  * @extends sap.ui.vk.ContentManager
48
48
  * @alias sap.ui.vk.pdf.ContentManager
49
49
  * @since 1.123.0
@@ -64,7 +64,7 @@ sap.ui.define([
64
64
  *
65
65
  * @extends sap.ui.vk.ViewportBase
66
66
  * @author SAP SE
67
- * @version 1.136.1
67
+ * @version 1.136.3
68
68
  * @constructor
69
69
  * @public
70
70
  * @alias sap.ui.vk.pdf.Viewport
@@ -915,13 +915,10 @@ sap.ui.define([
915
915
 
916
916
  event.preventDefault();
917
917
 
918
- const delta = -event.originalEvent.deltaY;
919
-
920
- if (delta > 0) {
921
- this.zoom(SCALE_DELTA, event.clientX, event.clientY);
922
- } else if (delta < 0) {
923
- this.zoom(1 / SCALE_DELTA, event.clientX, event.clientY);
924
- }
918
+ // cropping by min and max values (20px) to avoid too fast zooming with mouse wheel
919
+ // 100 pixels using touchpad or 5 steps (100px/20px) using mouse wheel to zoom in/out 2x
920
+ const delta = Math.min(Math.max(-event.originalEvent.deltaY, -20), 20);
921
+ this.zoom(Math.pow(2, delta / 100), event.clientX, event.clientY);
925
922
  };
926
923
 
927
924
  Viewport.prototype._onScroll = function(event) {
@@ -35,7 +35,7 @@ sap.ui.define([
35
35
  *
36
36
  * @public
37
37
  * @author SAP SE
38
- * @version 1.136.1
38
+ * @version 1.136.3
39
39
  * @extends sap.ui.vk.BaseNodeProxy
40
40
  * @implements sap.ui.base.Poolable
41
41
  * @alias sap.ui.vk.svg.BaseNodeProxy
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * @class Provides a class to communicate with content delivery service.
30
30
  * @private
31
31
  * @author SAP SE
32
- * @version 1.136.1
32
+ * @version 1.136.3
33
33
  * @extends sap.ui.base.ManagedObject
34
34
  * @alias sap.ui.vk.svg.ContentDeliveryService
35
35
  */
@@ -45,7 +45,7 @@ sap.ui.define([
45
45
  * @param {object} [mSettings] Initial settings for the new ContentManager object.
46
46
  * @protected
47
47
  * @author SAP SE
48
- * @version 1.136.1
48
+ * @version 1.136.3
49
49
  * @extends sap.ui.vk.ContentManager
50
50
  * @alias sap.ui.vk.svg.ContentManager
51
51
  * @since 1.80.0
@@ -137,6 +137,7 @@ sap.ui.define([
137
137
  var value = values[0];
138
138
  scene.backgroundTopColor = value.backgroundTopColor; // hex color or undefined
139
139
  scene.backgroundBottomColor = value.backgroundBottomColor; // hex color or undefined
140
+ scene.outputSettings = value.outputSettings;
140
141
  }
141
142
 
142
143
  // add loader information to content to show who loaded it
@@ -381,6 +382,7 @@ sap.ui.define([
381
382
  const sourceType = contentResource.getEffectiveSourceType()?.toLowerCase();
382
383
 
383
384
  switch (sourceType) {
385
+ case "ecad":
384
386
  case "stream2d": {
385
387
  // Since SVG coordinate system origin is top left and ours is bottom left we apply vertical flip
386
388
  element.matrix = new Float32Array([1, 0, 0, -1, 0, 0]);
@@ -136,6 +136,7 @@ sap.ui.define([
136
136
  this.stroke = convertColor(material.lineColor, 1);
137
137
  this.strokeWidth = material.lineWidth !== undefined ? material.lineWidth : 1;
138
138
  this.strokeDashArray = (material.lineStyle && material.lineStyle.dashPattern) || [];
139
+ this.coordinateSpace = material.lineStyle?.widthCoordinateSpace ?? unknownCoordinateSpace;
139
140
  }
140
141
  }
141
142
 
@@ -55,7 +55,7 @@ sap.ui.define([
55
55
  *
56
56
  * @public
57
57
  * @author SAP SE
58
- * @version 1.136.1
58
+ * @version 1.136.3
59
59
  * @extends sap.ui.vk.NodeHierarchy
60
60
  * @alias sap.ui.vk.svg.NodeHierarchy
61
61
  */
@@ -36,7 +36,7 @@ sap.ui.define([
36
36
  *
37
37
  * @public
38
38
  * @author SAP SE
39
- * @version 1.136.1
39
+ * @version 1.136.3
40
40
  * @extends sap.ui.vk.NodeProxy
41
41
  * @alias sap.ui.vk.svg.NodeProxy
42
42
  */
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  *
23
23
  * @public
24
24
  * @author SAP SE
25
- * @version 1.136.1
25
+ * @version 1.136.3
26
26
  * @extends sap.ui.vk.OrthographicCamera
27
27
  * @alias sap.ui.vk.svg.OrthographicCamera
28
28
  * @since 1.80.0
@@ -26,7 +26,7 @@ sap.ui.define([
26
26
  *
27
27
  * @public
28
28
  * @author SAP SE
29
- * @version 1.136.1
29
+ * @version 1.136.3
30
30
  * @extends sap.ui.vk.Scene
31
31
  * @alias sap.ui.vk.svg.Scene
32
32
  */
@@ -66,7 +66,7 @@ sap.ui.define([
66
66
  *
67
67
  * @private
68
68
  * @author SAP SE
69
- * @version 1.136.1
69
+ * @version 1.136.3
70
70
  */
71
71
  var SceneBuilder = function(rootNode, contentResource, resolve, reject) {
72
72
  this._rootNode = rootNode;
@@ -122,14 +122,42 @@ sap.ui.define([
122
122
  */
123
123
  SceneBuilder.prototype.setScene = function(info) {
124
124
  this._yIndex = 1; // VDS4 file geometry data
125
- this._rootNode.matrix[3] = info.upAxis === 2 ? -1 : 1; // (0 = +X, 1 = -X, 2 = +Y, 3 = -Y, 4 = +Z, 5 = -Z)
126
- var camera = this._cameras.get(info.cameraId);
125
+ this._rootNode.matrix[3] = info.upAxis === 2 || info.upAxis === 4 ? -1 : 1; // (0 = +X, 1 = -X, 2 = +Y, 3 = -Y, 4 = +Z, 5 = -Z)
126
+ const camera = this._cameras.get(info.cameraId);
127
+ const outputSettings = info.outputSettings;
128
+ if (outputSettings && camera) {
129
+ // update line width in materials if coordinate space is in device/paper units
130
+ const outputDPI = 72; // ignore outputSettings.dpi as VEA ignores DPI setting and always uses 72 DPI
131
+ const mmToInch = 1 / 25.4; // 1 inch = 25.4 mm
132
+ const pointToPixel = 4 / 3; // 1 inch = 72 points(common for older screens) = 96 pixels(standard web displays), so 1 point = 96 / 72 pixels = 4 / 3 pixels
133
+ const mmToPixels = mmToInch * outputDPI * pointToPixel; // convert mm to pixels (mm -> inches -> points -> pixels)
134
+ const outputSize = Math.min(outputSettings.width, outputSettings.height) * mmToPixels;
135
+ const mediumViewportSize = 1024; // medium viewport size in pixels
136
+
137
+ this._materialMap.forEach(function(material) {
138
+ if (material.lineStyle.widthCoordinateSpace === 3) { // sap::ve::core::Material::CoordinateSpace::NormalizedViewport
139
+ // 2D viewport space (x and y values range from -1.0 to 1.0, the origin representing the center of view)
140
+ material.lineWidth = material.lineStyle.width * mediumViewportSize * 0.5; // 1024 is a medium viewport size in pixels
141
+ material.lineStyle.widthCoordinateSpace = 0; // convert to screen space
142
+ } else if (material.lineStyle.widthCoordinateSpace === 4) { // sap::ve::core::Material::CoordinateSpace::Device (device/paper units)
143
+ if (!info.showPaperSpace) {
144
+ // this mode has a weird behavior in VE Author, the line thickness is measured in weird units that are converted
145
+ // to pixels (doesn't depend on the zoom factor), but it depends on the viewport size
146
+ material.lineWidth = material.lineStyle.width * mediumViewportSize / outputSize;
147
+ material.lineStyle.widthCoordinateSpace = 0; // convert to screen space
148
+ }
149
+ // material.lineWidth = material.lineStyle.width / (outputSize * camera._initialZoom);
150
+ }
151
+ });
152
+ }
153
+
127
154
  Log.info("setScene", JSON.stringify(info), camera);
128
155
  this._resolve?.({
129
156
  node: this._rootNode,
130
- camera: camera,
157
+ camera,
131
158
  backgroundTopColor: info.backgroundTopColor,
132
159
  backgroundBottomColor: info.backgroundBottomColor,
160
+ outputSettings,
133
161
  contentResource: this._contentResource,
134
162
  builder: this
135
163
  });
@@ -160,6 +188,9 @@ sap.ui.define([
160
188
 
161
189
  if (vkScene) {
162
190
  this._vkScene = vkScene;
191
+ if (this._sceneMetadata) {
192
+ this._vkScene.setSceneMetadata(this._sceneMetadata);
193
+ }
163
194
  }
164
195
  return this;
165
196
  };
@@ -739,7 +770,7 @@ sap.ui.define([
739
770
  }
740
771
 
741
772
  userData.treeNode = nodeInfo;
742
- node.setVisible(1, nodeInfo.visible ? nodeInfo.visible : true);
773
+ node.setVisible(1, nodeInfo.visible ?? true);
743
774
 
744
775
  if (nodeInfo.visualisable === false) {
745
776
  userData.skipIt = true; // Don't display this node in scene tree
@@ -895,7 +926,6 @@ sap.ui.define([
895
926
  fillStyle: geometry.isPolyline ? null : { colour: material.color },
896
927
  subelement: true
897
928
  });
898
- path.uid += "-g";
899
929
  node.add(path);
900
930
 
901
931
  TotaraUtils.pushElementIntoMapArray(this._materialNodesMap, materialId, path);
@@ -981,7 +1011,6 @@ sap.ui.define([
981
1011
 
982
1012
  this._resetCurrentScene(sceneId);
983
1013
  var node = this._nodes.get(nodeId);
984
- node.uid += "-p";
985
1014
 
986
1015
  var shapes = parametricContent.shapes;
987
1016
  if (shapes) {
@@ -1077,7 +1106,6 @@ sap.ui.define([
1077
1106
 
1078
1107
  if (shape) {
1079
1108
  shape.userData.po = parametricContent;
1080
- shape.uid += "-s";
1081
1109
  if (parametricContent.materialID) {
1082
1110
  TotaraUtils.pushElementIntoMapArray(this._materialNodesMap, parametricContent.materialID, shape);
1083
1111
  }
@@ -1395,5 +1423,13 @@ sap.ui.define([
1395
1423
  return undefined;
1396
1424
  };
1397
1425
 
1426
+ SceneBuilder.prototype.setSceneMetadata = function(metadata) {
1427
+ if (this._vkScene) {
1428
+ this._vkScene.setSceneMetadata(metadata);
1429
+ } else {
1430
+ this._sceneMetadata = metadata;
1431
+ }
1432
+ };
1433
+
1398
1434
  return SceneBuilder;
1399
1435
  });
@@ -49,7 +49,7 @@ sap.ui.define([
49
49
  * @param {object} [mSettings] Initial settings for the new ViewStateManager object.
50
50
  * @public
51
51
  * @author SAP SE
52
- * @version 1.136.1
52
+ * @version 1.136.3
53
53
  * @extends sap.ui.vk.ViewStateManagerBase
54
54
  * @alias sap.ui.vk.svg.ViewStateManager
55
55
  * @since 1.80.0
@@ -354,7 +354,7 @@ sap.ui.define([
354
354
  // Force visibility by traversing ancestor nodes and make them visible
355
355
  var node = nodeRef.parent;
356
356
  while (node) {
357
- node.visible = true;
357
+ node.setVisible(mask, true);
358
358
  node = node.parent;
359
359
  }
360
360
  }