@itwin/frontend-devtools 4.0.0-dev.52 → 4.0.0-dev.54
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/lib/cjs/ClipboardUtilities.d.ts +8 -8
- package/lib/cjs/ClipboardUtilities.js +26 -26
- package/lib/cjs/FrontEndDevTools.d.ts +19 -19
- package/lib/cjs/FrontEndDevTools.js +221 -221
- package/lib/cjs/FrontEndDevTools.js.map +1 -1
- package/lib/cjs/effects/Convolution.d.ts +68 -68
- package/lib/cjs/effects/Convolution.js +148 -148
- package/lib/cjs/effects/Convolution.js.map +1 -1
- package/lib/cjs/effects/EffectTools.d.ts +33 -33
- package/lib/cjs/effects/EffectTools.js +67 -67
- package/lib/cjs/effects/EffectTools.js.map +1 -1
- package/lib/cjs/effects/Explosion.d.ts +12 -12
- package/lib/cjs/effects/Explosion.js +168 -168
- package/lib/cjs/effects/Explosion.js.map +1 -1
- package/lib/cjs/effects/FlipImage.d.ts +30 -30
- package/lib/cjs/effects/FlipImage.js +79 -79
- package/lib/cjs/effects/FlipImage.js.map +1 -1
- package/lib/cjs/effects/LensDistortion.d.ts +34 -34
- package/lib/cjs/effects/LensDistortion.js +88 -88
- package/lib/cjs/effects/LensDistortion.js.map +1 -1
- package/lib/cjs/effects/Random.d.ts +24 -24
- package/lib/cjs/effects/Random.js +49 -49
- package/lib/cjs/effects/Saturation.d.ts +30 -30
- package/lib/cjs/effects/Saturation.js +59 -59
- package/lib/cjs/effects/Saturation.js.map +1 -1
- package/lib/cjs/effects/Snow.d.ts +76 -76
- package/lib/cjs/effects/Snow.js +187 -187
- package/lib/cjs/effects/Snow.js.map +1 -1
- package/lib/cjs/effects/Vignette.d.ts +39 -39
- package/lib/cjs/effects/Vignette.js +79 -79
- package/lib/cjs/effects/Vignette.js.map +1 -1
- package/lib/cjs/frontend-devtools.d.ts +82 -82
- package/lib/cjs/frontend-devtools.js +102 -98
- package/lib/cjs/frontend-devtools.js.map +1 -1
- package/lib/cjs/tools/AnimationIntervalTool.d.ts +15 -15
- package/lib/cjs/tools/AnimationIntervalTool.js +30 -30
- package/lib/cjs/tools/AnimationIntervalTool.js.map +1 -1
- package/lib/cjs/tools/ChangeUnitsTool.d.ts +15 -15
- package/lib/cjs/tools/ChangeUnitsTool.js +41 -41
- package/lib/cjs/tools/ChangeUnitsTool.js.map +1 -1
- package/lib/cjs/tools/ClipTools.d.ts +67 -67
- package/lib/cjs/tools/ClipTools.js +161 -161
- package/lib/cjs/tools/ClipTools.js.map +1 -1
- package/lib/cjs/tools/DisplayStyleTools.d.ts +145 -145
- package/lib/cjs/tools/DisplayStyleTools.js +368 -368
- package/lib/cjs/tools/DisplayStyleTools.js.map +1 -1
- package/lib/cjs/tools/EmphasizeElementsTool.d.ts +60 -60
- package/lib/cjs/tools/EmphasizeElementsTool.js +154 -154
- package/lib/cjs/tools/EmphasizeElementsTool.js.map +1 -1
- package/lib/cjs/tools/FrustumDecoration.d.ts +57 -57
- package/lib/cjs/tools/FrustumDecoration.js +374 -374
- package/lib/cjs/tools/FrustumDecoration.js.map +1 -1
- package/lib/cjs/tools/InspectElementTool.d.ts +42 -42
- package/lib/cjs/tools/InspectElementTool.js +198 -198
- package/lib/cjs/tools/InspectElementTool.js.map +1 -1
- package/lib/cjs/tools/MapLayerTool.d.ts +264 -264
- package/lib/cjs/tools/MapLayerTool.js +507 -507
- package/lib/cjs/tools/MapLayerTool.js.map +1 -1
- package/lib/cjs/tools/MeasureTileLoadTime.d.ts +12 -12
- package/lib/cjs/tools/MeasureTileLoadTime.js +63 -63
- package/lib/cjs/tools/MeasureTileLoadTime.js.map +1 -1
- package/lib/cjs/tools/ModelAppearanceTools.d.ts +86 -86
- package/lib/cjs/tools/ModelAppearanceTools.js +183 -183
- package/lib/cjs/tools/ModelAppearanceTools.js.map +1 -1
- package/lib/cjs/tools/PlanProjectionTools.d.ts +40 -40
- package/lib/cjs/tools/PlanProjectionTools.js +149 -149
- package/lib/cjs/tools/PlanProjectionTools.js.map +1 -1
- package/lib/cjs/tools/PlanarMaskTools.d.ts +182 -182
- package/lib/cjs/tools/PlanarMaskTools.js +391 -391
- package/lib/cjs/tools/PlanarMaskTools.js.map +1 -1
- package/lib/cjs/tools/ProjectExtents.d.ts +41 -41
- package/lib/cjs/tools/ProjectExtents.js +110 -110
- package/lib/cjs/tools/ProjectExtents.js.map +1 -1
- package/lib/cjs/tools/RealityModelTools.d.ts +116 -116
- package/lib/cjs/tools/RealityModelTools.js +281 -281
- package/lib/cjs/tools/RealityModelTools.js.map +1 -1
- package/lib/cjs/tools/RealityTransitionTool.d.ts +25 -25
- package/lib/cjs/tools/RealityTransitionTool.js +115 -115
- package/lib/cjs/tools/RealityTransitionTool.js.map +1 -1
- package/lib/cjs/tools/RenderSystemTools.d.ts +38 -38
- package/lib/cjs/tools/RenderSystemTools.js +69 -69
- package/lib/cjs/tools/RenderSystemTools.js.map +1 -1
- package/lib/cjs/tools/RenderTargetTools.d.ts +107 -107
- package/lib/cjs/tools/RenderTargetTools.d.ts.map +1 -1
- package/lib/cjs/tools/RenderTargetTools.js +174 -174
- package/lib/cjs/tools/RenderTargetTools.js.map +1 -1
- package/lib/cjs/tools/ReportWebGLCompatibilityTool.d.ts +11 -11
- package/lib/cjs/tools/ReportWebGLCompatibilityTool.js +30 -30
- package/lib/cjs/tools/ReportWebGLCompatibilityTool.js.map +1 -1
- package/lib/cjs/tools/SavedViews.d.ts +46 -46
- package/lib/cjs/tools/SavedViews.js +136 -136
- package/lib/cjs/tools/SavedViews.js.map +1 -1
- package/lib/cjs/tools/ScheduleScriptTools.d.ts +37 -37
- package/lib/cjs/tools/ScheduleScriptTools.js +157 -157
- package/lib/cjs/tools/ScheduleScriptTools.js.map +1 -1
- package/lib/cjs/tools/SelectionTools.d.ts +28 -28
- package/lib/cjs/tools/SelectionTools.js +87 -87
- package/lib/cjs/tools/SelectionTools.js.map +1 -1
- package/lib/cjs/tools/SetGpuMemoryLimitTool.d.ts +15 -15
- package/lib/cjs/tools/SetGpuMemoryLimitTool.js +33 -33
- package/lib/cjs/tools/SetGpuMemoryLimitTool.js.map +1 -1
- package/lib/cjs/tools/SourceAspectIdTools.d.ts +40 -40
- package/lib/cjs/tools/SourceAspectIdTools.js +86 -86
- package/lib/cjs/tools/SourceAspectIdTools.js.map +1 -1
- package/lib/cjs/tools/TileRequestDecoration.d.ts +12 -12
- package/lib/cjs/tools/TileRequestDecoration.js +83 -83
- package/lib/cjs/tools/TileRequestDecoration.js.map +1 -1
- package/lib/cjs/tools/TileTreeBoundsDecoration.d.ts +11 -11
- package/lib/cjs/tools/TileTreeBoundsDecoration.js +74 -74
- package/lib/cjs/tools/TileTreeBoundsDecoration.js.map +1 -1
- package/lib/cjs/tools/ToolTipProvider.d.ts +15 -15
- package/lib/cjs/tools/ToolTipProvider.js +66 -66
- package/lib/cjs/tools/ToolTipProvider.js.map +1 -1
- package/lib/cjs/tools/ViewportTools.d.ts +218 -218
- package/lib/cjs/tools/ViewportTools.js +516 -516
- package/lib/cjs/tools/ViewportTools.js.map +1 -1
- package/lib/cjs/tools/parseArgs.d.ts +23 -23
- package/lib/cjs/tools/parseArgs.js +51 -51
- package/lib/cjs/tools/parseBoolean.d.ts +8 -8
- package/lib/cjs/tools/parseBoolean.js +26 -26
- package/lib/cjs/tools/parseToggle.d.ts +8 -8
- package/lib/cjs/tools/parseToggle.js +25 -25
- package/lib/cjs/ui/Button.d.ts +29 -29
- package/lib/cjs/ui/Button.d.ts.map +1 -1
- package/lib/cjs/ui/Button.js +26 -26
- package/lib/cjs/ui/CheckBox.d.ts +23 -23
- package/lib/cjs/ui/CheckBox.d.ts.map +1 -1
- package/lib/cjs/ui/CheckBox.js +27 -27
- package/lib/cjs/ui/ColorInput.d.ts +27 -27
- package/lib/cjs/ui/ColorInput.d.ts.map +1 -1
- package/lib/cjs/ui/ColorInput.js +53 -53
- package/lib/cjs/ui/ComboBox.d.ts +28 -28
- package/lib/cjs/ui/ComboBox.d.ts.map +1 -1
- package/lib/cjs/ui/ComboBox.js +42 -42
- package/lib/cjs/ui/DataList.d.ts +27 -27
- package/lib/cjs/ui/DataList.d.ts.map +1 -1
- package/lib/cjs/ui/DataList.js +39 -39
- package/lib/cjs/ui/NestedMenu.d.ts +19 -19
- package/lib/cjs/ui/NestedMenu.d.ts.map +1 -1
- package/lib/cjs/ui/NestedMenu.js +46 -46
- package/lib/cjs/ui/NumericInput.d.ts +35 -35
- package/lib/cjs/ui/NumericInput.d.ts.map +1 -1
- package/lib/cjs/ui/NumericInput.js +61 -61
- package/lib/cjs/ui/RadioBox.d.ts +29 -29
- package/lib/cjs/ui/RadioBox.d.ts.map +1 -1
- package/lib/cjs/ui/RadioBox.js +76 -76
- package/lib/cjs/ui/Slider.d.ts +28 -28
- package/lib/cjs/ui/Slider.d.ts.map +1 -1
- package/lib/cjs/ui/Slider.js +42 -42
- package/lib/cjs/ui/TextBox.d.ts +32 -32
- package/lib/cjs/ui/TextBox.d.ts.map +1 -1
- package/lib/cjs/ui/TextBox.js +56 -56
- package/lib/cjs/widgets/DiagnosticsPanel.d.ts +37 -37
- package/lib/cjs/widgets/DiagnosticsPanel.js +81 -81
- package/lib/cjs/widgets/FpsTracker.d.ts +19 -19
- package/lib/cjs/widgets/FpsTracker.js +56 -56
- package/lib/cjs/widgets/GpuProfiler.d.ts +16 -16
- package/lib/cjs/widgets/GpuProfiler.js +192 -192
- package/lib/cjs/widgets/KeyinField.d.ts +61 -61
- package/lib/cjs/widgets/KeyinField.js +186 -186
- package/lib/cjs/widgets/MemoryTracker.d.ts +27 -27
- package/lib/cjs/widgets/MemoryTracker.js +242 -242
- package/lib/cjs/widgets/MemoryTracker.js.map +1 -1
- package/lib/cjs/widgets/RenderCommandBreakdown.d.ts +15 -15
- package/lib/cjs/widgets/RenderCommandBreakdown.js +67 -67
- package/lib/cjs/widgets/TileMemoryBreakdown.d.ts +30 -30
- package/lib/cjs/widgets/TileMemoryBreakdown.js +203 -203
- package/lib/cjs/widgets/TileStatisticsTracker.d.ts +21 -21
- package/lib/cjs/widgets/TileStatisticsTracker.js +144 -144
- package/lib/cjs/widgets/ToolSettingsTracker.d.ts +9 -9
- package/lib/cjs/widgets/ToolSettingsTracker.js +211 -211
- package/lib/cjs/widgets/ToolSettingsTracker.js.map +1 -1
- package/lib/esm/ClipboardUtilities.d.ts +8 -8
- package/lib/esm/ClipboardUtilities.js +22 -22
- package/lib/esm/FrontEndDevTools.d.ts +19 -19
- package/lib/esm/FrontEndDevTools.js +218 -217
- package/lib/esm/FrontEndDevTools.js.map +1 -1
- package/lib/esm/effects/Convolution.d.ts +68 -68
- package/lib/esm/effects/Convolution.js +144 -138
- package/lib/esm/effects/Convolution.js.map +1 -1
- package/lib/esm/effects/EffectTools.d.ts +33 -33
- package/lib/esm/effects/EffectTools.js +63 -61
- package/lib/esm/effects/EffectTools.js.map +1 -1
- package/lib/esm/effects/Explosion.d.ts +12 -12
- package/lib/esm/effects/Explosion.js +165 -164
- package/lib/esm/effects/Explosion.js.map +1 -1
- package/lib/esm/effects/FlipImage.d.ts +30 -30
- package/lib/esm/effects/FlipImage.js +76 -74
- package/lib/esm/effects/FlipImage.js.map +1 -1
- package/lib/esm/effects/LensDistortion.d.ts +34 -34
- package/lib/esm/effects/LensDistortion.js +85 -83
- package/lib/esm/effects/LensDistortion.js.map +1 -1
- package/lib/esm/effects/Random.d.ts +24 -24
- package/lib/esm/effects/Random.js +41 -41
- package/lib/esm/effects/Saturation.d.ts +30 -30
- package/lib/esm/effects/Saturation.js +56 -54
- package/lib/esm/effects/Saturation.js.map +1 -1
- package/lib/esm/effects/Snow.d.ts +76 -76
- package/lib/esm/effects/Snow.js +184 -182
- package/lib/esm/effects/Snow.js.map +1 -1
- package/lib/esm/effects/Vignette.d.ts +39 -39
- package/lib/esm/effects/Vignette.js +76 -74
- package/lib/esm/effects/Vignette.js.map +1 -1
- package/lib/esm/frontend-devtools.d.ts +82 -82
- package/lib/esm/frontend-devtools.js +86 -86
- package/lib/esm/tools/AnimationIntervalTool.d.ts +15 -15
- package/lib/esm/tools/AnimationIntervalTool.js +27 -26
- package/lib/esm/tools/AnimationIntervalTool.js.map +1 -1
- package/lib/esm/tools/ChangeUnitsTool.d.ts +15 -15
- package/lib/esm/tools/ChangeUnitsTool.js +38 -37
- package/lib/esm/tools/ChangeUnitsTool.js.map +1 -1
- package/lib/esm/tools/ClipTools.d.ts +67 -67
- package/lib/esm/tools/ClipTools.js +158 -155
- package/lib/esm/tools/ClipTools.js.map +1 -1
- package/lib/esm/tools/DisplayStyleTools.d.ts +145 -145
- package/lib/esm/tools/DisplayStyleTools.js +364 -354
- package/lib/esm/tools/DisplayStyleTools.js.map +1 -1
- package/lib/esm/tools/EmphasizeElementsTool.d.ts +60 -60
- package/lib/esm/tools/EmphasizeElementsTool.js +150 -145
- package/lib/esm/tools/EmphasizeElementsTool.js.map +1 -1
- package/lib/esm/tools/FrustumDecoration.d.ts +57 -57
- package/lib/esm/tools/FrustumDecoration.js +370 -367
- package/lib/esm/tools/FrustumDecoration.js.map +1 -1
- package/lib/esm/tools/InspectElementTool.d.ts +42 -42
- package/lib/esm/tools/InspectElementTool.js +195 -194
- package/lib/esm/tools/InspectElementTool.js.map +1 -1
- package/lib/esm/tools/MapLayerTool.d.ts +264 -264
- package/lib/esm/tools/MapLayerTool.js +504 -485
- package/lib/esm/tools/MapLayerTool.js.map +1 -1
- package/lib/esm/tools/MeasureTileLoadTime.d.ts +12 -12
- package/lib/esm/tools/MeasureTileLoadTime.js +60 -59
- package/lib/esm/tools/MeasureTileLoadTime.js.map +1 -1
- package/lib/esm/tools/ModelAppearanceTools.d.ts +86 -86
- package/lib/esm/tools/ModelAppearanceTools.js +180 -172
- package/lib/esm/tools/ModelAppearanceTools.js.map +1 -1
- package/lib/esm/tools/PlanProjectionTools.d.ts +40 -40
- package/lib/esm/tools/PlanProjectionTools.js +146 -143
- package/lib/esm/tools/PlanProjectionTools.js.map +1 -1
- package/lib/esm/tools/PlanarMaskTools.d.ts +182 -182
- package/lib/esm/tools/PlanarMaskTools.js +387 -375
- package/lib/esm/tools/PlanarMaskTools.js.map +1 -1
- package/lib/esm/tools/ProjectExtents.d.ts +41 -41
- package/lib/esm/tools/ProjectExtents.js +105 -104
- package/lib/esm/tools/ProjectExtents.js.map +1 -1
- package/lib/esm/tools/RealityModelTools.d.ts +116 -116
- package/lib/esm/tools/RealityModelTools.js +278 -268
- package/lib/esm/tools/RealityModelTools.js.map +1 -1
- package/lib/esm/tools/RealityTransitionTool.d.ts +25 -25
- package/lib/esm/tools/RealityTransitionTool.js +112 -111
- package/lib/esm/tools/RealityTransitionTool.js.map +1 -1
- package/lib/esm/tools/RenderSystemTools.d.ts +38 -38
- package/lib/esm/tools/RenderSystemTools.js +65 -62
- package/lib/esm/tools/RenderSystemTools.js.map +1 -1
- package/lib/esm/tools/RenderTargetTools.d.ts +107 -107
- package/lib/esm/tools/RenderTargetTools.d.ts.map +1 -1
- package/lib/esm/tools/RenderTargetTools.js +169 -159
- package/lib/esm/tools/RenderTargetTools.js.map +1 -1
- package/lib/esm/tools/ReportWebGLCompatibilityTool.d.ts +11 -11
- package/lib/esm/tools/ReportWebGLCompatibilityTool.js +27 -26
- package/lib/esm/tools/ReportWebGLCompatibilityTool.js.map +1 -1
- package/lib/esm/tools/SavedViews.d.ts +46 -46
- package/lib/esm/tools/SavedViews.js +131 -128
- package/lib/esm/tools/SavedViews.js.map +1 -1
- package/lib/esm/tools/ScheduleScriptTools.d.ts +37 -37
- package/lib/esm/tools/ScheduleScriptTools.js +154 -151
- package/lib/esm/tools/ScheduleScriptTools.js.map +1 -1
- package/lib/esm/tools/SelectionTools.d.ts +28 -28
- package/lib/esm/tools/SelectionTools.js +84 -82
- package/lib/esm/tools/SelectionTools.js.map +1 -1
- package/lib/esm/tools/SetGpuMemoryLimitTool.d.ts +15 -15
- package/lib/esm/tools/SetGpuMemoryLimitTool.js +30 -29
- package/lib/esm/tools/SetGpuMemoryLimitTool.js.map +1 -1
- package/lib/esm/tools/SourceAspectIdTools.d.ts +40 -40
- package/lib/esm/tools/SourceAspectIdTools.js +82 -80
- package/lib/esm/tools/SourceAspectIdTools.js.map +1 -1
- package/lib/esm/tools/TileRequestDecoration.d.ts +12 -12
- package/lib/esm/tools/TileRequestDecoration.js +80 -79
- package/lib/esm/tools/TileRequestDecoration.js.map +1 -1
- package/lib/esm/tools/TileTreeBoundsDecoration.d.ts +11 -11
- package/lib/esm/tools/TileTreeBoundsDecoration.js +71 -70
- package/lib/esm/tools/TileTreeBoundsDecoration.js.map +1 -1
- package/lib/esm/tools/ToolTipProvider.d.ts +15 -15
- package/lib/esm/tools/ToolTipProvider.js +63 -62
- package/lib/esm/tools/ToolTipProvider.js.map +1 -1
- package/lib/esm/tools/ViewportTools.d.ts +218 -218
- package/lib/esm/tools/ViewportTools.js +511 -492
- package/lib/esm/tools/ViewportTools.js.map +1 -1
- package/lib/esm/tools/parseArgs.d.ts +23 -23
- package/lib/esm/tools/parseArgs.js +47 -47
- package/lib/esm/tools/parseBoolean.d.ts +8 -8
- package/lib/esm/tools/parseBoolean.js +22 -22
- package/lib/esm/tools/parseToggle.d.ts +8 -8
- package/lib/esm/tools/parseToggle.js +21 -21
- package/lib/esm/ui/Button.d.ts +29 -29
- package/lib/esm/ui/Button.d.ts.map +1 -1
- package/lib/esm/ui/Button.js +22 -22
- package/lib/esm/ui/CheckBox.d.ts +23 -23
- package/lib/esm/ui/CheckBox.d.ts.map +1 -1
- package/lib/esm/ui/CheckBox.js +23 -23
- package/lib/esm/ui/ColorInput.d.ts +27 -27
- package/lib/esm/ui/ColorInput.d.ts.map +1 -1
- package/lib/esm/ui/ColorInput.js +48 -48
- package/lib/esm/ui/ComboBox.d.ts +28 -28
- package/lib/esm/ui/ComboBox.d.ts.map +1 -1
- package/lib/esm/ui/ComboBox.js +38 -38
- package/lib/esm/ui/DataList.d.ts +27 -27
- package/lib/esm/ui/DataList.d.ts.map +1 -1
- package/lib/esm/ui/DataList.js +34 -34
- package/lib/esm/ui/NestedMenu.d.ts +19 -19
- package/lib/esm/ui/NestedMenu.d.ts.map +1 -1
- package/lib/esm/ui/NestedMenu.js +42 -42
- package/lib/esm/ui/NumericInput.d.ts +35 -35
- package/lib/esm/ui/NumericInput.d.ts.map +1 -1
- package/lib/esm/ui/NumericInput.js +56 -56
- package/lib/esm/ui/RadioBox.d.ts +29 -29
- package/lib/esm/ui/RadioBox.d.ts.map +1 -1
- package/lib/esm/ui/RadioBox.js +72 -72
- package/lib/esm/ui/Slider.d.ts +28 -28
- package/lib/esm/ui/Slider.d.ts.map +1 -1
- package/lib/esm/ui/Slider.js +38 -38
- package/lib/esm/ui/TextBox.d.ts +32 -32
- package/lib/esm/ui/TextBox.d.ts.map +1 -1
- package/lib/esm/ui/TextBox.js +52 -52
- package/lib/esm/widgets/DiagnosticsPanel.d.ts +37 -37
- package/lib/esm/widgets/DiagnosticsPanel.js +77 -77
- package/lib/esm/widgets/FpsTracker.d.ts +19 -19
- package/lib/esm/widgets/FpsTracker.js +52 -52
- package/lib/esm/widgets/GpuProfiler.d.ts +16 -16
- package/lib/esm/widgets/GpuProfiler.js +188 -188
- package/lib/esm/widgets/KeyinField.d.ts +61 -61
- package/lib/esm/widgets/KeyinField.js +182 -182
- package/lib/esm/widgets/MemoryTracker.d.ts +27 -27
- package/lib/esm/widgets/MemoryTracker.js +237 -237
- package/lib/esm/widgets/MemoryTracker.js.map +1 -1
- package/lib/esm/widgets/RenderCommandBreakdown.d.ts +15 -15
- package/lib/esm/widgets/RenderCommandBreakdown.js +63 -63
- package/lib/esm/widgets/TileMemoryBreakdown.d.ts +30 -30
- package/lib/esm/widgets/TileMemoryBreakdown.js +199 -199
- package/lib/esm/widgets/TileStatisticsTracker.d.ts +21 -21
- package/lib/esm/widgets/TileStatisticsTracker.js +140 -140
- package/lib/esm/widgets/ToolSettingsTracker.d.ts +9 -9
- package/lib/esm/widgets/ToolSettingsTracker.js +208 -207
- package/lib/esm/widgets/ToolSettingsTracker.js.map +1 -1
- package/package.json +8 -8
|
@@ -1,145 +1,145 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*---------------------------------------------------------------------------------------------
|
|
3
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
4
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
5
|
-
*--------------------------------------------------------------------------------------------*/
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.TileStatisticsTracker = void 0;
|
|
8
|
-
/** @packageDocumentation
|
|
9
|
-
* @module Widgets
|
|
10
|
-
*/
|
|
11
|
-
const core_frontend_1 = require("@itwin/core-frontend");
|
|
12
|
-
const Button_1 = require("../ui/Button");
|
|
13
|
-
const CheckBox_1 = require("../ui/CheckBox");
|
|
14
|
-
const NumericInput_1 = require("../ui/NumericInput");
|
|
15
|
-
function computeProgress(vp) {
|
|
16
|
-
const ready = vp.numReadyTiles;
|
|
17
|
-
const requested = vp.numRequestedTiles;
|
|
18
|
-
const total = ready + requested;
|
|
19
|
-
const ratio = (total > 0) ? (ready / total) : 1.0;
|
|
20
|
-
return Math.round(ratio * 100);
|
|
21
|
-
}
|
|
22
|
-
const statEntries = [
|
|
23
|
-
{ getValue: (stats, vp) => stats.numActiveRequests + (core_frontend_1.IModelApp.tileAdmin.getTilesForUser(vp)?.external.requested ?? 0), label: "Active" },
|
|
24
|
-
{ getValue: (stats, _vp) => stats.numPendingRequests, label: "Pending" },
|
|
25
|
-
{ getValue: (stats, _vp) => stats.numCanceled, label: "Canceled" },
|
|
26
|
-
{ getValue: (stats, _vp) => stats.numActiveRequests + stats.numPendingRequests, label: "Total" },
|
|
27
|
-
{ getValue: (_stats, vp) => vp.numSelectedTiles, label: "Selected" },
|
|
28
|
-
{ getValue: (_stats, vp) => vp.numReadyTiles, label: "Ready" },
|
|
29
|
-
{ getValue: (_stats, vp) => computeProgress(vp), label: "Progress" },
|
|
30
|
-
{ getValue: (stats, _vp) => stats.totalCompletedRequests, label: "Completed" },
|
|
31
|
-
{ getValue: (stats, _vp) => stats.totalTimedOutRequests, label: "Timed Out" },
|
|
32
|
-
{ getValue: (stats, _vp) => stats.totalFailedRequests, label: "Failed" },
|
|
33
|
-
{ getValue: (stats, _vp) => stats.totalEmptyTiles, label: "Empty" },
|
|
34
|
-
{ getValue: (stats, _vp) => stats.totalUndisplayableTiles, label: "Undisplayable" },
|
|
35
|
-
{ getValue: (stats, _vp) => stats.totalElidedTiles, label: "Elided" },
|
|
36
|
-
{ getValue: (stats, _vp) => stats.totalCacheMisses, label: "Cache Misses" },
|
|
37
|
-
{ getValue: (stats, _vp) => stats.totalDispatchedRequests, label: "Dispatched" },
|
|
38
|
-
{ getValue: (stats, _vp) => stats.totalAbortedRequests, label: "Aborted" },
|
|
39
|
-
{ getValue: (stats) => Math.round(stats.decoding.mean), label: "Decoding mean time (ms)" },
|
|
40
|
-
{ getValue: (stats) => stats.decoding.max, label: "Decoding max time (ms)" },
|
|
41
|
-
];
|
|
42
|
-
const indexOfFirstGlobalStatistic = 7; // "Completed"
|
|
43
|
-
/** Outputs statistics related to tile requests including the current number of active, pending, selected, and ready tile requests; as well as cumulative statistics for the session including the number of failed, timed-out, empty, and elided tile requests.
|
|
44
|
-
* @beta
|
|
45
|
-
*/
|
|
46
|
-
class TileStatisticsTracker {
|
|
47
|
-
constructor(parent, vp) {
|
|
48
|
-
this._statElements = [];
|
|
49
|
-
this._vp = vp;
|
|
50
|
-
this.addMaxActive(parent);
|
|
51
|
-
(0, CheckBox_1.createCheckBox)({
|
|
52
|
-
parent,
|
|
53
|
-
name: "Track Tile Requests",
|
|
54
|
-
id: "stats_trackMemory",
|
|
55
|
-
handler: (_cb) => this.toggle(),
|
|
56
|
-
});
|
|
57
|
-
this._div = document.createElement("div");
|
|
58
|
-
this._div.style.display = "none";
|
|
59
|
-
this._div.style.textAlign = "right";
|
|
60
|
-
const table = document.createElement("table");
|
|
61
|
-
table.style.width = "100%";
|
|
62
|
-
table.setAttribute("border", "1");
|
|
63
|
-
this._div.appendChild(table);
|
|
64
|
-
const row = document.createElement("tr");
|
|
65
|
-
const frameColumn = document.createElement("td");
|
|
66
|
-
const globalColumn = document.createElement("td");
|
|
67
|
-
frameColumn.style.width = globalColumn.style.width = "50%";
|
|
68
|
-
row.appendChild(frameColumn);
|
|
69
|
-
row.appendChild(globalColumn);
|
|
70
|
-
table.appendChild(row);
|
|
71
|
-
for (let i = 0; i < statEntries.length; i++) {
|
|
72
|
-
const div = document.createElement("div");
|
|
73
|
-
const elem = document.createElement("text");
|
|
74
|
-
this._statElements[i] = elem;
|
|
75
|
-
div.appendChild(elem);
|
|
76
|
-
const column = i >= indexOfFirstGlobalStatistic ? globalColumn : frameColumn;
|
|
77
|
-
column.appendChild(div);
|
|
78
|
-
}
|
|
79
|
-
const resetButton = (0, Button_1.createButton)({
|
|
80
|
-
parent: this._div,
|
|
81
|
-
value: "Reset",
|
|
82
|
-
tooltip: "Reset all cumulative statistics",
|
|
83
|
-
handler: () => this.reset(),
|
|
84
|
-
});
|
|
85
|
-
resetButton.div.style.textAlign = "center";
|
|
86
|
-
parent.appendChild(this._div);
|
|
87
|
-
}
|
|
88
|
-
dispose() {
|
|
89
|
-
this.clearInterval();
|
|
90
|
-
}
|
|
91
|
-
addMaxActive(parent) {
|
|
92
|
-
const div = document.createElement("div");
|
|
93
|
-
const label = document.createElement("label");
|
|
94
|
-
label.style.display = "inline";
|
|
95
|
-
label.htmlFor = "maxActiveRequests";
|
|
96
|
-
label.innerText = "Max Active Requests: ";
|
|
97
|
-
div.appendChild(label);
|
|
98
|
-
(0, NumericInput_1.createNumericInput)({
|
|
99
|
-
parent: div,
|
|
100
|
-
id: "maxActiveRequests",
|
|
101
|
-
display: "inline",
|
|
102
|
-
min: 0,
|
|
103
|
-
step: 1,
|
|
104
|
-
value: core_frontend_1.IModelApp.tileAdmin.channels.rpcConcurrency,
|
|
105
|
-
handler: (value, _input) => this.updateMaxActive(value),
|
|
106
|
-
});
|
|
107
|
-
parent.appendChild(div);
|
|
108
|
-
}
|
|
109
|
-
updateMaxActive(value) {
|
|
110
|
-
core_frontend_1.IModelApp.tileAdmin.channels.setRpcConcurrency(value);
|
|
111
|
-
}
|
|
112
|
-
clearInterval() {
|
|
113
|
-
if (undefined !== this._curIntervalId) {
|
|
114
|
-
clearInterval(this._curIntervalId);
|
|
115
|
-
this._curIntervalId = undefined;
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
toggle() {
|
|
119
|
-
if (undefined !== this._curIntervalId) {
|
|
120
|
-
// Currently on - turn off.
|
|
121
|
-
this._div.style.display = "none";
|
|
122
|
-
this.clearInterval();
|
|
123
|
-
}
|
|
124
|
-
else {
|
|
125
|
-
// Currently off - turn on.
|
|
126
|
-
this._div.style.display = "block";
|
|
127
|
-
this.update();
|
|
128
|
-
this._curIntervalId = setInterval(() => this.update(), 500);
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
update() {
|
|
132
|
-
const stats = core_frontend_1.IModelApp.tileAdmin.statistics;
|
|
133
|
-
for (let i = 0; i < statEntries.length; i++) {
|
|
134
|
-
const stat = statEntries[i];
|
|
135
|
-
const label = `${stat.label}: ${stat.getValue(stats, this._vp)}`;
|
|
136
|
-
this._statElements[i].innerText = label;
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
reset() {
|
|
140
|
-
core_frontend_1.IModelApp.tileAdmin.resetStatistics();
|
|
141
|
-
this.update();
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
exports.TileStatisticsTracker = TileStatisticsTracker;
|
|
1
|
+
"use strict";
|
|
2
|
+
/*---------------------------------------------------------------------------------------------
|
|
3
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
4
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
5
|
+
*--------------------------------------------------------------------------------------------*/
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.TileStatisticsTracker = void 0;
|
|
8
|
+
/** @packageDocumentation
|
|
9
|
+
* @module Widgets
|
|
10
|
+
*/
|
|
11
|
+
const core_frontend_1 = require("@itwin/core-frontend");
|
|
12
|
+
const Button_1 = require("../ui/Button");
|
|
13
|
+
const CheckBox_1 = require("../ui/CheckBox");
|
|
14
|
+
const NumericInput_1 = require("../ui/NumericInput");
|
|
15
|
+
function computeProgress(vp) {
|
|
16
|
+
const ready = vp.numReadyTiles;
|
|
17
|
+
const requested = vp.numRequestedTiles;
|
|
18
|
+
const total = ready + requested;
|
|
19
|
+
const ratio = (total > 0) ? (ready / total) : 1.0;
|
|
20
|
+
return Math.round(ratio * 100);
|
|
21
|
+
}
|
|
22
|
+
const statEntries = [
|
|
23
|
+
{ getValue: (stats, vp) => stats.numActiveRequests + (core_frontend_1.IModelApp.tileAdmin.getTilesForUser(vp)?.external.requested ?? 0), label: "Active" },
|
|
24
|
+
{ getValue: (stats, _vp) => stats.numPendingRequests, label: "Pending" },
|
|
25
|
+
{ getValue: (stats, _vp) => stats.numCanceled, label: "Canceled" },
|
|
26
|
+
{ getValue: (stats, _vp) => stats.numActiveRequests + stats.numPendingRequests, label: "Total" },
|
|
27
|
+
{ getValue: (_stats, vp) => vp.numSelectedTiles, label: "Selected" },
|
|
28
|
+
{ getValue: (_stats, vp) => vp.numReadyTiles, label: "Ready" },
|
|
29
|
+
{ getValue: (_stats, vp) => computeProgress(vp), label: "Progress" },
|
|
30
|
+
{ getValue: (stats, _vp) => stats.totalCompletedRequests, label: "Completed" },
|
|
31
|
+
{ getValue: (stats, _vp) => stats.totalTimedOutRequests, label: "Timed Out" },
|
|
32
|
+
{ getValue: (stats, _vp) => stats.totalFailedRequests, label: "Failed" },
|
|
33
|
+
{ getValue: (stats, _vp) => stats.totalEmptyTiles, label: "Empty" },
|
|
34
|
+
{ getValue: (stats, _vp) => stats.totalUndisplayableTiles, label: "Undisplayable" },
|
|
35
|
+
{ getValue: (stats, _vp) => stats.totalElidedTiles, label: "Elided" },
|
|
36
|
+
{ getValue: (stats, _vp) => stats.totalCacheMisses, label: "Cache Misses" },
|
|
37
|
+
{ getValue: (stats, _vp) => stats.totalDispatchedRequests, label: "Dispatched" },
|
|
38
|
+
{ getValue: (stats, _vp) => stats.totalAbortedRequests, label: "Aborted" },
|
|
39
|
+
{ getValue: (stats) => Math.round(stats.decoding.mean), label: "Decoding mean time (ms)" },
|
|
40
|
+
{ getValue: (stats) => stats.decoding.max, label: "Decoding max time (ms)" },
|
|
41
|
+
];
|
|
42
|
+
const indexOfFirstGlobalStatistic = 7; // "Completed"
|
|
43
|
+
/** Outputs statistics related to tile requests including the current number of active, pending, selected, and ready tile requests; as well as cumulative statistics for the session including the number of failed, timed-out, empty, and elided tile requests.
|
|
44
|
+
* @beta
|
|
45
|
+
*/
|
|
46
|
+
class TileStatisticsTracker {
|
|
47
|
+
constructor(parent, vp) {
|
|
48
|
+
this._statElements = [];
|
|
49
|
+
this._vp = vp;
|
|
50
|
+
this.addMaxActive(parent);
|
|
51
|
+
(0, CheckBox_1.createCheckBox)({
|
|
52
|
+
parent,
|
|
53
|
+
name: "Track Tile Requests",
|
|
54
|
+
id: "stats_trackMemory",
|
|
55
|
+
handler: (_cb) => this.toggle(),
|
|
56
|
+
});
|
|
57
|
+
this._div = document.createElement("div");
|
|
58
|
+
this._div.style.display = "none";
|
|
59
|
+
this._div.style.textAlign = "right";
|
|
60
|
+
const table = document.createElement("table");
|
|
61
|
+
table.style.width = "100%";
|
|
62
|
+
table.setAttribute("border", "1");
|
|
63
|
+
this._div.appendChild(table);
|
|
64
|
+
const row = document.createElement("tr");
|
|
65
|
+
const frameColumn = document.createElement("td");
|
|
66
|
+
const globalColumn = document.createElement("td");
|
|
67
|
+
frameColumn.style.width = globalColumn.style.width = "50%";
|
|
68
|
+
row.appendChild(frameColumn);
|
|
69
|
+
row.appendChild(globalColumn);
|
|
70
|
+
table.appendChild(row);
|
|
71
|
+
for (let i = 0; i < statEntries.length; i++) {
|
|
72
|
+
const div = document.createElement("div");
|
|
73
|
+
const elem = document.createElement("text");
|
|
74
|
+
this._statElements[i] = elem;
|
|
75
|
+
div.appendChild(elem);
|
|
76
|
+
const column = i >= indexOfFirstGlobalStatistic ? globalColumn : frameColumn;
|
|
77
|
+
column.appendChild(div);
|
|
78
|
+
}
|
|
79
|
+
const resetButton = (0, Button_1.createButton)({
|
|
80
|
+
parent: this._div,
|
|
81
|
+
value: "Reset",
|
|
82
|
+
tooltip: "Reset all cumulative statistics",
|
|
83
|
+
handler: () => this.reset(),
|
|
84
|
+
});
|
|
85
|
+
resetButton.div.style.textAlign = "center";
|
|
86
|
+
parent.appendChild(this._div);
|
|
87
|
+
}
|
|
88
|
+
dispose() {
|
|
89
|
+
this.clearInterval();
|
|
90
|
+
}
|
|
91
|
+
addMaxActive(parent) {
|
|
92
|
+
const div = document.createElement("div");
|
|
93
|
+
const label = document.createElement("label");
|
|
94
|
+
label.style.display = "inline";
|
|
95
|
+
label.htmlFor = "maxActiveRequests";
|
|
96
|
+
label.innerText = "Max Active Requests: ";
|
|
97
|
+
div.appendChild(label);
|
|
98
|
+
(0, NumericInput_1.createNumericInput)({
|
|
99
|
+
parent: div,
|
|
100
|
+
id: "maxActiveRequests",
|
|
101
|
+
display: "inline",
|
|
102
|
+
min: 0,
|
|
103
|
+
step: 1,
|
|
104
|
+
value: core_frontend_1.IModelApp.tileAdmin.channels.rpcConcurrency,
|
|
105
|
+
handler: (value, _input) => this.updateMaxActive(value),
|
|
106
|
+
});
|
|
107
|
+
parent.appendChild(div);
|
|
108
|
+
}
|
|
109
|
+
updateMaxActive(value) {
|
|
110
|
+
core_frontend_1.IModelApp.tileAdmin.channels.setRpcConcurrency(value);
|
|
111
|
+
}
|
|
112
|
+
clearInterval() {
|
|
113
|
+
if (undefined !== this._curIntervalId) {
|
|
114
|
+
clearInterval(this._curIntervalId);
|
|
115
|
+
this._curIntervalId = undefined;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
toggle() {
|
|
119
|
+
if (undefined !== this._curIntervalId) {
|
|
120
|
+
// Currently on - turn off.
|
|
121
|
+
this._div.style.display = "none";
|
|
122
|
+
this.clearInterval();
|
|
123
|
+
}
|
|
124
|
+
else {
|
|
125
|
+
// Currently off - turn on.
|
|
126
|
+
this._div.style.display = "block";
|
|
127
|
+
this.update();
|
|
128
|
+
this._curIntervalId = setInterval(() => this.update(), 500);
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
update() {
|
|
132
|
+
const stats = core_frontend_1.IModelApp.tileAdmin.statistics;
|
|
133
|
+
for (let i = 0; i < statEntries.length; i++) {
|
|
134
|
+
const stat = statEntries[i];
|
|
135
|
+
const label = `${stat.label}: ${stat.getValue(stats, this._vp)}`;
|
|
136
|
+
this._statElements[i].innerText = label;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
reset() {
|
|
140
|
+
core_frontend_1.IModelApp.tileAdmin.resetStatistics();
|
|
141
|
+
this.update();
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
exports.TileStatisticsTracker = TileStatisticsTracker;
|
|
145
145
|
//# sourceMappingURL=TileStatisticsTracker.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Viewport } from "@itwin/core-frontend";
|
|
2
|
-
/** Allows the global settings controlling the behavior of viewing tools to be customized.
|
|
3
|
-
* @alpha
|
|
4
|
-
*/
|
|
5
|
-
export declare class ToolSettingsTracker {
|
|
6
|
-
private static _expandToolSettings;
|
|
7
|
-
constructor(parent: HTMLElement, _vp: Viewport);
|
|
8
|
-
dispose(): void;
|
|
9
|
-
}
|
|
1
|
+
import { Viewport } from "@itwin/core-frontend";
|
|
2
|
+
/** Allows the global settings controlling the behavior of viewing tools to be customized.
|
|
3
|
+
* @alpha
|
|
4
|
+
*/
|
|
5
|
+
export declare class ToolSettingsTracker {
|
|
6
|
+
private static _expandToolSettings;
|
|
7
|
+
constructor(parent: HTMLElement, _vp: Viewport);
|
|
8
|
+
dispose(): void;
|
|
9
|
+
}
|
|
10
10
|
//# sourceMappingURL=ToolSettingsTracker.d.ts.map
|