@cognite/reveal-components 1.0.0 → 1.0.2
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/README.md +1 -1
- package/dist/assets/poi-markers/poi-create-cursor.js +4 -0
- package/dist/common/i18n/en/reveal-components.js +183 -178
- package/dist/data-providers/Fdm3dDataProvider.d.ts +3 -3
- package/dist/data-providers/FdmSDK.d.ts +8 -0
- package/dist/data-providers/FdmSDK.js +34 -21
- package/dist/data-providers/assets/createClassicAssetsCache.d.ts +7 -0
- package/dist/data-providers/assets/createClassicAssetsCache.js +18 -0
- package/dist/data-providers/assets/createDmsDescribableNodesCache.d.ts +23 -0
- package/dist/data-providers/assets/createDmsDescribableNodesCache.js +19 -0
- package/dist/data-providers/cache/PointCloudAnnotationCache.js +10 -10
- package/dist/data-providers/cache/RevisionFdmNodeCache.d.ts +3 -2
- package/dist/data-providers/cache/RevisionFdmNodeCache.js +65 -39
- package/dist/data-providers/cache/annotationModelUtils.js +8 -6
- package/dist/data-providers/cache/cad/CadInstanceMappingsCache.d.ts +5 -2
- package/dist/data-providers/cache/cad/CadInstanceMappingsCacheImpl.js +9 -6
- package/dist/data-providers/cache/cad/FdmCadNodeCache.d.ts +3 -1
- package/dist/data-providers/cache/cad/FdmCadNodeCacheImpl.d.ts +5 -0
- package/dist/data-providers/cache/cad/FdmCadNodeCacheImpl.js +8 -3
- package/dist/data-providers/core-dm-provider/CoreDm3dDataProvider.d.ts +3 -3
- package/dist/data-providers/core-dm-provider/CoreDm3dDataProvider.js +11 -11
- package/dist/data-providers/core-dm-provider/filterNodesByMappedTo3d.js +13 -13
- package/dist/data-providers/core-dm-provider/getCadConnectionsForInstances.js +18 -18
- package/dist/data-providers/core-dm-provider/getCadConnectionsForRevisions.js +11 -11
- package/dist/data-providers/core-dm-provider/getCadModelsForInstance.js +3 -3
- package/dist/data-providers/core-dm-provider/getDMSModels.js +6 -6
- package/dist/data-providers/core-dm-provider/getEdgeConnected3dInstances.js +8 -8
- package/dist/data-providers/core-dm-provider/getFdmConnectionsForNodes.d.ts +2 -3
- package/dist/data-providers/core-dm-provider/getFdmConnectionsForNodes.js +19 -19
- package/dist/data-providers/core-dm-provider/listMappedFdmNodes.js +14 -14
- package/dist/data-providers/index.d.ts +2 -1
- package/dist/data-providers/index.js +2 -0
- package/dist/data-providers/legacy-fdm-provider/LegacyFdm3dDataProvider.d.ts +3 -3
- package/dist/data-providers/legacy-fdm-provider/fdmEdgesToCadConnections.js +3 -3
- package/dist/data-providers/legacy-fdm-provider/getFdmConnectionsForNodeIds.d.ts +3 -3
- package/dist/data-providers/legacy-fdm-provider/getFdmConnectionsForNodeIds.js +1 -1
- package/dist/data-providers/network/cad/searchClassicAssetsForCadModels.js +5 -5
- package/dist/data-providers/network/cad/searchHybridDmAssetsForCadModels.js +3 -3
- package/dist/data-providers/network/common/getDMAssetsForAnnotationReference.js +3 -3
- package/dist/data-providers/utils/getDMSModelRevisionRefs.js +3 -3
- package/dist/domains/annotation360/image360SceneCollectionTransform.d.ts +18 -0
- package/dist/domains/annotation360/image360SceneCollectionTransform.js +37 -0
- package/dist/domains/index.d.ts +4 -2
- package/dist/domains/index.js +3 -1
- package/dist/domains/pointsOfInterest/PointsOfInterestTool.d.ts +5 -0
- package/dist/domains/pointsOfInterest/PointsOfInterestTool.js +36 -17
- package/dist/domains/reveal/RevealDomainObjectUtils.d.ts +1 -0
- package/dist/domains/reveal/RevealDomainObjectUtils.js +1 -1
- package/dist/domains/reveal/cad/CadDomainObject.d.ts +18 -1
- package/dist/domains/reveal/cad/CadDomainObject.js +31 -15
- package/dist/foundation/renderTarget/CdfCaches.d.ts +9 -1
- package/dist/foundation/renderTarget/CdfCaches.js +24 -14
- package/dist/foundation/treeNodes/cad-tree-node/cad-lazy-loader.d.ts +3 -1
- package/dist/foundation/treeNodes/cad-tree-node/cad-lazy-loader.js +33 -22
- package/dist/foundation/treeNodes/cad-tree-node/cad-node-update-styling.js +6 -6
- package/dist/foundation/treeNodes/cad-tree-node/cad-tree-node.d.ts +1 -0
- package/dist/foundation/treeNodes/cad-tree-node/cad-tree-node.js +4 -1
- package/dist/foundation/treeNodes/cad-tree-node/nodes-and-instance-mappings-sdk/classic-instance-mappings-sdk.js +2 -5
- package/dist/foundation/treeNodes/cad-tree-node/nodes-and-instance-mappings-sdk/core-dm-instance-mappings-sdk.d.ts +14 -0
- package/dist/foundation/treeNodes/cad-tree-node/nodes-and-instance-mappings-sdk/core-dm-instance-mappings-sdk.js +23 -0
- package/dist/ui/components/InstanceLabel/InstanceLabel.js +18 -30
- package/dist/ui/components/Reveal3DResources/Reveal3DResources.js +20 -20
- package/dist/ui/components/RevealCanvas/SDKProvider.js +6 -6
- package/dist/ui/components/RevealCanvas/UsageMetricsTrackerContext.d.ts +3 -0
- package/dist/ui/components/RevealCanvas/UsageMetricsTrackerContext.js +6 -0
- package/dist/ui/components/RevealCanvas/ViewerContext.d.ts +2 -0
- package/dist/ui/components/RevealCanvas/ViewerContext.js +5 -5
- package/dist/ui/components/RevealContext/RevealContext.js +6 -6
- package/dist/ui/components/RevealToolbar/AssetContextualizedButton.js +1 -1
- package/dist/ui/components/RuleBasedOutputs/hooks/useGetDMConnectionWithNodeFromHybridMappingsQuery.js +11 -11
- package/dist/ui/components/Widget/RevealWidget.context.d.ts +2 -1
- package/dist/ui/components/Widget/RevealWidget.context.js +1 -1
- package/dist/ui/components/Widget/RevealWidget.d.ts +11 -2
- package/dist/ui/components/Widget/RevealWidget.js +35 -20
- package/dist/ui/components/Widget/RevealWidgetCameraController.d.ts +3 -1
- package/dist/ui/components/Widget/RevealWidgetCameraController.js +12 -10
- package/dist/ui/components/Widget/RevealWidgetController.d.ts +3 -1
- package/dist/ui/components/Widget/RevealWidgetController.js +40 -33
- package/dist/ui/components/Widget/index.d.ts +1 -1
- package/dist/ui/components/Widget/styling/applyPointCloudInstanceStyling.js +5 -5
- package/dist/ui/components/Widget/useRevealWidgetMetricsTracking.d.ts +21 -0
- package/dist/ui/components/Widget/useRevealWidgetMetricsTracking.js +33 -0
- package/dist/ui/components/commandBased/Factories/DefaultIcons.js +31 -31
- package/dist/ui/components/commandBased/buttons/DropdownButton.d.ts +2 -0
- package/dist/ui/components/commandBased/buttons/DropdownButton.js +67 -48
- package/dist/ui/components/commandBased/pointsOfInterest/PoiCommentSection.js +6 -6
- package/dist/ui/components/commandBased/treeView/DomainObjectTreeView/CadNodeInfoDialog.context.d.ts +16 -0
- package/dist/ui/components/commandBased/treeView/DomainObjectTreeView/CadNodeInfoDialog.context.js +6 -0
- package/dist/ui/components/commandBased/treeView/DomainObjectTreeView/CadNodeInfoDialog.d.ts +15 -0
- package/dist/ui/components/commandBased/treeView/DomainObjectTreeView/CadNodeInfoDialog.function.d.ts +5 -0
- package/dist/ui/components/commandBased/treeView/DomainObjectTreeView/CadNodeInfoDialog.function.js +14 -0
- package/dist/ui/components/commandBased/treeView/DomainObjectTreeView/CadNodeInfoDialog.js +105 -0
- package/dist/ui/components/commandBased/treeView/DomainObjectTreeView/DomainObjectTreeView.function.d.ts +13 -2
- package/dist/ui/components/commandBased/treeView/DomainObjectTreeView/DomainObjectTreeView.function.js +17 -9
- package/dist/ui/components/commandBased/treeView/DomainObjectTreeView/DomainObjectTreeView.js +27 -13
- package/dist/ui/components/commandBased/treeView/TreeView/components/tree-view-info.js +2 -2
- package/dist/ui/components/commandBased/treeView/TreeView/extraComponents/CadTreeAssetMappingDropdown.js +34 -33
- package/dist/ui/components/commandBased/treeView/TreeView/tree-view-node.js +1 -0
- package/dist/ui/components/commandBased/treeView/TreeView/tree-view-props.d.ts +1 -0
- package/dist/ui/components/commandBased/treeView/TreeView/tree-view.js +27 -25
- package/dist/ui/components/i18n/I18n.js +3 -3
- package/dist/ui/components/index.d.ts +1 -1
- package/dist/ui/hooks/network/fetchLinkFromRelationshipsByTimeseries.js +4 -4
- package/dist/ui/hooks/network/getImage360CollectionsForDmInstance.js +7 -7
- package/dist/ui/hooks/network/getTimeseriesLatestDatapoints.js +3 -3
- package/dist/ui/hooks/pointClouds/fetchAnnotationsForModel.js +4 -4
- package/dist/ui/hooks/pointClouds/usePointCloudAnnotationMappingForIntersection.js +11 -11
- package/dist/ui/hooks/pointClouds/usePointCloudAnnotationMappingsForAssetInstances.js +4 -4
- package/dist/ui/hooks/scenes/use3dScenes.js +4 -4
- package/dist/ui/query/core-dm/usePointCloudDMVolumeMappingForIntersection.js +9 -9
- package/dist/ui/query/core-dm/usePointCloudDMVolumes.js +10 -10
- package/dist/ui/query/index.d.ts +1 -0
- package/dist/ui/query/index.js +17 -16
- package/dist/ui/query/useAll3dDirectConnectionsWithProperties.js +6 -6
- package/dist/ui/query/useAssetsAndTimeseriesLinkageDataQuery.js +24 -24
- package/dist/ui/query/useAssetsAndTimeseriesLinkages.context.d.ts +3 -2
- package/dist/ui/query/useAssetsAndTimeseriesLinkages.context.js +4 -4
- package/dist/ui/query/useAssetsAndTimeseriesLinkages.js +13 -13
- package/dist/ui/query/useAssetsByIdsQuery.js +10 -11
- package/dist/ui/query/useCadNode3DInfo.d.ts +8 -0
- package/dist/ui/query/useCadNode3DInfo.js +24 -0
- package/dist/ui/query/useFetchClassicAssetsByIds.js +5 -5
- package/dist/ui/query/useFilterOnClassicAssetsInScene.js +6 -6
- package/dist/ui/query/useHybridMappingsForAssetInstances.js +9 -9
- package/dist/ui/query/useInstanceNames.d.ts +11 -0
- package/dist/ui/query/useInstanceNames.js +17 -0
- package/dist/ui/query/useInstancesByIdsQuery.context.d.ts +3 -5
- package/dist/ui/query/useInstancesByIdsQuery.context.js +4 -8
- package/dist/ui/query/useInstancesByIdsQuery.d.ts +9 -6
- package/dist/ui/query/useInstancesByIdsQuery.js +14 -23
- package/dist/ui/query/useNamedDmInstancesByIds.d.ts +12 -0
- package/dist/utilities/cache/ReadonlyEntityCache.d.ts +4 -0
- package/dist/utilities/cache/ReadonlyEntityCache.js +27 -0
- package/dist/utilities/createMixpanelUsageMetricsTracker.d.ts +23 -0
- package/dist/utilities/createMixpanelUsageMetricsTracker.js +23 -0
- package/dist/utilities/externalIndex.d.ts +2 -0
- package/dist/utilities/externalIndex.js +3 -1
- package/dist/utilities/getInstancesFromClick.js +9 -9
- package/dist/utilities/index.d.ts +2 -1
- package/dist/utilities/index.js +12 -9
- package/dist/utilities/queryKeys.d.ts +2 -0
- package/dist/utilities/queryKeys.js +7 -0
- package/dist/utilities/signal/useCombinedUpdateSignal.d.ts +9 -0
- package/dist/utilities/signal/useCombinedUpdateSignal.js +14 -0
- package/dist/utilities/signal/useMemoWithUpdateSignal.d.ts +3 -0
- package/dist/utilities/signal/useMemoWithUpdateSignal.js +13 -0
- package/dist/utilities/usageMetricsTracker.d.ts +4 -0
- package/dist/utilities/usageMetricsTracker.js +4 -0
- package/package.json +7 -3
- package/dist/ui/hooks/network/getAssetsByIds.d.ts +0 -2
- package/dist/ui/hooks/network/getAssetsByIds.js +0 -4
- package/dist/ui/query/useDmsInstanceByIdsQuery.d.ts +0 -3
- package/dist/ui/query/useDmsInstanceByIdsQuery.js +0 -18
package/README.md
CHANGED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
//#region libs/shared/reveal-components/src/assets/poi-markers/poi-create-cursor.svg
|
|
2
|
+
var e = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%3e%3ccircle%20cx='16'%20cy='16'%20r='7'%20fill='%2312B76A'%20stroke='%23FFFFFF'%20stroke-width='1.5'/%3e%3cpath%20d='M16%2012.8v6.4M12.8%2016h6.4'%20stroke='%23FFFFFF'%20stroke-width='2'%20stroke-linecap='round'/%3e%3c/svg%3e";
|
|
3
|
+
//#endregion
|
|
4
|
+
export { e as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region libs/shared/reveal-components/src/common/i18n/en/reveal-components.json
|
|
2
|
-
var ee = "Crop box. Click 3 points for base, then click to set height.", te = "Vertical slice (YZ). Click to set X-position.", e = "Vertical custom slice. Click 2 points.", t = "Vertical slice (XZ). Click to set Y-position.", n = "Horizontal slice (XY). Click to set Z-position.", ne = "All", r = "All 3D resources", i = "Area", a = "Asset", re = "Box", o = "CAD models", s = "Cancel", c = "
|
|
2
|
+
var ee = "Crop box. Click 3 points for base, then click to set height.", te = "Vertical slice (YZ). Click to set X-position.", e = "Vertical custom slice. Click 2 points.", t = "Vertical slice (XZ). Click to set Y-position.", n = "Horizontal slice (XY). Click to set Z-position.", ne = "All", r = "All 3D resources", i = "Area", a = "Asset", re = "Box", o = "CAD models", s = "Cancel", c = "CDF Metadata", l = "Circle", u = "Classification", d = "Crop", f = "Show next crop box or slice clipping", p = "Show previous crop box or slice clipping", m = "Show slices and crop boxes on top", h = "Show/hide unselected slices and crop boxes", g = "Slice planes and crop boxes", _ = "Use this as crop box", v = "Write a comment", y = "Comments", b = "Loading contextualized assets", x = "Show contextualized assets", ie = "Fly", S = "Orbit", C = "Center orbit", w = "Set camera to orbit or fly mode", T = "Copy to clipboard", E = "Copy URL", D = "Create", O = "Created", k = "Crop box", A = "Crop boxes and clipping planes", j = "Cylinder", M = "Horizontal cylinder", N = "Vertical cylinder", P = "Delete", F = "Depth", I = "Description", L = "No description", R = "Diameter", z = "Distance to origin", B = "Edit", V = "Return to last 360 image", H = "Close 360 image", U = "Fit view", W = "Ghost mode", G = "Previous 360 image", K = "Next 360 image", q = "Ground plane", J = "Height", Y = "Help", X = "High fidelity", Z = "Horizontal angle", Q = "Horizontal area", ae = "Horizontal length", oe = "Image transparency", se = "360 images", ce = "Details", le = "Show 360 image historical details", ue = "Station:", de = "Intensity", fe = "Back", pe = "Down", me = "Forward", he = "Left", ge = "Look down", _e = "Look left", ve = "Look right", ye = "Look up", be = "Hold the keys to move and look around. You can also combine keys with the mouse.", xe = "Move and look around", Se = "Keyboard", Ce = "Right", we = "Up", Te = "Filter 3D resource layers", Ee = "Length", De = "Line", Oe = "Load more", ke = "Loading...", Ae = "Marker transparency", je = "360 markers", Me = "Measurements", Ne = "Horizontal circle. Click to set center, then click to set radius.", Pe = "Vertical cylinder. Click 2 points for the base, then click to set height.", Fe = "Horizontal cylinder. Click 2 points for the base, then click to set height.", Ie = "Vertical cylinder. Click 2 points for the base, then click to set height.", Le = "Cylinder fit (for point clouds). Click to automatically detect diameter. Hold Shift and scroll to resize the search area.", Re = "Horizontal rectangular area. Click 3 points in a horizontal plane.", ze = "Distance between 2 points. Click start and end point.", Be = "Point coordinate. Click to create and scroll to resize.", Ve = "Polygon length and area. Click at least 3 points, press Esc to finish.", He = "Polyline length. Click multiple points, press Esc to finish.", Ue = "Vertical rectangular area. Click 2 points in a vertical plane.", We = "Box volume. Click 3 points for the base, then click to set height.", Ge = "Show all measurements on top", Ke = "Distance measuring tool", qe = "Minimum", Je = "Click+drag", Ye = "Click and drag to rotate and pan the view. Left-click to select objects. \nUse the mouse wheel to zoom.", Xe = "Mouse", Ze = "Rotate", Qe = "Select objects", $e = "Click the interactive objects", et = "Navigate and select", $ = "Zoom = scroll", tt = "Name", nt = "No models found", rt = "No results", it = "Node properties", at = "Failed to load node properties", ot = "None", st = "Pan", ct = "Paraboloid", lt = "Point", ut = "Point clouds", dt = "Point color", ft = "Failed to post comment", pt = "Create point of interest", mt = "Failed to create point of interest", ht = "This will permanently delete this point of interest. This action cannot be undone.", gt = "Delete this point of interest?", _t = "Delete this point of interest", vt = "Describe the point of interest", yt = "Point of interest is private", bt = "Point of interest is public", xt = "No comments yet", St = "Points of interest", Ct = "Point of interest is private and only visible to you", wt = "Point of interest is public and visible to anyone", Tt = "Untitled point of interest", Et = "Failed to update point of interest", Dt = "Point shape", Ot = "Point size", kt = "Point filter", At = "Polygon", jt = "Polyline", Mt = "Property", Nt = "Radius", Pt = "Redo", Ft = "Rendering detail level", It = "High detail might overload CPU/GPU/RAM", Lt = "Reset to default view", Rt = "3D resources", zt = "Revisions", Bt = "RGB", Vt = "None", Ht = "Select color overlay", Ut = "Save", Wt = "Scene", Gt = "Select 3D location", Kt = "Search", qt = "Select individual models", Jt = "Selected", Yt = "Send", Xt = "Set camera fly speed", Zt = "Settings", Qt = "Share", $t = "Show less", en = "Show more", tn = "Hide or show 360 image annotations", nn = "Show or hide axis", rn = "Tree view", an = "Skybox", on = "Flip side", sn = "Slice", cn = "Vertical slice along Y-axis", ln = "Vertical slice", un = "Vertical slice along X-axis", dn = "Horizontal slice", fn = "Square", pn = "Temporary", mn = "Refreshing will clear this data", hn = "Total length", gn = "Use gestures to pan, select and zoom", _n = "Touch", vn = "Tap to select", yn = "Zoom", bn = "Try again", xn = "Undo", Sn = "Units", Cn = "Updated", wn = "Value", Tn = "Vertical area", En = "Vertical length", Dn = "Visible", On = "Volume", kn = "Close", An = "Expand", jn = "Minimize", Mn = "X coordinate", Nn = "X-ray", Pn = "Y coordinate", Fn = "Z coordinate", In = {
|
|
3
3
|
ADD_CROP_BOX: ee,
|
|
4
4
|
ADD_SLICE_X: te,
|
|
5
5
|
ADD_SLICE_XY: e,
|
|
@@ -12,186 +12,191 @@ var ee = "Crop box. Click 3 points for base, then click to set height.", te = "V
|
|
|
12
12
|
BOX: "Box",
|
|
13
13
|
CAD_MODELS: o,
|
|
14
14
|
CANCEL: s,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
15
|
+
CDF_METADATA: c,
|
|
16
|
+
CIRCLE: l,
|
|
17
|
+
CLASSIFICATION: u,
|
|
18
|
+
CLIP_APPLY: d,
|
|
19
|
+
CLIP_NEXT: f,
|
|
20
|
+
CLIP_PREV: p,
|
|
21
|
+
CLIP_SHOW_ON_TOP: m,
|
|
22
|
+
CLIP_SHOW_SELECTED_ONLY: h,
|
|
23
|
+
CLIP_TOOL: g,
|
|
24
|
+
CLIP_USE_THIS_AS_CROP_BOX: _,
|
|
25
|
+
COMMENT_PLACEHOLDER: v,
|
|
26
|
+
COMMENTS: y,
|
|
27
|
+
CONTEXTUALIZED_ASSETS_LOADING_TOOLTIP: b,
|
|
28
|
+
CONTEXTUALIZED_ASSETS_TOOLTIP: x,
|
|
28
29
|
CONTROLS_TYPE_FIRST_PERSON: "Fly",
|
|
29
|
-
CONTROLS_TYPE_ORBIT:
|
|
30
|
-
CONTROLS_TYPE_ORBIT_IN_CENTER:
|
|
31
|
-
CONTROLS_TYPE_TOOLTIP:
|
|
32
|
-
COPY_TO_CLIPBOARD:
|
|
33
|
-
COPY_URL_TO_SHARE:
|
|
34
|
-
CREATE:
|
|
35
|
-
CREATED:
|
|
36
|
-
CROP_BOX:
|
|
37
|
-
CROP_BOXES_AND_CLIPPING_PLANES:
|
|
38
|
-
CYLINDER:
|
|
39
|
-
CYLINDER_HORIZONTAL:
|
|
40
|
-
CYLINDER_VERTICAL:
|
|
41
|
-
DELETE:
|
|
42
|
-
DEPTH:
|
|
43
|
-
DESCRIPTION:
|
|
44
|
-
DESCRIPTION_PLACEHOLDER:
|
|
45
|
-
DIAMETER:
|
|
46
|
-
DISTANCE_TO_ORIGIN:
|
|
47
|
-
EDIT:
|
|
48
|
-
ENTER_LAST_360:
|
|
49
|
-
EXIT_360:
|
|
50
|
-
FIT_VIEW_TOOLTIP:
|
|
51
|
-
GHOST_MODE:
|
|
52
|
-
GO_BACK_360:
|
|
53
|
-
GO_FORWARD_360:
|
|
54
|
-
GROUND_PLANE:
|
|
55
|
-
HEIGHT:
|
|
56
|
-
HELP_TOOLTIP:
|
|
57
|
-
HIGH_FIDELITY:
|
|
58
|
-
HORIZONTAL_ANGLE:
|
|
59
|
-
HORIZONTAL_AREA:
|
|
60
|
-
HORIZONTAL_LENGTH:
|
|
61
|
-
IMAGE_TRANSPARENCY:
|
|
62
|
-
IMAGES_360:
|
|
63
|
-
IMAGES_360_DETAILS:
|
|
64
|
-
IMAGES_360_DETAILS_TOOLTIP:
|
|
65
|
-
IMAGES_360_STATION:
|
|
66
|
-
INTENSITY:
|
|
67
|
-
KEYBOARD_BACK:
|
|
68
|
-
KEYBOARD_DOWN:
|
|
69
|
-
KEYBOARD_FORWARD:
|
|
70
|
-
KEYBOARD_LEFT:
|
|
71
|
-
KEYBOARD_LOOK_DOWN:
|
|
72
|
-
KEYBOARD_LOOK_LEFT:
|
|
73
|
-
KEYBOARD_LOOK_RIGHT:
|
|
74
|
-
KEYBOARD_LOOK_UP:
|
|
75
|
-
KEYBOARD_NAVIGATION_DESCRIPTION:
|
|
76
|
-
KEYBOARD_NAVIGATION_SUBTITLE:
|
|
77
|
-
KEYBOARD_NAVIGATION_TITLE:
|
|
78
|
-
KEYBOARD_RIGHT:
|
|
30
|
+
CONTROLS_TYPE_ORBIT: S,
|
|
31
|
+
CONTROLS_TYPE_ORBIT_IN_CENTER: C,
|
|
32
|
+
CONTROLS_TYPE_TOOLTIP: w,
|
|
33
|
+
COPY_TO_CLIPBOARD: T,
|
|
34
|
+
COPY_URL_TO_SHARE: E,
|
|
35
|
+
CREATE: D,
|
|
36
|
+
CREATED: O,
|
|
37
|
+
CROP_BOX: k,
|
|
38
|
+
CROP_BOXES_AND_CLIPPING_PLANES: A,
|
|
39
|
+
CYLINDER: j,
|
|
40
|
+
CYLINDER_HORIZONTAL: M,
|
|
41
|
+
CYLINDER_VERTICAL: N,
|
|
42
|
+
DELETE: P,
|
|
43
|
+
DEPTH: F,
|
|
44
|
+
DESCRIPTION: I,
|
|
45
|
+
DESCRIPTION_PLACEHOLDER: L,
|
|
46
|
+
DIAMETER: R,
|
|
47
|
+
DISTANCE_TO_ORIGIN: z,
|
|
48
|
+
EDIT: B,
|
|
49
|
+
ENTER_LAST_360: V,
|
|
50
|
+
EXIT_360: H,
|
|
51
|
+
FIT_VIEW_TOOLTIP: U,
|
|
52
|
+
GHOST_MODE: W,
|
|
53
|
+
GO_BACK_360: G,
|
|
54
|
+
GO_FORWARD_360: K,
|
|
55
|
+
GROUND_PLANE: q,
|
|
56
|
+
HEIGHT: J,
|
|
57
|
+
HELP_TOOLTIP: Y,
|
|
58
|
+
HIGH_FIDELITY: X,
|
|
59
|
+
HORIZONTAL_ANGLE: Z,
|
|
60
|
+
HORIZONTAL_AREA: Q,
|
|
61
|
+
HORIZONTAL_LENGTH: ae,
|
|
62
|
+
IMAGE_TRANSPARENCY: oe,
|
|
63
|
+
IMAGES_360: se,
|
|
64
|
+
IMAGES_360_DETAILS: ce,
|
|
65
|
+
IMAGES_360_DETAILS_TOOLTIP: le,
|
|
66
|
+
IMAGES_360_STATION: ue,
|
|
67
|
+
INTENSITY: de,
|
|
68
|
+
KEYBOARD_BACK: fe,
|
|
69
|
+
KEYBOARD_DOWN: pe,
|
|
70
|
+
KEYBOARD_FORWARD: me,
|
|
71
|
+
KEYBOARD_LEFT: he,
|
|
72
|
+
KEYBOARD_LOOK_DOWN: ge,
|
|
73
|
+
KEYBOARD_LOOK_LEFT: _e,
|
|
74
|
+
KEYBOARD_LOOK_RIGHT: ve,
|
|
75
|
+
KEYBOARD_LOOK_UP: ye,
|
|
76
|
+
KEYBOARD_NAVIGATION_DESCRIPTION: be,
|
|
77
|
+
KEYBOARD_NAVIGATION_SUBTITLE: xe,
|
|
78
|
+
KEYBOARD_NAVIGATION_TITLE: Se,
|
|
79
|
+
KEYBOARD_RIGHT: Ce,
|
|
79
80
|
KEYBOARD_UP: "Up",
|
|
80
|
-
LAYERS_FILTER_TOOLTIP:
|
|
81
|
-
LENGTH:
|
|
82
|
-
LINE:
|
|
83
|
-
LOAD_MORE:
|
|
84
|
-
LOADING:
|
|
85
|
-
MARKER_TRANSPARENCY:
|
|
86
|
-
MARKERS_360:
|
|
87
|
-
MEASUREMENTS:
|
|
88
|
-
MEASUREMENTS_ADD_CIRCLE:
|
|
89
|
-
MEASUREMENTS_ADD_CYLINDER:
|
|
90
|
-
MEASUREMENTS_ADD_CYLINDER_HORIZONTAL:
|
|
91
|
-
MEASUREMENTS_ADD_CYLINDER_VERTICAL:
|
|
92
|
-
MEASUREMENTS_ADD_DIAMETER:
|
|
93
|
-
MEASUREMENTS_ADD_HORIZONTAL_AREA:
|
|
94
|
-
MEASUREMENTS_ADD_LINE:
|
|
95
|
-
MEASUREMENTS_ADD_POINT:
|
|
96
|
-
MEASUREMENTS_ADD_POLYGON:
|
|
97
|
-
MEASUREMENTS_ADD_POLYLINE:
|
|
98
|
-
MEASUREMENTS_ADD_VERTICAL_AREA:
|
|
99
|
-
MEASUREMENTS_ADD_VOLUME:
|
|
100
|
-
MEASUREMENTS_SHOW_ON_TOP:
|
|
101
|
-
MEASUREMENTS_TOOLTIP:
|
|
102
|
-
MINIMUM:
|
|
103
|
-
MOUSE_INSTRUCTIONS:
|
|
104
|
-
MOUSE_NAVIGATION_DESCRIPTION:
|
|
105
|
-
MOUSE_NAVIGATION_TITLE:
|
|
106
|
-
MOUSE_ROTATE:
|
|
107
|
-
MOUSE_SELECT:
|
|
108
|
-
MOUSE_SELECT_INSTRUCTION:
|
|
109
|
-
MOUSE_TOUCH_NAVIGATION_SUBTITLE:
|
|
110
|
-
MOUSE_ZOOM:
|
|
111
|
-
NAME:
|
|
112
|
-
NO_MODELS_FOUND:
|
|
113
|
-
NO_RESULTS:
|
|
114
|
-
|
|
81
|
+
LAYERS_FILTER_TOOLTIP: Te,
|
|
82
|
+
LENGTH: Ee,
|
|
83
|
+
LINE: De,
|
|
84
|
+
LOAD_MORE: Oe,
|
|
85
|
+
LOADING: ke,
|
|
86
|
+
MARKER_TRANSPARENCY: Ae,
|
|
87
|
+
MARKERS_360: je,
|
|
88
|
+
MEASUREMENTS: Me,
|
|
89
|
+
MEASUREMENTS_ADD_CIRCLE: Ne,
|
|
90
|
+
MEASUREMENTS_ADD_CYLINDER: Pe,
|
|
91
|
+
MEASUREMENTS_ADD_CYLINDER_HORIZONTAL: Fe,
|
|
92
|
+
MEASUREMENTS_ADD_CYLINDER_VERTICAL: Ie,
|
|
93
|
+
MEASUREMENTS_ADD_DIAMETER: Le,
|
|
94
|
+
MEASUREMENTS_ADD_HORIZONTAL_AREA: Re,
|
|
95
|
+
MEASUREMENTS_ADD_LINE: ze,
|
|
96
|
+
MEASUREMENTS_ADD_POINT: Be,
|
|
97
|
+
MEASUREMENTS_ADD_POLYGON: Ve,
|
|
98
|
+
MEASUREMENTS_ADD_POLYLINE: He,
|
|
99
|
+
MEASUREMENTS_ADD_VERTICAL_AREA: Ue,
|
|
100
|
+
MEASUREMENTS_ADD_VOLUME: We,
|
|
101
|
+
MEASUREMENTS_SHOW_ON_TOP: Ge,
|
|
102
|
+
MEASUREMENTS_TOOLTIP: Ke,
|
|
103
|
+
MINIMUM: qe,
|
|
104
|
+
MOUSE_INSTRUCTIONS: Je,
|
|
105
|
+
MOUSE_NAVIGATION_DESCRIPTION: Ye,
|
|
106
|
+
MOUSE_NAVIGATION_TITLE: Xe,
|
|
107
|
+
MOUSE_ROTATE: Ze,
|
|
108
|
+
MOUSE_SELECT: Qe,
|
|
109
|
+
MOUSE_SELECT_INSTRUCTION: $e,
|
|
110
|
+
MOUSE_TOUCH_NAVIGATION_SUBTITLE: et,
|
|
111
|
+
MOUSE_ZOOM: $,
|
|
112
|
+
NAME: tt,
|
|
113
|
+
NO_MODELS_FOUND: nt,
|
|
114
|
+
NO_RESULTS: rt,
|
|
115
|
+
NODE_PROPERTIES: it,
|
|
116
|
+
NODE_PROPERTIES_LOAD_ERROR: at,
|
|
117
|
+
NONE: ot,
|
|
115
118
|
PAN: "Pan",
|
|
116
|
-
PARABOLOID:
|
|
117
|
-
POINT:
|
|
118
|
-
POINT_CLOUDS:
|
|
119
|
-
POINT_COLOR:
|
|
120
|
-
POINT_OF_INTEREST_COMMENT_POST_FAILED:
|
|
121
|
-
POINT_OF_INTEREST_CREATE:
|
|
122
|
-
POINT_OF_INTEREST_CREATE_FAILED:
|
|
123
|
-
POINT_OF_INTEREST_DELETE_CONFIRM_DESCRIPTION:
|
|
124
|
-
POINT_OF_INTEREST_DELETE_CONFIRM_TITLE:
|
|
125
|
-
POINT_OF_INTEREST_DELETE_THIS:
|
|
126
|
-
POINT_OF_INTEREST_DESCRIPTION_PLACEHOLDER:
|
|
127
|
-
POINT_OF_INTEREST_IS_PRIVATE:
|
|
128
|
-
POINT_OF_INTEREST_IS_PUBLIC:
|
|
129
|
-
POINT_OF_INTEREST_NO_COMMENTS_YET:
|
|
130
|
-
POINT_OF_INTEREST_PLURAL:
|
|
131
|
-
POINT_OF_INTEREST_PRIVATE_DESCRIPTION:
|
|
132
|
-
POINT_OF_INTEREST_PUBLIC_DESCRIPTION:
|
|
133
|
-
POINT_OF_INTEREST_UNTITLED:
|
|
134
|
-
POINT_OF_INTEREST_UPDATE_FAILED:
|
|
135
|
-
POINT_SHAPE:
|
|
136
|
-
POINT_SIZE:
|
|
137
|
-
POINTS_FILTER:
|
|
138
|
-
POLYGON:
|
|
139
|
-
POLYLINE:
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
119
|
+
PARABOLOID: ct,
|
|
120
|
+
POINT: lt,
|
|
121
|
+
POINT_CLOUDS: ut,
|
|
122
|
+
POINT_COLOR: dt,
|
|
123
|
+
POINT_OF_INTEREST_COMMENT_POST_FAILED: ft,
|
|
124
|
+
POINT_OF_INTEREST_CREATE: pt,
|
|
125
|
+
POINT_OF_INTEREST_CREATE_FAILED: mt,
|
|
126
|
+
POINT_OF_INTEREST_DELETE_CONFIRM_DESCRIPTION: ht,
|
|
127
|
+
POINT_OF_INTEREST_DELETE_CONFIRM_TITLE: gt,
|
|
128
|
+
POINT_OF_INTEREST_DELETE_THIS: _t,
|
|
129
|
+
POINT_OF_INTEREST_DESCRIPTION_PLACEHOLDER: vt,
|
|
130
|
+
POINT_OF_INTEREST_IS_PRIVATE: yt,
|
|
131
|
+
POINT_OF_INTEREST_IS_PUBLIC: bt,
|
|
132
|
+
POINT_OF_INTEREST_NO_COMMENTS_YET: xt,
|
|
133
|
+
POINT_OF_INTEREST_PLURAL: St,
|
|
134
|
+
POINT_OF_INTEREST_PRIVATE_DESCRIPTION: Ct,
|
|
135
|
+
POINT_OF_INTEREST_PUBLIC_DESCRIPTION: wt,
|
|
136
|
+
POINT_OF_INTEREST_UNTITLED: Tt,
|
|
137
|
+
POINT_OF_INTEREST_UPDATE_FAILED: Et,
|
|
138
|
+
POINT_SHAPE: Dt,
|
|
139
|
+
POINT_SIZE: Ot,
|
|
140
|
+
POINTS_FILTER: kt,
|
|
141
|
+
POLYGON: At,
|
|
142
|
+
POLYLINE: jt,
|
|
143
|
+
PROPERTY: Mt,
|
|
144
|
+
RADIUS: Nt,
|
|
145
|
+
REDO: Pt,
|
|
146
|
+
RENDER_QUALITY_SLIDER_HEADER: Ft,
|
|
147
|
+
RENDER_QUALITY_SLIDER_PERFORMANCE_WARNING: It,
|
|
148
|
+
RESET_CAMERA_TO_HOME: Lt,
|
|
149
|
+
RESOURCES_3D: Rt,
|
|
150
|
+
REVISIONS: zt,
|
|
147
151
|
RGB: "RGB",
|
|
148
|
-
RULESET_NO_SELECTION:
|
|
149
|
-
RULESET_SELECT_HEADER:
|
|
150
|
-
SAVE:
|
|
151
|
-
SCENE:
|
|
152
|
-
SCENE_SELECT_HEADER:
|
|
153
|
-
SEARCH_PLACEHOLDER:
|
|
154
|
-
SELECT_INDIVIDUAL_3D_MODELS:
|
|
155
|
-
SELECTED:
|
|
156
|
-
SEND:
|
|
157
|
-
SET_CAMERA_FLY_SPEED:
|
|
158
|
-
SETTINGS_TOOLTIP:
|
|
159
|
-
SHARE:
|
|
160
|
-
SHOW_LESS:
|
|
161
|
-
SHOW_MORE:
|
|
162
|
-
SHOW_OR_HIDE_ANNOTATIONS_VISIBLE:
|
|
163
|
-
SHOW_OR_HIDE_AXIS:
|
|
164
|
-
SHOW_OR_HIDE_TREE_VIEW:
|
|
165
|
-
SKYBOX:
|
|
166
|
-
SLICE_FLIP:
|
|
167
|
-
SLICE_TOOLTIP:
|
|
168
|
-
SLICE_X:
|
|
169
|
-
SLICE_XY:
|
|
170
|
-
SLICE_Y:
|
|
171
|
-
SLICE_Z:
|
|
172
|
-
SQUARE:
|
|
173
|
-
TEMPORARY:
|
|
174
|
-
TEMPORARY_TOOLTIP:
|
|
175
|
-
TOTAL_LENGTH:
|
|
176
|
-
TOUCH_NAVIGATION_DESCRIPTION:
|
|
177
|
-
TOUCH_NAVIGATION_TITLE:
|
|
178
|
-
TOUCH_SELECT:
|
|
179
|
-
TOUCH_ZOOM:
|
|
180
|
-
TRY_AGAIN:
|
|
181
|
-
UNDO:
|
|
182
|
-
UNITS:
|
|
183
|
-
UPDATED:
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
152
|
+
RULESET_NO_SELECTION: Vt,
|
|
153
|
+
RULESET_SELECT_HEADER: Ht,
|
|
154
|
+
SAVE: Ut,
|
|
155
|
+
SCENE: Wt,
|
|
156
|
+
SCENE_SELECT_HEADER: Gt,
|
|
157
|
+
SEARCH_PLACEHOLDER: Kt,
|
|
158
|
+
SELECT_INDIVIDUAL_3D_MODELS: qt,
|
|
159
|
+
SELECTED: Jt,
|
|
160
|
+
SEND: Yt,
|
|
161
|
+
SET_CAMERA_FLY_SPEED: Xt,
|
|
162
|
+
SETTINGS_TOOLTIP: Zt,
|
|
163
|
+
SHARE: Qt,
|
|
164
|
+
SHOW_LESS: $t,
|
|
165
|
+
SHOW_MORE: en,
|
|
166
|
+
SHOW_OR_HIDE_ANNOTATIONS_VISIBLE: tn,
|
|
167
|
+
SHOW_OR_HIDE_AXIS: nn,
|
|
168
|
+
SHOW_OR_HIDE_TREE_VIEW: rn,
|
|
169
|
+
SKYBOX: an,
|
|
170
|
+
SLICE_FLIP: on,
|
|
171
|
+
SLICE_TOOLTIP: sn,
|
|
172
|
+
SLICE_X: cn,
|
|
173
|
+
SLICE_XY: ln,
|
|
174
|
+
SLICE_Y: un,
|
|
175
|
+
SLICE_Z: dn,
|
|
176
|
+
SQUARE: fn,
|
|
177
|
+
TEMPORARY: pn,
|
|
178
|
+
TEMPORARY_TOOLTIP: mn,
|
|
179
|
+
TOTAL_LENGTH: hn,
|
|
180
|
+
TOUCH_NAVIGATION_DESCRIPTION: gn,
|
|
181
|
+
TOUCH_NAVIGATION_TITLE: _n,
|
|
182
|
+
TOUCH_SELECT: vn,
|
|
183
|
+
TOUCH_ZOOM: yn,
|
|
184
|
+
TRY_AGAIN: bn,
|
|
185
|
+
UNDO: xn,
|
|
186
|
+
UNITS: Sn,
|
|
187
|
+
UPDATED: Cn,
|
|
188
|
+
VALUE: wn,
|
|
189
|
+
VERTICAL_AREA: Tn,
|
|
190
|
+
VERTICAL_LENGTH: En,
|
|
191
|
+
VISIBLE: Dn,
|
|
192
|
+
VOLUME: On,
|
|
193
|
+
WIDGET_WINDOW_CLOSE: kn,
|
|
194
|
+
WIDGET_WINDOW_EXPAND: An,
|
|
195
|
+
WIDGET_WINDOW_MINIMIZE: jn,
|
|
196
|
+
X_COORDINATE: Mn,
|
|
197
|
+
X_RAY: Nn,
|
|
198
|
+
Y_COORDINATE: Pn,
|
|
199
|
+
Z_COORDINATE: Fn
|
|
195
200
|
};
|
|
196
201
|
//#endregion
|
|
197
|
-
export { ee as ADD_CROP_BOX, te as ADD_SLICE_X, e as ADD_SLICE_XY, t as ADD_SLICE_Y, n as ADD_SLICE_Z, ne as ALL, r as ALL_3D_RESOURCES, i as AREA, a as ASSET, re as BOX, o as CAD_MODELS, s as CANCEL, c as
|
|
202
|
+
export { ee as ADD_CROP_BOX, te as ADD_SLICE_X, e as ADD_SLICE_XY, t as ADD_SLICE_Y, n as ADD_SLICE_Z, ne as ALL, r as ALL_3D_RESOURCES, i as AREA, a as ASSET, re as BOX, o as CAD_MODELS, s as CANCEL, c as CDF_METADATA, l as CIRCLE, u as CLASSIFICATION, d as CLIP_APPLY, f as CLIP_NEXT, p as CLIP_PREV, m as CLIP_SHOW_ON_TOP, h as CLIP_SHOW_SELECTED_ONLY, g as CLIP_TOOL, _ as CLIP_USE_THIS_AS_CROP_BOX, y as COMMENTS, v as COMMENT_PLACEHOLDER, b as CONTEXTUALIZED_ASSETS_LOADING_TOOLTIP, x as CONTEXTUALIZED_ASSETS_TOOLTIP, ie as CONTROLS_TYPE_FIRST_PERSON, S as CONTROLS_TYPE_ORBIT, C as CONTROLS_TYPE_ORBIT_IN_CENTER, w as CONTROLS_TYPE_TOOLTIP, T as COPY_TO_CLIPBOARD, E as COPY_URL_TO_SHARE, D as CREATE, O as CREATED, k as CROP_BOX, A as CROP_BOXES_AND_CLIPPING_PLANES, j as CYLINDER, M as CYLINDER_HORIZONTAL, N as CYLINDER_VERTICAL, P as DELETE, F as DEPTH, I as DESCRIPTION, L as DESCRIPTION_PLACEHOLDER, R as DIAMETER, z as DISTANCE_TO_ORIGIN, B as EDIT, V as ENTER_LAST_360, H as EXIT_360, U as FIT_VIEW_TOOLTIP, W as GHOST_MODE, G as GO_BACK_360, K as GO_FORWARD_360, q as GROUND_PLANE, J as HEIGHT, Y as HELP_TOOLTIP, X as HIGH_FIDELITY, Z as HORIZONTAL_ANGLE, Q as HORIZONTAL_AREA, ae as HORIZONTAL_LENGTH, se as IMAGES_360, ce as IMAGES_360_DETAILS, le as IMAGES_360_DETAILS_TOOLTIP, ue as IMAGES_360_STATION, oe as IMAGE_TRANSPARENCY, de as INTENSITY, fe as KEYBOARD_BACK, pe as KEYBOARD_DOWN, me as KEYBOARD_FORWARD, he as KEYBOARD_LEFT, ge as KEYBOARD_LOOK_DOWN, _e as KEYBOARD_LOOK_LEFT, ve as KEYBOARD_LOOK_RIGHT, ye as KEYBOARD_LOOK_UP, be as KEYBOARD_NAVIGATION_DESCRIPTION, xe as KEYBOARD_NAVIGATION_SUBTITLE, Se as KEYBOARD_NAVIGATION_TITLE, Ce as KEYBOARD_RIGHT, we as KEYBOARD_UP, Te as LAYERS_FILTER_TOOLTIP, Ee as LENGTH, De as LINE, ke as LOADING, Oe as LOAD_MORE, je as MARKERS_360, Ae as MARKER_TRANSPARENCY, Me as MEASUREMENTS, Ne as MEASUREMENTS_ADD_CIRCLE, Pe as MEASUREMENTS_ADD_CYLINDER, Fe as MEASUREMENTS_ADD_CYLINDER_HORIZONTAL, Ie as MEASUREMENTS_ADD_CYLINDER_VERTICAL, Le as MEASUREMENTS_ADD_DIAMETER, Re as MEASUREMENTS_ADD_HORIZONTAL_AREA, ze as MEASUREMENTS_ADD_LINE, Be as MEASUREMENTS_ADD_POINT, Ve as MEASUREMENTS_ADD_POLYGON, He as MEASUREMENTS_ADD_POLYLINE, Ue as MEASUREMENTS_ADD_VERTICAL_AREA, We as MEASUREMENTS_ADD_VOLUME, Ge as MEASUREMENTS_SHOW_ON_TOP, Ke as MEASUREMENTS_TOOLTIP, qe as MINIMUM, Je as MOUSE_INSTRUCTIONS, Ye as MOUSE_NAVIGATION_DESCRIPTION, Xe as MOUSE_NAVIGATION_TITLE, Ze as MOUSE_ROTATE, Qe as MOUSE_SELECT, $e as MOUSE_SELECT_INSTRUCTION, et as MOUSE_TOUCH_NAVIGATION_SUBTITLE, $ as MOUSE_ZOOM, tt as NAME, it as NODE_PROPERTIES, at as NODE_PROPERTIES_LOAD_ERROR, ot as NONE, nt as NO_MODELS_FOUND, rt as NO_RESULTS, st as PAN, ct as PARABOLOID, lt as POINT, kt as POINTS_FILTER, ut as POINT_CLOUDS, dt as POINT_COLOR, ft as POINT_OF_INTEREST_COMMENT_POST_FAILED, pt as POINT_OF_INTEREST_CREATE, mt as POINT_OF_INTEREST_CREATE_FAILED, ht as POINT_OF_INTEREST_DELETE_CONFIRM_DESCRIPTION, gt as POINT_OF_INTEREST_DELETE_CONFIRM_TITLE, _t as POINT_OF_INTEREST_DELETE_THIS, vt as POINT_OF_INTEREST_DESCRIPTION_PLACEHOLDER, yt as POINT_OF_INTEREST_IS_PRIVATE, bt as POINT_OF_INTEREST_IS_PUBLIC, xt as POINT_OF_INTEREST_NO_COMMENTS_YET, St as POINT_OF_INTEREST_PLURAL, Ct as POINT_OF_INTEREST_PRIVATE_DESCRIPTION, wt as POINT_OF_INTEREST_PUBLIC_DESCRIPTION, Tt as POINT_OF_INTEREST_UNTITLED, Et as POINT_OF_INTEREST_UPDATE_FAILED, Dt as POINT_SHAPE, Ot as POINT_SIZE, At as POLYGON, jt as POLYLINE, Mt as PROPERTY, Nt as RADIUS, Pt as REDO, Ft as RENDER_QUALITY_SLIDER_HEADER, It as RENDER_QUALITY_SLIDER_PERFORMANCE_WARNING, Lt as RESET_CAMERA_TO_HOME, Rt as RESOURCES_3D, zt as REVISIONS, Bt as RGB, Vt as RULESET_NO_SELECTION, Ht as RULESET_SELECT_HEADER, Ut as SAVE, Wt as SCENE, Gt as SCENE_SELECT_HEADER, Kt as SEARCH_PLACEHOLDER, Jt as SELECTED, qt as SELECT_INDIVIDUAL_3D_MODELS, Yt as SEND, Zt as SETTINGS_TOOLTIP, Xt as SET_CAMERA_FLY_SPEED, Qt as SHARE, $t as SHOW_LESS, en as SHOW_MORE, tn as SHOW_OR_HIDE_ANNOTATIONS_VISIBLE, nn as SHOW_OR_HIDE_AXIS, rn as SHOW_OR_HIDE_TREE_VIEW, an as SKYBOX, on as SLICE_FLIP, sn as SLICE_TOOLTIP, cn as SLICE_X, ln as SLICE_XY, un as SLICE_Y, dn as SLICE_Z, fn as SQUARE, pn as TEMPORARY, mn as TEMPORARY_TOOLTIP, hn as TOTAL_LENGTH, gn as TOUCH_NAVIGATION_DESCRIPTION, _n as TOUCH_NAVIGATION_TITLE, vn as TOUCH_SELECT, yn as TOUCH_ZOOM, bn as TRY_AGAIN, xn as UNDO, Sn as UNITS, Cn as UPDATED, wn as VALUE, Tn as VERTICAL_AREA, En as VERTICAL_LENGTH, Dn as VISIBLE, On as VOLUME, kn as WIDGET_WINDOW_CLOSE, An as WIDGET_WINDOW_EXPAND, jn as WIDGET_WINDOW_MINIMIZE, Mn as X_COORDINATE, Nn as X_RAY, Pn as Y_COORDINATE, Fn as Z_COORDINATE, In as default };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { ViewDefinition
|
|
1
|
+
import { ViewDefinition } from '@cognite/sdk';
|
|
2
2
|
import { InstancesWithView, InstancesWithViewDefinition } from '../ui/query/useSearchMappedEquipmentFDM';
|
|
3
|
-
import { FdmCadConnection } from './cache/types';
|
|
3
|
+
import { CadNodeIdData, FdmCadConnection } from './cache/types';
|
|
4
4
|
import { InstanceFilter, NodeItem, Source, DmsUniqueIdentifier } from './FdmSDK';
|
|
5
5
|
import { Classic3DResourceIdentifier, ThreeDResourceIdentifier } from './types/resources';
|
|
6
6
|
export type Fdm3dDataProvider = {
|
|
7
7
|
is3dView: (view: ViewDefinition) => boolean;
|
|
8
8
|
getDMSModels: (modelId: number) => Promise<DmsUniqueIdentifier[]>;
|
|
9
9
|
getEdgeConnected3dInstances: (instance: DmsUniqueIdentifier) => Promise<DmsUniqueIdentifier[]>;
|
|
10
|
-
getFdmConnectionsForNodes: (models: DmsUniqueIdentifier[], revisionId: number, nodes:
|
|
10
|
+
getFdmConnectionsForNodes: (models: DmsUniqueIdentifier[], revisionId: number, nodes: CadNodeIdData[]) => Promise<FdmCadConnection[]>;
|
|
11
11
|
listMappedFdmNodes: (models: ThreeDResourceIdentifier[], sourcesToSearch: ViewDefinition[], instancesFilter: InstanceFilter | undefined, limit: number) => Promise<NodeItem[]>;
|
|
12
12
|
listAllMappedFdmNodes: (models: ThreeDResourceIdentifier[], sourcesToSearch: Source[], instanceFilter: InstanceFilter | undefined) => Promise<NodeItem[]>;
|
|
13
13
|
filterNodesByMappedTo3d: (nodes: InstancesWithViewDefinition[], models: ThreeDResourceIdentifier[], includeIndirectRelations: boolean) => Promise<InstancesWithView[]>;
|
|
@@ -170,11 +170,19 @@ export declare class FdmSDK {
|
|
|
170
170
|
filterAllInstances<PropertiesType = Record<string, unknown>>(filter: InstanceFilter | undefined, instanceType: 'node', source: Source): Promise<{
|
|
171
171
|
instances: Array<FdmNode<PropertiesType>>;
|
|
172
172
|
}>;
|
|
173
|
+
/**
|
|
174
|
+
* Fetches the given instances, splitting the request into chunks that respect the
|
|
175
|
+
* `byids` endpoint's item limit ({@link BY_IDS_MAX_ITEMS_PER_REQUEST}) and running
|
|
176
|
+
* at most {@link BY_IDS_MAX_PARALLEL_REQUESTS} requests in parallel. The `typing`
|
|
177
|
+
* field is merged across chunks, since it only depends on the requested `sources`
|
|
178
|
+
* and is therefore expected to be identical for every chunk.
|
|
179
|
+
*/
|
|
173
180
|
getByExternalIds<PropertyType>(queries: Array<{
|
|
174
181
|
instanceType: InstanceType;
|
|
175
182
|
externalId: string;
|
|
176
183
|
space: string;
|
|
177
184
|
}>, sources?: Source[]): Promise<ExternalIdsResultList<PropertyType>>;
|
|
185
|
+
private fetchByExternalIds;
|
|
178
186
|
createInstance<PropertyType>(queries: Array<CreateInstanceItem<PropertyType>>): Promise<ExternalIdsResultList<PropertyType>>;
|
|
179
187
|
editInstance<PropertyType>(queries: Array<{
|
|
180
188
|
instanceType: InstanceType;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { mergeQueryResults as e } from "./utils/mergeQueryResult.js";
|
|
2
2
|
import { queryNodesAndEdges as t } from "./utils/queryNodesAndEdges.js";
|
|
3
|
+
import { chunk as n, merge as r } from "lodash-es";
|
|
3
4
|
//#region libs/shared/reveal-components/src/data-providers/FdmSDK.ts
|
|
4
|
-
var
|
|
5
|
+
var i = 1e3, a = 2, o = class {
|
|
5
6
|
_sdk;
|
|
6
7
|
_featureDataLoadPerformanceMetrics;
|
|
7
8
|
_byIdsEndpoint;
|
|
@@ -26,33 +27,33 @@ var n = class {
|
|
|
26
27
|
throw Error(`Failed to list views. Status: ${n.status}`);
|
|
27
28
|
}
|
|
28
29
|
async searchInstances(e, t, n) {
|
|
29
|
-
let
|
|
30
|
+
let r = l(n.filter), i = {
|
|
30
31
|
view: e,
|
|
31
32
|
query: n.query ?? "",
|
|
32
33
|
instanceType: t,
|
|
33
|
-
...n.filter === void 0 ? {} : { filter:
|
|
34
|
+
...n.filter === void 0 ? {} : { filter: r },
|
|
34
35
|
...n.operator === void 0 ? {} : { operator: n.operator },
|
|
35
36
|
limit: n.limit ?? 1e3
|
|
36
|
-
},
|
|
37
|
-
if (
|
|
38
|
-
throw Error(`Failed to search for instances. Status: ${
|
|
37
|
+
}, a = await this._sdk.post(this._searchEndpoint, { data: i });
|
|
38
|
+
if (a.status === 200) return s(e, a.data.items), { instances: a.data.items };
|
|
39
|
+
throw Error(`Failed to search for instances. Status: ${a.status}`);
|
|
39
40
|
}
|
|
40
|
-
async filterInstances(e, t, n,
|
|
41
|
-
let
|
|
41
|
+
async filterInstances(e, t, n, r) {
|
|
42
|
+
let i = {
|
|
42
43
|
filter: e,
|
|
43
44
|
instanceType: t
|
|
44
45
|
};
|
|
45
|
-
n !== null && (
|
|
46
|
-
let
|
|
47
|
-
if (
|
|
48
|
-
let
|
|
49
|
-
return
|
|
50
|
-
instances:
|
|
51
|
-
nextCursor:
|
|
46
|
+
n !== null && (i.sources = [{ source: n }]), r !== void 0 && (i.cursor = r);
|
|
47
|
+
let a = await this._sdk.post(this._listEndpoint, { data: i });
|
|
48
|
+
if (a.status !== 200) throw Error(`Failed to fetch instances. Status: ${a.status}`);
|
|
49
|
+
let o = a.data.items;
|
|
50
|
+
return s(n, o), {
|
|
51
|
+
instances: a.data.items,
|
|
52
|
+
nextCursor: a.data.nextCursor
|
|
52
53
|
};
|
|
53
54
|
}
|
|
54
55
|
async filterAllInstances(e, t, n) {
|
|
55
|
-
e =
|
|
56
|
+
e = l(e);
|
|
56
57
|
let r = await this.filterInstances(e, t, n);
|
|
57
58
|
for (; r.nextCursor !== void 0;) {
|
|
58
59
|
let i = await this.filterInstances(e, t, n, r.nextCursor);
|
|
@@ -65,6 +66,18 @@ var n = class {
|
|
|
65
66
|
}
|
|
66
67
|
async getByExternalIds(e, t) {
|
|
67
68
|
if (e.length === 0) return { items: [] };
|
|
69
|
+
let o = n(e, i), s = [];
|
|
70
|
+
for (let e of n(o, a)) {
|
|
71
|
+
let n = await Promise.all(e.map(async (e) => await this.fetchByExternalIds(e, t)));
|
|
72
|
+
s.push(...n);
|
|
73
|
+
}
|
|
74
|
+
let c = s.map((e) => e.typing).filter((e) => e !== void 0);
|
|
75
|
+
return {
|
|
76
|
+
items: s.flatMap((e) => e.items),
|
|
77
|
+
...c.length > 0 ? { typing: r({}, ...c) } : {}
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
async fetchByExternalIds(e, t) {
|
|
68
81
|
let n = {
|
|
69
82
|
items: e,
|
|
70
83
|
includeTyping: !0
|
|
@@ -135,7 +148,7 @@ var n = class {
|
|
|
135
148
|
return { items: a };
|
|
136
149
|
}
|
|
137
150
|
async queryNodesAndEdges(e, n) {
|
|
138
|
-
return await t(e, this._sdk,
|
|
151
|
+
return await t(e, this._sdk, c(this._featureDataLoadPerformanceMetrics, n?.metricsFeatureName));
|
|
139
152
|
}
|
|
140
153
|
async listDataModels() {
|
|
141
154
|
let e = await this._sdk.get(this._listDataModelsEndpoint, { params: {
|
|
@@ -146,7 +159,7 @@ var n = class {
|
|
|
146
159
|
throw Error(`Failed to fetch data models. Status: ${e.status}`);
|
|
147
160
|
}
|
|
148
161
|
};
|
|
149
|
-
function
|
|
162
|
+
function s(e, t) {
|
|
150
163
|
if (e === void 0) return;
|
|
151
164
|
let n = `${e.externalId}/${e.version}`;
|
|
152
165
|
t.forEach((t) => {
|
|
@@ -154,14 +167,14 @@ function r(e, t) {
|
|
|
154
167
|
r !== void 0 && Object.entries(r).reduce((e, [t, n]) => (e[t] = n, e), t.properties);
|
|
155
168
|
});
|
|
156
169
|
}
|
|
157
|
-
function
|
|
170
|
+
function c(e, t) {
|
|
158
171
|
if (e !== void 0 && t !== void 0) return { metrics: {
|
|
159
172
|
tracker: e,
|
|
160
173
|
featureName: t
|
|
161
174
|
} };
|
|
162
175
|
}
|
|
163
|
-
function
|
|
176
|
+
function l(e) {
|
|
164
177
|
return e !== void 0 && Object.keys(e).length === 0 ? void 0 : e;
|
|
165
178
|
}
|
|
166
179
|
//#endregion
|
|
167
|
-
export {
|
|
180
|
+
export { o as FdmSDK, l as makeSureNonEmptyFilterForRequest };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PickDeep } from 'type-fest';
|
|
2
|
+
import { Asset, CogniteClient, IdEither } from '@cognite/sdk';
|
|
3
|
+
import { InstanceReferenceKey } from '../../utilities';
|
|
4
|
+
import { ReadonlyEntityCache, createReadonlyEntityCache } from '../../utilities/cache/ReadonlyEntityCache';
|
|
5
|
+
export declare function createClassicAssetsCache(sdk: PickDeep<CogniteClient, 'assets.retrieve'>, dependencies?: {
|
|
6
|
+
createReadonlyEntityCache: typeof createReadonlyEntityCache<IdEither, Asset, InstanceReferenceKey>;
|
|
7
|
+
}): ReadonlyEntityCache<IdEither, Asset, InstanceReferenceKey>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { createInstanceReferenceKey as e } from "../../utilities/instanceIds/toKey.js";
|
|
2
|
+
import "../../utilities/index.js";
|
|
3
|
+
import { isDefined as t } from "../../utilities/isDefined.js";
|
|
4
|
+
import { createReadonlyEntityCache as n } from "../../utilities/cache/ReadonlyEntityCache.js";
|
|
5
|
+
//#region libs/shared/reveal-components/src/data-providers/assets/createClassicAssetsCache.ts
|
|
6
|
+
function r(r, i = { createReadonlyEntityCache: n }) {
|
|
7
|
+
let a = e;
|
|
8
|
+
return i.createReadonlyEntityCache(async (e) => {
|
|
9
|
+
if (e.length === 0) return Promise.resolve(/* @__PURE__ */ new Map());
|
|
10
|
+
let n = await r.assets.retrieve(e, { ignoreUnknownIds: !0 }), i = new Map(n.flatMap((e) => [[a({ id: e.id }), e], ...e.externalId === void 0 ? [] : [[a({ externalId: e.externalId }), e]]])), o = e.map(a);
|
|
11
|
+
return new Map(o.map((e) => {
|
|
12
|
+
let t = i.get(e);
|
|
13
|
+
return t === void 0 ? void 0 : [e, t];
|
|
14
|
+
}).filter(t));
|
|
15
|
+
}, a);
|
|
16
|
+
}
|
|
17
|
+
//#endregion
|
|
18
|
+
export { r as createClassicAssetsCache };
|