@sapui5/sap.ui.vk 1.136.2 → 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 +1 -1
- 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/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 +2 -1
- 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 +12 -4
- 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/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
|
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
|
|
@@ -382,6 +382,7 @@ sap.ui.define([
|
|
|
382
382
|
const sourceType = contentResource.getEffectiveSourceType()?.toLowerCase();
|
|
383
383
|
|
|
384
384
|
switch (sourceType) {
|
|
385
|
+
case "ecad":
|
|
385
386
|
case "stream2d": {
|
|
386
387
|
// Since SVG coordinate system origin is top left and ours is bottom left we apply vertical flip
|
|
387
388
|
element.matrix = new Float32Array([1, 0, 0, -1, 0, 0]);
|
|
@@ -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;
|
|
@@ -188,6 +188,9 @@ sap.ui.define([
|
|
|
188
188
|
|
|
189
189
|
if (vkScene) {
|
|
190
190
|
this._vkScene = vkScene;
|
|
191
|
+
if (this._sceneMetadata) {
|
|
192
|
+
this._vkScene.setSceneMetadata(this._sceneMetadata);
|
|
193
|
+
}
|
|
191
194
|
}
|
|
192
195
|
return this;
|
|
193
196
|
};
|
|
@@ -923,7 +926,6 @@ sap.ui.define([
|
|
|
923
926
|
fillStyle: geometry.isPolyline ? null : { colour: material.color },
|
|
924
927
|
subelement: true
|
|
925
928
|
});
|
|
926
|
-
path.uid += "-g";
|
|
927
929
|
node.add(path);
|
|
928
930
|
|
|
929
931
|
TotaraUtils.pushElementIntoMapArray(this._materialNodesMap, materialId, path);
|
|
@@ -1009,7 +1011,6 @@ sap.ui.define([
|
|
|
1009
1011
|
|
|
1010
1012
|
this._resetCurrentScene(sceneId);
|
|
1011
1013
|
var node = this._nodes.get(nodeId);
|
|
1012
|
-
node.uid += "-p";
|
|
1013
1014
|
|
|
1014
1015
|
var shapes = parametricContent.shapes;
|
|
1015
1016
|
if (shapes) {
|
|
@@ -1105,7 +1106,6 @@ sap.ui.define([
|
|
|
1105
1106
|
|
|
1106
1107
|
if (shape) {
|
|
1107
1108
|
shape.userData.po = parametricContent;
|
|
1108
|
-
shape.uid += "-s";
|
|
1109
1109
|
if (parametricContent.materialID) {
|
|
1110
1110
|
TotaraUtils.pushElementIntoMapArray(this._materialNodesMap, parametricContent.materialID, shape);
|
|
1111
1111
|
}
|
|
@@ -1423,5 +1423,13 @@ sap.ui.define([
|
|
|
1423
1423
|
return undefined;
|
|
1424
1424
|
};
|
|
1425
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
|
+
|
|
1426
1434
|
return SceneBuilder;
|
|
1427
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
|
}
|