@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.
- package/package.json +1 -1
- package/src/sap/ui/vk/.library +1 -1
- package/src/sap/ui/vk/AnimationPlayback.js +1 -1
- package/src/sap/ui/vk/AnimationPlayer.js +1 -1
- package/src/sap/ui/vk/AnimationSequence.js +1 -1
- package/src/sap/ui/vk/AnimationTimeSlider.js +1 -1
- package/src/sap/ui/vk/AnimationTrack.js +1 -1
- package/src/sap/ui/vk/Annotation.js +1 -1
- package/src/sap/ui/vk/BaseNodeProxy.js +1 -1
- package/src/sap/ui/vk/Camera.js +1 -1
- package/src/sap/ui/vk/ContentConnector.js +19 -15
- package/src/sap/ui/vk/ContentManager.js +1 -1
- package/src/sap/ui/vk/ContentResource.js +3 -2
- package/src/sap/ui/vk/Core.js +1 -1
- package/src/sap/ui/vk/DownloadManager.js +1 -1
- package/src/sap/ui/vk/DrawerToolbar.js +140 -19
- package/src/sap/ui/vk/DrawerToolbarButton.js +5 -1
- package/src/sap/ui/vk/DvlException.js +1 -1
- package/src/sap/ui/vk/FlexibleControl.js +1 -1
- package/src/sap/ui/vk/FlexibleControlLayoutData.js +1 -1
- package/src/sap/ui/vk/Highlight.js +1 -1
- package/src/sap/ui/vk/ImageContentManager.js +1 -1
- package/src/sap/ui/vk/JointUtils.js +1 -1
- package/src/sap/ui/vk/LayerProxy.js +1 -1
- package/src/sap/ui/vk/Loco.js +1 -1
- package/src/sap/ui/vk/Material.js +1 -1
- package/src/sap/ui/vk/NativeViewport.js +1 -1
- package/src/sap/ui/vk/NodeHierarchy.js +1 -1
- package/src/sap/ui/vk/NodeProxy.js +1 -1
- package/src/sap/ui/vk/NodeUtils.js +1 -1
- package/src/sap/ui/vk/Notifications.js +1 -1
- package/src/sap/ui/vk/OrthographicCamera.js +1 -1
- package/src/sap/ui/vk/PerspectiveCamera.js +1 -1
- package/src/sap/ui/vk/ProgressIndicator.js +1 -1
- package/src/sap/ui/vk/RedlineCollaboration.js +1 -1
- package/src/sap/ui/vk/RedlineConversation.js +1 -1
- package/src/sap/ui/vk/RedlineDesign.js +1 -1
- package/src/sap/ui/vk/RedlineElement.js +1 -1
- package/src/sap/ui/vk/RedlineElementComment.js +1 -1
- package/src/sap/ui/vk/RedlineElementEllipse.js +1 -1
- package/src/sap/ui/vk/RedlineElementFreehand.js +1 -1
- package/src/sap/ui/vk/RedlineElementLine.js +1 -1
- package/src/sap/ui/vk/RedlineElementRectangle.js +1 -1
- package/src/sap/ui/vk/RedlineElementText.js +1 -1
- package/src/sap/ui/vk/RedlineSurface.js +1 -1
- package/src/sap/ui/vk/SafeArea.js +1 -1
- package/src/sap/ui/vk/Scene.js +16 -1
- package/src/sap/ui/vk/SceneTree.js +3 -4
- package/src/sap/ui/vk/StepNavigation.js +1 -2
- package/src/sap/ui/vk/Texture.js +1 -1
- package/src/sap/ui/vk/ToggleMenuButton.js +1 -1
- package/src/sap/ui/vk/ToggleMenuItem.js +1 -1
- package/src/sap/ui/vk/Toolbar.js +68 -102
- package/src/sap/ui/vk/View.js +1 -1
- package/src/sap/ui/vk/ViewGallery.js +1 -1
- package/src/sap/ui/vk/ViewGalleryThumbnail.js +1 -1
- package/src/sap/ui/vk/ViewGroup.js +1 -1
- package/src/sap/ui/vk/ViewManager.js +1 -1
- package/src/sap/ui/vk/ViewStateManager.js +1 -1
- package/src/sap/ui/vk/ViewStateManagerBase.js +1 -1
- package/src/sap/ui/vk/Viewer.js +469 -234
- package/src/sap/ui/vk/Viewport.js +1 -1
- package/src/sap/ui/vk/ViewportBase.js +1 -1
- package/src/sap/ui/vk/dvl/BaseNodeProxy.js +1 -1
- package/src/sap/ui/vk/dvl/ContentManager.js +1 -1
- package/src/sap/ui/vk/dvl/GraphicsCore.js +1 -1
- package/src/sap/ui/vk/dvl/LayerProxy.js +1 -1
- package/src/sap/ui/vk/dvl/NodeHierarchy.js +1 -1
- package/src/sap/ui/vk/dvl/NodeProxy.js +1 -1
- package/src/sap/ui/vk/dvl/Scene.js +1 -1
- package/src/sap/ui/vk/dvl/ViewStateManager.js +1 -1
- package/src/sap/ui/vk/dvl/Viewport.js +2 -2
- package/src/sap/ui/vk/ecad/ElementsPanel.js +984 -212
- package/src/sap/ui/vk/ecad/LayersPanel.js +283 -145
- package/src/sap/ui/vk/i18n/messagebundle.properties +64 -37
- package/src/sap/ui/vk/i18n/messagebundle_id.properties +1 -1
- package/src/sap/ui/vk/i18n/messagebundle_iw.properties +1 -1
- package/src/sap/ui/vk/i18n/messagebundle_ja.properties +2 -2
- package/src/sap/ui/vk/i18n/messagebundle_no.properties +1 -1
- package/src/sap/ui/vk/i18n/messagebundle_vi.properties +1 -1
- package/src/sap/ui/vk/library.js +11 -4
- package/src/sap/ui/vk/measurements/Angle.js +1 -1
- package/src/sap/ui/vk/measurements/Area.js +1 -1
- package/src/sap/ui/vk/measurements/Distance.js +1 -1
- package/src/sap/ui/vk/measurements/Edge.js +1 -1
- package/src/sap/ui/vk/measurements/Face.js +1 -1
- package/src/sap/ui/vk/measurements/Feature.js +1 -1
- package/src/sap/ui/vk/measurements/Vertex.js +1 -1
- package/src/sap/ui/vk/pdf/ContentManager.js +1 -1
- package/src/sap/ui/vk/pdf/Viewport.js +5 -8
- package/src/sap/ui/vk/svg/BaseNodeProxy.js +1 -1
- package/src/sap/ui/vk/svg/ContentDeliveryService.js +1 -1
- package/src/sap/ui/vk/svg/ContentManager.js +3 -1
- package/src/sap/ui/vk/svg/Element.js +1 -0
- package/src/sap/ui/vk/svg/NodeHierarchy.js +1 -1
- package/src/sap/ui/vk/svg/NodeProxy.js +1 -1
- package/src/sap/ui/vk/svg/OrthographicCamera.js +1 -1
- package/src/sap/ui/vk/svg/Scene.js +1 -1
- package/src/sap/ui/vk/svg/SceneBuilder.js +44 -8
- package/src/sap/ui/vk/svg/ViewStateManager.js +2 -2
- package/src/sap/ui/vk/svg/Viewport.js +192 -2
- package/src/sap/ui/vk/themes/base/fonts/SAP-VE-icons-bold-v1.8.woff2 +0 -0
- package/src/sap/ui/vk/themes/base/fonts/SAP-VE-icons-regular-v1.8.woff2 +0 -0
- package/src/sap/ui/vk/themes/base/library.source.less +1 -1
- package/src/sap/ui/vk/themes/sap_belize_base/library.source.less +1 -1
- package/src/sap/ui/vk/themes/sap_bluecrystal_base/library.source.less +1 -1
- package/src/sap/ui/vk/themes/sap_hcb/library.source.less +1 -1
- package/src/sap/ui/vk/themes/sap_horizon/library.source.less +0 -5
- package/src/sap/ui/vk/themes/sap_horizon_dark/library.source.less +0 -5
- package/src/sap/ui/vk/themes/sap_horizon_hcb/library.source.less +0 -5
- package/src/sap/ui/vk/themes/sap_horizon_hcw/library.source.less +0 -5
- package/src/sap/ui/vk/thirdparty/pdf.worker.js +1 -1
- package/src/sap/ui/vk/threejs/AnimationHelper.js +1 -1
- package/src/sap/ui/vk/threejs/BaseNodeProxy.js +1 -1
- package/src/sap/ui/vk/threejs/Billboard.js +1 -1
- package/src/sap/ui/vk/threejs/Callout.js +1 -1
- package/src/sap/ui/vk/threejs/ContentDeliveryService.js +1 -1
- package/src/sap/ui/vk/threejs/ContentManager.js +1 -1
- package/src/sap/ui/vk/threejs/DetailView.js +1 -1
- package/src/sap/ui/vk/threejs/HighlightPlayer.js +1 -1
- package/src/sap/ui/vk/threejs/Material.js +1 -1
- package/src/sap/ui/vk/threejs/NodeHierarchy.js +1 -1
- package/src/sap/ui/vk/threejs/NodeProxy.js +1 -1
- package/src/sap/ui/vk/threejs/OrthographicCamera.js +1 -1
- package/src/sap/ui/vk/threejs/PerspectiveCamera.js +1 -1
- package/src/sap/ui/vk/threejs/PointCloudGroup.js +1 -1
- package/src/sap/ui/vk/threejs/Scene.js +1 -1
- package/src/sap/ui/vk/threejs/SceneBuilder.js +12 -1
- package/src/sap/ui/vk/threejs/Texture.js +1 -1
- package/src/sap/ui/vk/threejs/Thrustline.js +1 -1
- package/src/sap/ui/vk/threejs/ViewStateManager.js +1 -1
- package/src/sap/ui/vk/threejs/Viewport.js +1 -1
- package/src/sap/ui/vk/threejs/v2/ViewStateManager.js +1 -1
- package/src/sap/ui/vk/tools/AnchorPointTool.js +1 -1
- package/src/sap/ui/vk/tools/AnchorPointToolGizmo.js +1 -1
- package/src/sap/ui/vk/tools/AxisAngleRotationTool.js +1 -1
- package/src/sap/ui/vk/tools/AxisAngleRotationToolGizmo.js +1 -1
- package/src/sap/ui/vk/tools/CreateEllipseTool.js +1 -1
- package/src/sap/ui/vk/tools/CreateEllipseToolGizmo.js +1 -1
- package/src/sap/ui/vk/tools/CreateParametricGizmo.js +1 -1
- package/src/sap/ui/vk/tools/CreatePathTool.js +1 -1
- package/src/sap/ui/vk/tools/CreatePathToolGizmo.js +1 -1
- package/src/sap/ui/vk/tools/CreateRectangleTool.js +1 -1
- package/src/sap/ui/vk/tools/CreateRectangleToolGizmo.js +1 -1
- package/src/sap/ui/vk/tools/CreateTextTool.js +1 -1
- package/src/sap/ui/vk/tools/CreateTextToolGizmo.js +1 -1
- package/src/sap/ui/vk/tools/CrossSectionTool.js +1 -1
- package/src/sap/ui/vk/tools/CrossSectionToolGizmo.js +1 -1
- package/src/sap/ui/vk/tools/DuplicateSvgElementTool.js +1 -1
- package/src/sap/ui/vk/tools/DuplicateSvgElementToolGizmo.js +1 -1
- package/src/sap/ui/vk/tools/ExplodeTool.js +1 -1
- package/src/sap/ui/vk/tools/ExplodeToolGizmo.js +1 -1
- package/src/sap/ui/vk/tools/Gizmo.js +1 -1
- package/src/sap/ui/vk/tools/HitTestTool.js +1 -1
- package/src/sap/ui/vk/tools/MoveTool.js +1 -1
- package/src/sap/ui/vk/tools/MoveToolGizmo.js +1 -1
- package/src/sap/ui/vk/tools/PointCloudSelectionTool.js +1 -1
- package/src/sap/ui/vk/tools/PointCloudSelectionToolGizmo.js +1 -1
- package/src/sap/ui/vk/tools/RectSelectTool.js +1 -1
- package/src/sap/ui/vk/tools/RedlineTool.js +1 -1
- package/src/sap/ui/vk/tools/RedlineToolGizmo.js +1 -1
- package/src/sap/ui/vk/tools/RotateOrbitTool.js +1 -1
- package/src/sap/ui/vk/tools/RotateTool.js +1 -1
- package/src/sap/ui/vk/tools/RotateToolGizmo.js +1 -1
- package/src/sap/ui/vk/tools/RotateTurntableTool.js +1 -1
- package/src/sap/ui/vk/tools/ScaleTool.js +1 -1
- package/src/sap/ui/vk/tools/ScaleToolGizmo.js +1 -1
- package/src/sap/ui/vk/tools/SceneOrientationTool.js +1 -1
- package/src/sap/ui/vk/tools/SceneOrientationToolGizmo.js +1 -1
- package/src/sap/ui/vk/tools/Tool.js +1 -1
- package/src/sap/ui/vk/tools/TooltipTool.js +1 -1
- package/src/sap/ui/vk/tools/TooltipToolGizmo.js +1 -1
- package/src/sap/ui/vk/tools/TooltipToolHandler.js +5 -0
- package/src/sap/ui/vk/tools/TransformSvgElementTool.js +1 -1
- package/src/sap/ui/vk/tools/TransformSvgElementToolGizmo.js +1 -1
- package/src/sap/ui/vk/totara/TotaraLoader.js +4 -0
- package/src/sap/ui/vk/ve/dvl.wasm +0 -0
- package/src/sap/ui/vk/ve/matai.js +1 -1
- package/src/sap/ui/vk/ve/matai.wasm +0 -0
- package/src/sap/ui/vk/ToolbarRenderer.js +0 -41
- package/src/sap/ui/vk/ViewerRenderer.js +0 -48
- package/src/sap/ui/vk/ecad/ElementsPanelRenderer.js +0 -41
- package/src/sap/ui/vk/ecad/LayersPanelRenderer.js +0 -41
- package/src/sap/ui/vk/themes/base/fonts/SAP-VE-icons-bold-v1.4.woff2 +0 -0
- 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:
|
|
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:
|
|
662
|
-
LAYERS_PANEL_SHOW_BUTTON_TOOLTIP=Show
|
|
663
|
-
#
|
|
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:
|
|
666
|
-
LAYERS_PANEL_HIDE_BUTTON_TOOLTIP=Hide
|
|
667
|
-
#
|
|
668
|
-
|
|
669
|
-
#
|
|
670
|
-
LAYERS_PANEL_VISIBLE_COLUMN=
|
|
671
|
-
#XTOL: Tooltip for
|
|
672
|
-
LAYERS_PANEL_VISIBLE_COLUMN_VISIBLE_TOOLTIP=
|
|
673
|
-
#XTOL: Tooltip for
|
|
674
|
-
LAYERS_PANEL_VISIBLE_COLUMN_PARTIAL_TOOLTIP=
|
|
675
|
-
#XTOL: Tooltip for
|
|
676
|
-
LAYERS_PANEL_VISIBLE_COLUMN_HIDDEN_TOOLTIP=
|
|
677
|
-
|
|
678
|
-
#
|
|
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:
|
|
681
|
-
ELEMENTS_PANEL_SHOW_BUTTON_TOOLTIP=Show
|
|
682
|
-
#
|
|
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:
|
|
685
|
-
ELEMENTS_PANEL_HIDE_BUTTON_TOOLTIP=Hide
|
|
686
|
-
#XTOL:
|
|
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
|
-
#
|
|
689
|
-
ELEMENTS_PANEL_NAME_COLUMN=
|
|
690
|
-
#
|
|
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
|
-
#
|
|
693
|
-
ELEMENTS_PANEL_DEVICE_REFERENCE_COLUMN=Device
|
|
694
|
-
#
|
|
695
|
-
ELEMENTS_PANEL_VISIBLE_COLUMN=
|
|
696
|
-
#XTOL: Tooltip for
|
|
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
|
|
710
|
+
#XTOL: Tooltip for element in partially visible state
|
|
699
711
|
ELEMENTS_PANEL_VISIBLE_COLUMN_PARTIAL_TOOLTIP=Partially visible element
|
|
700
|
-
#XTOL: Tooltip for
|
|
712
|
+
#XTOL: Tooltip for element in hidden state
|
|
701
713
|
ELEMENTS_PANEL_VISIBLE_COLUMN_HIDDEN_TOOLTIP=Hidden element
|
|
702
|
-
|
|
714
|
+
|
|
715
|
+
#XSEL: Text for element type: component (like capacitor, resistor, diod etc.. on PCB board)
|
|
703
716
|
ELEMENTS_PANEL_TYPE_COMPONENT=Component
|
|
704
|
-
#
|
|
717
|
+
#XSEL: Text for element type: net (or copper route on PCB board)
|
|
705
718
|
ELEMENTS_PANEL_TYPE_NET=Net
|
|
706
|
-
#XTOL: Text for
|
|
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=
|
|
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\
|
|
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
|
|
@@ -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\
|
|
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
|
package/src/sap/ui/vk/library.js
CHANGED
|
@@ -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.
|
|
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.
|
|
157
|
+
version: "1.136.3",
|
|
151
158
|
designtime: "sap/ui/vk/designtime/library.designtime"
|
|
152
159
|
});
|
|
153
160
|
|
|
@@ -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.
|
|
31
|
+
* @version 1.136.3
|
|
32
32
|
* @alias sap.ui.vk.measurement.Edge
|
|
33
33
|
* @since 1.101.0
|
|
34
34
|
*/
|
|
@@ -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.
|
|
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.
|
|
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.
|
|
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
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
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) {
|
|
@@ -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.
|
|
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.
|
|
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
|
|
|
@@ -66,7 +66,7 @@ sap.ui.define([
|
|
|
66
66
|
*
|
|
67
67
|
* @private
|
|
68
68
|
* @author SAP SE
|
|
69
|
-
* @version 1.136.
|
|
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
|
-
|
|
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
|
|
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
|
|
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.
|
|
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.
|
|
357
|
+
node.setVisible(mask, true);
|
|
358
358
|
node = node.parent;
|
|
359
359
|
}
|
|
360
360
|
}
|