@itwin/core-frontend 3.2.0 → 3.3.0-dev.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (105) hide show
  1. package/lib/cjs/IModelApp.d.ts.map +1 -1
  2. package/lib/cjs/IModelApp.js +1 -1
  3. package/lib/cjs/IModelApp.js.map +1 -1
  4. package/lib/cjs/ViewRect.d.ts +5 -3
  5. package/lib/cjs/ViewRect.d.ts.map +1 -1
  6. package/lib/cjs/ViewRect.js +11 -7
  7. package/lib/cjs/ViewRect.js.map +1 -1
  8. package/lib/cjs/Viewport.d.ts +1 -1
  9. package/lib/cjs/Viewport.d.ts.map +1 -1
  10. package/lib/cjs/Viewport.js +2 -2
  11. package/lib/cjs/Viewport.js.map +1 -1
  12. package/lib/cjs/extension/ExtensionRuntime.js +178 -178
  13. package/lib/cjs/extension/ExtensionRuntime.js.map +1 -1
  14. package/lib/cjs/render/webgl/Target.d.ts +1 -1
  15. package/lib/cjs/render/webgl/Target.js +2 -2
  16. package/lib/cjs/render/webgl/Target.js.map +1 -1
  17. package/lib/cjs/tile/RealityModelTileTree.d.ts.map +1 -1
  18. package/lib/cjs/tile/RealityModelTileTree.js +2 -1
  19. package/lib/cjs/tile/RealityModelTileTree.js.map +1 -1
  20. package/lib/cjs/tile/map/CesiumTerrainProvider.js +6 -2
  21. package/lib/cjs/tile/map/CesiumTerrainProvider.js.map +1 -1
  22. package/lib/cjs/tile/map/ImageryProviders/ArcGISMapLayerImageryProvider.d.ts +1 -1
  23. package/lib/cjs/tile/map/ImageryProviders/ArcGISMapLayerImageryProvider.d.ts.map +1 -1
  24. package/lib/cjs/tile/map/ImageryProviders/ArcGISMapLayerImageryProvider.js +5 -2
  25. package/lib/cjs/tile/map/ImageryProviders/ArcGISMapLayerImageryProvider.js.map +1 -1
  26. package/lib/cjs/tile/map/ImageryProviders/AzureMapsLayerImageryProvider.d.ts +1 -1
  27. package/lib/cjs/tile/map/ImageryProviders/AzureMapsLayerImageryProvider.d.ts.map +1 -1
  28. package/lib/cjs/tile/map/ImageryProviders/AzureMapsLayerImageryProvider.js +5 -2
  29. package/lib/cjs/tile/map/ImageryProviders/AzureMapsLayerImageryProvider.js.map +1 -1
  30. package/lib/cjs/tile/map/ImageryProviders/BingImageryProvider.d.ts +1 -1
  31. package/lib/cjs/tile/map/ImageryProviders/BingImageryProvider.d.ts.map +1 -1
  32. package/lib/cjs/tile/map/ImageryProviders/BingImageryProvider.js +2 -2
  33. package/lib/cjs/tile/map/ImageryProviders/BingImageryProvider.js.map +1 -1
  34. package/lib/cjs/tile/map/ImageryProviders/MapBoxLayerImageryProvider.d.ts +1 -1
  35. package/lib/cjs/tile/map/ImageryProviders/MapBoxLayerImageryProvider.d.ts.map +1 -1
  36. package/lib/cjs/tile/map/ImageryProviders/MapBoxLayerImageryProvider.js +5 -2
  37. package/lib/cjs/tile/map/ImageryProviders/MapBoxLayerImageryProvider.js.map +1 -1
  38. package/lib/cjs/tile/map/ImageryTileTree.d.ts +2 -2
  39. package/lib/cjs/tile/map/ImageryTileTree.d.ts.map +1 -1
  40. package/lib/cjs/tile/map/ImageryTileTree.js +6 -2
  41. package/lib/cjs/tile/map/ImageryTileTree.js.map +1 -1
  42. package/lib/cjs/tile/map/MapLayerImageryProvider.d.ts +1 -1
  43. package/lib/cjs/tile/map/MapLayerImageryProvider.d.ts.map +1 -1
  44. package/lib/cjs/tile/map/MapLayerImageryProvider.js +1 -1
  45. package/lib/cjs/tile/map/MapLayerImageryProvider.js.map +1 -1
  46. package/lib/cjs/tile/map/MapTileTree.d.ts.map +1 -1
  47. package/lib/cjs/tile/map/MapTileTree.js +3 -5
  48. package/lib/cjs/tile/map/MapTileTree.js.map +1 -1
  49. package/lib/cjs/tile/map/TerrainMeshProvider.d.ts +2 -1
  50. package/lib/cjs/tile/map/TerrainMeshProvider.d.ts.map +1 -1
  51. package/lib/cjs/tile/map/TerrainMeshProvider.js +1 -1
  52. package/lib/cjs/tile/map/TerrainMeshProvider.js.map +1 -1
  53. package/lib/esm/IModelApp.d.ts.map +1 -1
  54. package/lib/esm/IModelApp.js +2 -2
  55. package/lib/esm/IModelApp.js.map +1 -1
  56. package/lib/esm/ViewRect.d.ts +5 -3
  57. package/lib/esm/ViewRect.d.ts.map +1 -1
  58. package/lib/esm/ViewRect.js +11 -7
  59. package/lib/esm/ViewRect.js.map +1 -1
  60. package/lib/esm/Viewport.d.ts +1 -1
  61. package/lib/esm/Viewport.d.ts.map +1 -1
  62. package/lib/esm/Viewport.js +2 -2
  63. package/lib/esm/Viewport.js.map +1 -1
  64. package/lib/esm/extension/ExtensionRuntime.js +181 -181
  65. package/lib/esm/extension/ExtensionRuntime.js.map +1 -1
  66. package/lib/esm/render/webgl/Target.d.ts +1 -1
  67. package/lib/esm/render/webgl/Target.js +2 -2
  68. package/lib/esm/render/webgl/Target.js.map +1 -1
  69. package/lib/esm/tile/RealityModelTileTree.d.ts.map +1 -1
  70. package/lib/esm/tile/RealityModelTileTree.js +2 -1
  71. package/lib/esm/tile/RealityModelTileTree.js.map +1 -1
  72. package/lib/esm/tile/map/CesiumTerrainProvider.js +6 -2
  73. package/lib/esm/tile/map/CesiumTerrainProvider.js.map +1 -1
  74. package/lib/esm/tile/map/ImageryProviders/ArcGISMapLayerImageryProvider.d.ts +1 -1
  75. package/lib/esm/tile/map/ImageryProviders/ArcGISMapLayerImageryProvider.d.ts.map +1 -1
  76. package/lib/esm/tile/map/ImageryProviders/ArcGISMapLayerImageryProvider.js +5 -2
  77. package/lib/esm/tile/map/ImageryProviders/ArcGISMapLayerImageryProvider.js.map +1 -1
  78. package/lib/esm/tile/map/ImageryProviders/AzureMapsLayerImageryProvider.d.ts +1 -1
  79. package/lib/esm/tile/map/ImageryProviders/AzureMapsLayerImageryProvider.d.ts.map +1 -1
  80. package/lib/esm/tile/map/ImageryProviders/AzureMapsLayerImageryProvider.js +5 -2
  81. package/lib/esm/tile/map/ImageryProviders/AzureMapsLayerImageryProvider.js.map +1 -1
  82. package/lib/esm/tile/map/ImageryProviders/BingImageryProvider.d.ts +1 -1
  83. package/lib/esm/tile/map/ImageryProviders/BingImageryProvider.d.ts.map +1 -1
  84. package/lib/esm/tile/map/ImageryProviders/BingImageryProvider.js +2 -2
  85. package/lib/esm/tile/map/ImageryProviders/BingImageryProvider.js.map +1 -1
  86. package/lib/esm/tile/map/ImageryProviders/MapBoxLayerImageryProvider.d.ts +1 -1
  87. package/lib/esm/tile/map/ImageryProviders/MapBoxLayerImageryProvider.d.ts.map +1 -1
  88. package/lib/esm/tile/map/ImageryProviders/MapBoxLayerImageryProvider.js +5 -2
  89. package/lib/esm/tile/map/ImageryProviders/MapBoxLayerImageryProvider.js.map +1 -1
  90. package/lib/esm/tile/map/ImageryTileTree.d.ts +2 -2
  91. package/lib/esm/tile/map/ImageryTileTree.d.ts.map +1 -1
  92. package/lib/esm/tile/map/ImageryTileTree.js +6 -2
  93. package/lib/esm/tile/map/ImageryTileTree.js.map +1 -1
  94. package/lib/esm/tile/map/MapLayerImageryProvider.d.ts +1 -1
  95. package/lib/esm/tile/map/MapLayerImageryProvider.d.ts.map +1 -1
  96. package/lib/esm/tile/map/MapLayerImageryProvider.js +1 -1
  97. package/lib/esm/tile/map/MapLayerImageryProvider.js.map +1 -1
  98. package/lib/esm/tile/map/MapTileTree.d.ts.map +1 -1
  99. package/lib/esm/tile/map/MapTileTree.js +3 -5
  100. package/lib/esm/tile/map/MapTileTree.js.map +1 -1
  101. package/lib/esm/tile/map/TerrainMeshProvider.d.ts +2 -1
  102. package/lib/esm/tile/map/TerrainMeshProvider.d.ts.map +1 -1
  103. package/lib/esm/tile/map/TerrainMeshProvider.js +1 -1
  104. package/lib/esm/tile/map/TerrainMeshProvider.js.map +1 -1
  105. package/package.json +20 -20
@@ -19,233 +19,233 @@ if (globalThis[globalSymbol])
19
19
  const core_frontend_1 = require("../core-frontend");
20
20
  const core_common_1 = require("@itwin/core-common");
21
21
  const extensionExports = {
22
- ContextRotationId: core_frontend_1.ContextRotationId,
23
- ACSType: core_frontend_1.ACSType,
24
22
  ACSDisplayOptions: core_frontend_1.ACSDisplayOptions,
25
- CoordSystem: core_frontend_1.CoordSystem,
26
- LocateAction: core_frontend_1.LocateAction,
27
- LocateFilterStatus: core_frontend_1.LocateFilterStatus,
28
- SnapStatus: core_frontend_1.SnapStatus,
29
- FlashMode: core_frontend_1.FlashMode,
30
- FrontendLoggerCategory: core_frontend_1.FrontendLoggerCategory,
31
- SnapMode: core_frontend_1.SnapMode,
32
- SnapHeat: core_frontend_1.SnapHeat,
33
- HitSource: core_frontend_1.HitSource,
34
- HitGeomType: core_frontend_1.HitGeomType,
35
- HitParentGeomType: core_frontend_1.HitParentGeomType,
36
- HitPriority: core_frontend_1.HitPriority,
37
- HitDetailType: core_frontend_1.HitDetailType,
38
- OutputMessageType: core_frontend_1.OutputMessageType,
39
- OutputMessagePriority: core_frontend_1.OutputMessagePriority,
40
- OutputMessageAlert: core_frontend_1.OutputMessageAlert,
41
- ActivityMessageEndReason: core_frontend_1.ActivityMessageEndReason,
42
- MessageBoxType: core_frontend_1.MessageBoxType,
43
- MessageBoxIconType: core_frontend_1.MessageBoxIconType,
44
- MessageBoxValue: core_frontend_1.MessageBoxValue,
45
- SelectionSetEventType: core_frontend_1.SelectionSetEventType,
46
- StandardViewId: core_frontend_1.StandardViewId,
47
- ViewStatus: core_frontend_1.ViewStatus,
48
- GraphicType: core_frontend_1.GraphicType,
49
- UniformType: core_frontend_1.UniformType,
50
- VaryingType: core_frontend_1.VaryingType,
51
- TileLoadStatus: core_frontend_1.TileLoadStatus,
52
- TileVisibility: core_frontend_1.TileVisibility,
53
- TileLoadPriority: core_frontend_1.TileLoadPriority,
54
- TileBoundingBoxes: core_frontend_1.TileBoundingBoxes,
55
- TileTreeLoadStatus: core_frontend_1.TileTreeLoadStatus,
56
- TileGraphicType: core_frontend_1.TileGraphicType,
57
- ClipEventType: core_frontend_1.ClipEventType,
58
- SelectionMethod: core_frontend_1.SelectionMethod,
59
- SelectionMode: core_frontend_1.SelectionMode,
60
- SelectionProcessing: core_frontend_1.SelectionProcessing,
61
- BeButton: core_frontend_1.BeButton,
62
- CoordinateLockOverrides: core_frontend_1.CoordinateLockOverrides,
63
- InputSource: core_frontend_1.InputSource,
64
- CoordSource: core_frontend_1.CoordSource,
65
- BeModifierKeys: core_frontend_1.BeModifierKeys,
66
- EventHandled: core_frontend_1.EventHandled,
67
- ParseAndRunResult: core_frontend_1.ParseAndRunResult,
68
- KeyinParseError: core_frontend_1.KeyinParseError,
69
- StartOrResume: core_frontend_1.StartOrResume,
70
- ManipulatorToolEvent: core_frontend_1.ManipulatorToolEvent,
71
- ToolAssistanceImage: core_frontend_1.ToolAssistanceImage,
72
- ToolAssistanceInputMethod: core_frontend_1.ToolAssistanceInputMethod,
23
+ ACSType: core_frontend_1.ACSType,
73
24
  AccuDrawHintBuilder: core_frontend_1.AccuDrawHintBuilder,
74
25
  AccuSnap: core_frontend_1.AccuSnap,
75
- AuxCoordSystemState: core_frontend_1.AuxCoordSystemState,
26
+ ActivityMessageDetails: core_frontend_1.ActivityMessageDetails,
27
+ ActivityMessageEndReason: core_frontend_1.ActivityMessageEndReason,
76
28
  AuxCoordSystem2dState: core_frontend_1.AuxCoordSystem2dState,
77
29
  AuxCoordSystem3dState: core_frontend_1.AuxCoordSystem3dState,
78
30
  AuxCoordSystemSpatialState: core_frontend_1.AuxCoordSystemSpatialState,
31
+ AuxCoordSystemState: core_frontend_1.AuxCoordSystemState,
32
+ BackgroundFill: core_common_1.BackgroundFill,
33
+ BackgroundMapType: core_common_1.BackgroundMapType,
34
+ BatchType: core_common_1.BatchType,
35
+ BeButton: core_frontend_1.BeButton,
36
+ BeButtonEvent: core_frontend_1.BeButtonEvent,
37
+ BeButtonState: core_frontend_1.BeButtonState,
38
+ BeModifierKeys: core_frontend_1.BeModifierKeys,
39
+ BeTouchEvent: core_frontend_1.BeTouchEvent,
40
+ BeWheelEvent: core_frontend_1.BeWheelEvent,
41
+ BingElevationProvider: core_frontend_1.BingElevationProvider,
79
42
  BingLocationProvider: core_frontend_1.BingLocationProvider,
43
+ BisCodeSpec: core_common_1.BisCodeSpec,
44
+ BriefcaseIdValue: core_common_1.BriefcaseIdValue,
80
45
  CategorySelectorState: core_frontend_1.CategorySelectorState,
81
46
  ChangeFlags: core_frontend_1.ChangeFlags,
47
+ ChangeOpCode: core_common_1.ChangeOpCode,
48
+ ChangedValueState: core_common_1.ChangedValueState,
49
+ ChangesetType: core_common_1.ChangesetType,
50
+ ClipEventType: core_frontend_1.ClipEventType,
51
+ Cluster: core_frontend_1.Cluster,
52
+ ColorByName: core_common_1.ColorByName,
53
+ ColorDef: core_common_1.ColorDef,
54
+ CommonLoggerCategory: core_common_1.CommonLoggerCategory,
82
55
  ContextRealityModelState: core_frontend_1.ContextRealityModelState,
83
- DisplayStyleState: core_frontend_1.DisplayStyleState,
56
+ ContextRotationId: core_frontend_1.ContextRotationId,
57
+ CoordSource: core_frontend_1.CoordSource,
58
+ CoordSystem: core_frontend_1.CoordSystem,
59
+ CoordinateLockOverrides: core_frontend_1.CoordinateLockOverrides,
60
+ Decorations: core_frontend_1.Decorations,
61
+ DisclosedTileTreeSet: core_frontend_1.DisclosedTileTreeSet,
84
62
  DisplayStyle2dState: core_frontend_1.DisplayStyle2dState,
85
63
  DisplayStyle3dState: core_frontend_1.DisplayStyle3dState,
64
+ DisplayStyleState: core_frontend_1.DisplayStyleState,
65
+ DrawingModelState: core_frontend_1.DrawingModelState,
86
66
  DrawingViewState: core_frontend_1.DrawingViewState,
87
- LocateOptions: core_frontend_1.LocateOptions,
88
- LocateResponse: core_frontend_1.LocateResponse,
89
- ElementPicker: core_frontend_1.ElementPicker,
67
+ ECSqlSystemProperty: core_common_1.ECSqlSystemProperty,
68
+ ECSqlValueType: core_common_1.ECSqlValueType,
69
+ EditManipulator: core_frontend_1.EditManipulator,
70
+ ElementGeometryOpcode: core_common_1.ElementGeometryOpcode,
90
71
  ElementLocateManager: core_frontend_1.ElementLocateManager,
72
+ ElementPicker: core_frontend_1.ElementPicker,
73
+ ElementState: core_frontend_1.ElementState,
91
74
  EmphasizeElements: core_frontend_1.EmphasizeElements,
92
75
  EntityState: core_frontend_1.EntityState,
93
- ElementState: core_frontend_1.ElementState,
76
+ EventController: core_frontend_1.EventController,
77
+ EventHandled: core_frontend_1.EventHandled,
78
+ FeatureOverrideType: core_common_1.FeatureOverrideType,
79
+ FeatureSymbology: core_frontend_1.FeatureSymbology,
80
+ FillDisplay: core_common_1.FillDisplay,
81
+ FillFlags: core_common_1.FillFlags,
82
+ FlashMode: core_frontend_1.FlashMode,
94
83
  FlashSettings: core_frontend_1.FlashSettings,
84
+ FontType: core_common_1.FontType,
85
+ FrontendLoggerCategory: core_frontend_1.FrontendLoggerCategory,
95
86
  FrustumAnimator: core_frontend_1.FrustumAnimator,
87
+ GeoCoordStatus: core_common_1.GeoCoordStatus,
88
+ GeometricModel2dState: core_frontend_1.GeometricModel2dState,
89
+ GeometricModel3dState: core_frontend_1.GeometricModel3dState,
90
+ GeometricModelState: core_frontend_1.GeometricModelState,
91
+ GeometryClass: core_common_1.GeometryClass,
92
+ GeometryStreamFlags: core_common_1.GeometryStreamFlags,
93
+ GeometrySummaryVerbosity: core_common_1.GeometrySummaryVerbosity,
96
94
  GlobeAnimator: core_frontend_1.GlobeAnimator,
95
+ GlobeMode: core_common_1.GlobeMode,
96
+ GraphicBranch: core_frontend_1.GraphicBranch,
97
+ GraphicBuilder: core_frontend_1.GraphicBuilder,
98
+ GraphicType: core_frontend_1.GraphicType,
99
+ GridOrientationType: core_common_1.GridOrientationType,
100
+ HSVConstants: core_common_1.HSVConstants,
101
+ HiliteSet: core_frontend_1.HiliteSet,
97
102
  HitDetail: core_frontend_1.HitDetail,
98
- SnapDetail: core_frontend_1.SnapDetail,
99
- IntersectDetail: core_frontend_1.IntersectDetail,
103
+ HitDetailType: core_frontend_1.HitDetailType,
104
+ HitGeomType: core_frontend_1.HitGeomType,
100
105
  HitList: core_frontend_1.HitList,
106
+ HitParentGeomType: core_frontend_1.HitParentGeomType,
107
+ HitPriority: core_frontend_1.HitPriority,
108
+ HitSource: core_frontend_1.HitSource,
101
109
  IModelConnection: core_frontend_1.IModelConnection,
102
- canvasToResizedCanvasWithBars: core_frontend_1.canvasToResizedCanvasWithBars,
103
- imageBufferToCanvas: core_frontend_1.imageBufferToCanvas,
104
- canvasToImageBuffer: core_frontend_1.canvasToImageBuffer,
105
- getImageSourceMimeType: core_frontend_1.getImageSourceMimeType,
106
- getImageSourceFormatForMimeType: core_frontend_1.getImageSourceFormatForMimeType,
107
- imageElementFromImageSource: core_frontend_1.imageElementFromImageSource,
108
- imageElementFromUrl: core_frontend_1.imageElementFromUrl,
109
- extractImageSourceDimensions: core_frontend_1.extractImageSourceDimensions,
110
- imageBufferToPngDataUrl: core_frontend_1.imageBufferToPngDataUrl,
111
- imageBufferToBase64EncodedPng: core_frontend_1.imageBufferToBase64EncodedPng,
112
- getCompressedJpegFromCanvas: core_frontend_1.getCompressedJpegFromCanvas,
113
- NotificationHandler: core_frontend_1.NotificationHandler,
110
+ IconSprites: core_frontend_1.IconSprites,
111
+ ImageBufferFormat: core_common_1.ImageBufferFormat,
112
+ ImageSourceFormat: core_common_1.ImageSourceFormat,
113
+ InputCollector: core_frontend_1.InputCollector,
114
+ InputSource: core_frontend_1.InputSource,
115
+ InteractiveTool: core_frontend_1.InteractiveTool,
116
+ IntersectDetail: core_frontend_1.IntersectDetail,
117
+ KeyinParseError: core_frontend_1.KeyinParseError,
118
+ LinePixels: core_common_1.LinePixels,
119
+ LocateAction: core_frontend_1.LocateAction,
120
+ LocateFilterStatus: core_frontend_1.LocateFilterStatus,
121
+ LocateOptions: core_frontend_1.LocateOptions,
122
+ LocateResponse: core_frontend_1.LocateResponse,
123
+ ManipulatorToolEvent: core_frontend_1.ManipulatorToolEvent,
114
124
  MarginPercent: core_frontend_1.MarginPercent,
115
125
  Marker: core_frontend_1.Marker,
116
- Cluster: core_frontend_1.Cluster,
117
126
  MarkerSet: core_frontend_1.MarkerSet,
127
+ MassPropertiesOperation: core_common_1.MassPropertiesOperation,
128
+ MessageBoxIconType: core_frontend_1.MessageBoxIconType,
129
+ MessageBoxType: core_frontend_1.MessageBoxType,
130
+ MessageBoxValue: core_frontend_1.MessageBoxValue,
118
131
  ModelSelectorState: core_frontend_1.ModelSelectorState,
119
132
  ModelState: core_frontend_1.ModelState,
120
- GeometricModelState: core_frontend_1.GeometricModelState,
121
- GeometricModel2dState: core_frontend_1.GeometricModel2dState,
122
- GeometricModel3dState: core_frontend_1.GeometricModel3dState,
123
- SheetModelState: core_frontend_1.SheetModelState,
124
- SpatialModelState: core_frontend_1.SpatialModelState,
125
- PhysicalModelState: core_frontend_1.PhysicalModelState,
126
- SpatialLocationModelState: core_frontend_1.SpatialLocationModelState,
127
- DrawingModelState: core_frontend_1.DrawingModelState,
128
- SectionDrawingModelState: core_frontend_1.SectionDrawingModelState,
129
- NotifyMessageDetails: core_frontend_1.NotifyMessageDetails,
130
- ActivityMessageDetails: core_frontend_1.ActivityMessageDetails,
133
+ MonochromeMode: core_common_1.MonochromeMode,
134
+ NotificationHandler: core_frontend_1.NotificationHandler,
131
135
  NotificationManager: core_frontend_1.NotificationManager,
132
- PerModelCategoryVisibility: core_frontend_1.PerModelCategoryVisibility,
133
- HiliteSet: core_frontend_1.HiliteSet,
134
- SelectionSet: core_frontend_1.SelectionSet,
135
- SheetViewState: core_frontend_1.SheetViewState,
136
- SpatialViewState: core_frontend_1.SpatialViewState,
136
+ NotifyMessageDetails: core_frontend_1.NotifyMessageDetails,
137
+ Npc: core_common_1.Npc,
137
138
  OrthographicViewState: core_frontend_1.OrthographicViewState,
138
- Sprite: core_frontend_1.Sprite,
139
- IconSprites: core_frontend_1.IconSprites,
140
- SpriteLocation: core_frontend_1.SpriteLocation,
141
- TentativePoint: core_frontend_1.TentativePoint,
142
- Tiles: core_frontend_1.Tiles,
143
- ViewCreator2d: core_frontend_1.ViewCreator2d,
144
- ViewCreator3d: core_frontend_1.ViewCreator3d,
145
- queryTerrainElevationOffset: core_frontend_1.queryTerrainElevationOffset,
146
- ViewManager: core_frontend_1.ViewManager,
147
- ViewPose: core_frontend_1.ViewPose,
148
- ViewRect: core_frontend_1.ViewRect,
149
- ViewState: core_frontend_1.ViewState,
150
- ViewState3d: core_frontend_1.ViewState3d,
151
- ViewState2d: core_frontend_1.ViewState2d,
152
- ViewingSpace: core_frontend_1.ViewingSpace,
153
- connectViewports: core_frontend_1.connectViewports,
154
- synchronizeViewportViews: core_frontend_1.synchronizeViewportViews,
155
- synchronizeViewportFrusta: core_frontend_1.synchronizeViewportFrusta,
156
- connectViewportFrusta: core_frontend_1.connectViewportFrusta,
157
- connectViewportViews: core_frontend_1.connectViewportViews,
158
- TwoWayViewportSync: core_frontend_1.TwoWayViewportSync,
159
- TwoWayViewportFrustumSync: core_frontend_1.TwoWayViewportFrustumSync,
160
- Decorations: core_frontend_1.Decorations,
161
- FeatureSymbology: core_frontend_1.FeatureSymbology,
162
- GraphicBranch: core_frontend_1.GraphicBranch,
163
- GraphicBuilder: core_frontend_1.GraphicBuilder,
139
+ OutputMessageAlert: core_frontend_1.OutputMessageAlert,
140
+ OutputMessagePriority: core_frontend_1.OutputMessagePriority,
141
+ OutputMessageType: core_frontend_1.OutputMessageType,
142
+ ParseAndRunResult: core_frontend_1.ParseAndRunResult,
143
+ PerModelCategoryVisibility: core_frontend_1.PerModelCategoryVisibility,
144
+ PhysicalModelState: core_frontend_1.PhysicalModelState,
164
145
  Pixel: core_frontend_1.Pixel,
146
+ PlanarClipMaskMode: core_common_1.PlanarClipMaskMode,
147
+ PlanarClipMaskPriority: core_common_1.PlanarClipMaskPriority,
148
+ PrimitiveTool: core_frontend_1.PrimitiveTool,
149
+ QueryRowFormat: core_common_1.QueryRowFormat,
150
+ Rank: core_common_1.Rank,
165
151
  RenderClipVolume: core_frontend_1.RenderClipVolume,
166
152
  RenderGraphic: core_frontend_1.RenderGraphic,
167
153
  RenderGraphicOwner: core_frontend_1.RenderGraphicOwner,
154
+ RenderMode: core_common_1.RenderMode,
168
155
  RenderSystem: core_frontend_1.RenderSystem,
169
156
  Scene: core_frontend_1.Scene,
170
- DisclosedTileTreeSet: core_frontend_1.DisclosedTileTreeSet,
171
- readElementGraphics: core_frontend_1.readElementGraphics,
157
+ SectionDrawingModelState: core_frontend_1.SectionDrawingModelState,
158
+ SectionType: core_common_1.SectionType,
159
+ SelectionMethod: core_frontend_1.SelectionMethod,
160
+ SelectionMode: core_frontend_1.SelectionMode,
161
+ SelectionProcessing: core_frontend_1.SelectionProcessing,
162
+ SelectionSet: core_frontend_1.SelectionSet,
163
+ SelectionSetEventType: core_frontend_1.SelectionSetEventType,
164
+ SheetModelState: core_frontend_1.SheetModelState,
165
+ SheetViewState: core_frontend_1.SheetViewState,
166
+ SkyBoxImageType: core_common_1.SkyBoxImageType,
167
+ SnapDetail: core_frontend_1.SnapDetail,
168
+ SnapHeat: core_frontend_1.SnapHeat,
169
+ SnapMode: core_frontend_1.SnapMode,
170
+ SnapStatus: core_frontend_1.SnapStatus,
171
+ SpatialClassifierInsideDisplay: core_common_1.SpatialClassifierInsideDisplay,
172
+ SpatialClassifierOutsideDisplay: core_common_1.SpatialClassifierOutsideDisplay,
173
+ SpatialLocationModelState: core_frontend_1.SpatialLocationModelState,
174
+ SpatialModelState: core_frontend_1.SpatialModelState,
175
+ SpatialViewState: core_frontend_1.SpatialViewState,
176
+ Sprite: core_frontend_1.Sprite,
177
+ SpriteLocation: core_frontend_1.SpriteLocation,
178
+ StandardViewId: core_frontend_1.StandardViewId,
179
+ StartOrResume: core_frontend_1.StartOrResume,
180
+ SyncMode: core_common_1.SyncMode,
181
+ TentativePoint: core_frontend_1.TentativePoint,
182
+ TerrainHeightOriginMode: core_common_1.TerrainHeightOriginMode,
183
+ TextureMapUnits: core_common_1.TextureMapUnits,
184
+ ThematicDisplayMode: core_common_1.ThematicDisplayMode,
185
+ ThematicGradientColorScheme: core_common_1.ThematicGradientColorScheme,
186
+ ThematicGradientMode: core_common_1.ThematicGradientMode,
172
187
  Tile: core_frontend_1.Tile,
173
188
  TileAdmin: core_frontend_1.TileAdmin,
189
+ TileBoundingBoxes: core_frontend_1.TileBoundingBoxes,
174
190
  TileDrawArgs: core_frontend_1.TileDrawArgs,
191
+ TileGraphicType: core_frontend_1.TileGraphicType,
192
+ TileLoadPriority: core_frontend_1.TileLoadPriority,
193
+ TileLoadStatus: core_frontend_1.TileLoadStatus,
175
194
  TileRequest: core_frontend_1.TileRequest,
176
- TileRequestChannelStatistics: core_frontend_1.TileRequestChannelStatistics,
177
195
  TileRequestChannel: core_frontend_1.TileRequestChannel,
196
+ TileRequestChannelStatistics: core_frontend_1.TileRequestChannelStatistics,
178
197
  TileRequestChannels: core_frontend_1.TileRequestChannels,
179
198
  TileTree: core_frontend_1.TileTree,
199
+ TileTreeLoadStatus: core_frontend_1.TileTreeLoadStatus,
180
200
  TileTreeReference: core_frontend_1.TileTreeReference,
181
201
  TileUsageMarker: core_frontend_1.TileUsageMarker,
182
- BingElevationProvider: core_frontend_1.BingElevationProvider,
183
- ViewClipTool: core_frontend_1.ViewClipTool,
184
- ViewClipClearTool: core_frontend_1.ViewClipClearTool,
185
- ViewClipDecorationProvider: core_frontend_1.ViewClipDecorationProvider,
186
- EditManipulator: core_frontend_1.EditManipulator,
187
- EventController: core_frontend_1.EventController,
188
- PrimitiveTool: core_frontend_1.PrimitiveTool,
189
- BeButtonState: core_frontend_1.BeButtonState,
190
- BeButtonEvent: core_frontend_1.BeButtonEvent,
191
- BeTouchEvent: core_frontend_1.BeTouchEvent,
192
- BeWheelEvent: core_frontend_1.BeWheelEvent,
202
+ TileVisibility: core_frontend_1.TileVisibility,
203
+ Tiles: core_frontend_1.Tiles,
193
204
  Tool: core_frontend_1.Tool,
194
- InteractiveTool: core_frontend_1.InteractiveTool,
195
- InputCollector: core_frontend_1.InputCollector,
196
205
  ToolAdmin: core_frontend_1.ToolAdmin,
197
206
  ToolAssistance: core_frontend_1.ToolAssistance,
207
+ ToolAssistanceImage: core_frontend_1.ToolAssistanceImage,
208
+ ToolAssistanceInputMethod: core_frontend_1.ToolAssistanceInputMethod,
198
209
  ToolSettings: core_frontend_1.ToolSettings,
199
- ViewTool: core_frontend_1.ViewTool,
200
- ViewManip: core_frontend_1.ViewManip,
201
- BackgroundMapType: core_common_1.BackgroundMapType,
202
- GlobeMode: core_common_1.GlobeMode,
203
- BriefcaseIdValue: core_common_1.BriefcaseIdValue,
204
- SyncMode: core_common_1.SyncMode,
205
- TypeOfChange: core_common_1.TypeOfChange,
206
- ChangesetType: core_common_1.ChangesetType,
207
- BisCodeSpec: core_common_1.BisCodeSpec,
208
- CommonLoggerCategory: core_common_1.CommonLoggerCategory,
209
- QueryRowFormat: core_common_1.QueryRowFormat,
210
- MonochromeMode: core_common_1.MonochromeMode,
211
- ECSqlValueType: core_common_1.ECSqlValueType,
212
- ChangeOpCode: core_common_1.ChangeOpCode,
213
- ChangedValueState: core_common_1.ChangedValueState,
214
- ECSqlSystemProperty: core_common_1.ECSqlSystemProperty,
215
- SectionType: core_common_1.SectionType,
216
- Rank: core_common_1.Rank,
217
- FeatureOverrideType: core_common_1.FeatureOverrideType,
218
- BatchType: core_common_1.BatchType,
219
- FontType: core_common_1.FontType,
220
- Npc: core_common_1.Npc,
221
- GeoCoordStatus: core_common_1.GeoCoordStatus,
222
- FillDisplay: core_common_1.FillDisplay,
223
- BackgroundFill: core_common_1.BackgroundFill,
224
- GeometryClass: core_common_1.GeometryClass,
225
- GeometrySummaryVerbosity: core_common_1.GeometrySummaryVerbosity,
226
- FillFlags: core_common_1.FillFlags,
227
- HSVConstants: core_common_1.HSVConstants,
228
- ImageBufferFormat: core_common_1.ImageBufferFormat,
229
- ImageSourceFormat: core_common_1.ImageSourceFormat,
230
- LinePixels: core_common_1.LinePixels,
231
- MassPropertiesOperation: core_common_1.MassPropertiesOperation,
232
- TextureMapUnits: core_common_1.TextureMapUnits,
233
- PlanarClipMaskMode: core_common_1.PlanarClipMaskMode,
234
- PlanarClipMaskPriority: core_common_1.PlanarClipMaskPriority,
235
- SkyBoxImageType: core_common_1.SkyBoxImageType,
236
- SpatialClassifierInsideDisplay: core_common_1.SpatialClassifierInsideDisplay,
237
- SpatialClassifierOutsideDisplay: core_common_1.SpatialClassifierOutsideDisplay,
238
- TerrainHeightOriginMode: core_common_1.TerrainHeightOriginMode,
239
- ThematicGradientMode: core_common_1.ThematicGradientMode,
240
- ThematicGradientColorScheme: core_common_1.ThematicGradientColorScheme,
241
- ThematicDisplayMode: core_common_1.ThematicDisplayMode,
210
+ TwoWayViewportFrustumSync: core_frontend_1.TwoWayViewportFrustumSync,
211
+ TwoWayViewportSync: core_frontend_1.TwoWayViewportSync,
242
212
  TxnAction: core_common_1.TxnAction,
243
- GridOrientationType: core_common_1.GridOrientationType,
244
- RenderMode: core_common_1.RenderMode,
245
- ElementGeometryOpcode: core_common_1.ElementGeometryOpcode,
246
- GeometryStreamFlags: core_common_1.GeometryStreamFlags,
247
- ColorByName: core_common_1.ColorByName,
248
- ColorDef: core_common_1.ColorDef,
213
+ TypeOfChange: core_common_1.TypeOfChange,
214
+ UniformType: core_frontend_1.UniformType,
215
+ VaryingType: core_frontend_1.VaryingType,
216
+ ViewClipClearTool: core_frontend_1.ViewClipClearTool,
217
+ ViewClipDecorationProvider: core_frontend_1.ViewClipDecorationProvider,
218
+ ViewClipTool: core_frontend_1.ViewClipTool,
219
+ ViewCreator2d: core_frontend_1.ViewCreator2d,
220
+ ViewCreator3d: core_frontend_1.ViewCreator3d,
221
+ ViewManager: core_frontend_1.ViewManager,
222
+ ViewManip: core_frontend_1.ViewManip,
223
+ ViewPose: core_frontend_1.ViewPose,
224
+ ViewRect: core_frontend_1.ViewRect,
225
+ ViewState: core_frontend_1.ViewState,
226
+ ViewState2d: core_frontend_1.ViewState2d,
227
+ ViewState3d: core_frontend_1.ViewState3d,
228
+ ViewStatus: core_frontend_1.ViewStatus,
229
+ ViewTool: core_frontend_1.ViewTool,
230
+ ViewingSpace: core_frontend_1.ViewingSpace,
231
+ canvasToImageBuffer: core_frontend_1.canvasToImageBuffer,
232
+ canvasToResizedCanvasWithBars: core_frontend_1.canvasToResizedCanvasWithBars,
233
+ connectViewportFrusta: core_frontend_1.connectViewportFrusta,
234
+ connectViewportViews: core_frontend_1.connectViewportViews,
235
+ connectViewports: core_frontend_1.connectViewports,
236
+ extractImageSourceDimensions: core_frontend_1.extractImageSourceDimensions,
237
+ getCompressedJpegFromCanvas: core_frontend_1.getCompressedJpegFromCanvas,
238
+ getImageSourceFormatForMimeType: core_frontend_1.getImageSourceFormatForMimeType,
239
+ getImageSourceMimeType: core_frontend_1.getImageSourceMimeType,
240
+ imageBufferToBase64EncodedPng: core_frontend_1.imageBufferToBase64EncodedPng,
241
+ imageBufferToCanvas: core_frontend_1.imageBufferToCanvas,
242
+ imageBufferToPngDataUrl: core_frontend_1.imageBufferToPngDataUrl,
243
+ imageElementFromImageSource: core_frontend_1.imageElementFromImageSource,
244
+ imageElementFromUrl: core_frontend_1.imageElementFromUrl,
245
+ queryTerrainElevationOffset: core_frontend_1.queryTerrainElevationOffset,
246
+ readElementGraphics: core_frontend_1.readElementGraphics,
247
+ synchronizeViewportFrusta: core_frontend_1.synchronizeViewportFrusta,
248
+ synchronizeViewportViews: core_frontend_1.synchronizeViewportViews,
249
249
  };
250
250
  // END GENERATED CODE
251
251
  const getExtensionApi = (id) => {
@@ -1 +1 @@
1
- {"version":3,"file":"ExtensionRuntime.js","sourceRoot":"","sources":["../../../src/extension/ExtensionRuntime.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;AAEH,yDAAyD;AACzD,sDAAsD;AACtD,iCAAiC;AAEjC,mDAAgD;AAChD,mDAAgD;AAEhD,MAAM,YAAY,GAAG,MAAM,CAAC,GAAG,CAAC,6BAA6B,CAAC,CAAC;AAC/D,IAAK,UAAkB,CAAC,YAAY,CAAC;IACnC,MAAM,IAAI,KAAK,CAAC,iD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,mBAAmB,EAAnB,iCAAmB;IACnB,WAAW,EAAX,yBAAW;IACX,QAAQ,EAAR,sBAAQ;CACT,CAAC;AAEF,qBAAqB;AAErB,MAAM,eAAe,GAAG,CAAC,EAAU,EAAE,EAAE;IACrC,OAAO;QACL,OAAO,EAAE;YACP,aAAa;YACb,aAAa,EAAb,6BAAa;YACb,YAAY;YACZ,GAAG,gBAAgB;SACpB;QACD,GAAG,EAAE,IAAI,6BAAa,CAAC,EAAE,CAAC;KAC3B,CAAC;AACJ,CAAC,CAAC;AAED,UAAkB,CAAC,YAAY,CAAC,GAAG;IAClC,eAAe;CAChB,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Extensions\r\n */\r\n\r\n/* eslint-disable @typescript-eslint/naming-convention */\r\n/* eslint-disable @itwin/no-internal-barrel-imports */\r\n/* eslint-disable sort-imports */\r\n\r\nimport { ExtensionImpl } from \"./ExtensionImpl\";\r\nimport { ExtensionHost } from \"./ExtensionHost\";\r\n\r\nconst globalSymbol = Symbol.for(\"itwin.core.frontend.globals\");\r\nif ((globalThis as any)[globalSymbol])\r\n throw new Error(\"Multiple @itwin/core-frontend imports detected!\");\r\n\r\n// BEGIN GENERATED CODE\r\nimport {\r\n // @public enum(s) from @itwin/core-frontend\r\n ContextRotationId,\r\n ACSType,\r\n ACSDisplayOptions,\r\n CoordSystem,\r\n LocateAction,\r\n LocateFilterStatus,\r\n SnapStatus,\r\n FlashMode,\r\n FrontendLoggerCategory,\r\n SnapMode,\r\n SnapHeat,\r\n HitSource,\r\n HitGeomType,\r\n HitParentGeomType,\r\n HitPriority,\r\n HitDetailType,\r\n OutputMessageType,\r\n OutputMessagePriority,\r\n OutputMessageAlert,\r\n ActivityMessageEndReason,\r\n MessageBoxType,\r\n MessageBoxIconType,\r\n MessageBoxValue,\r\n SelectionSetEventType,\r\n StandardViewId,\r\n ViewStatus,\r\n GraphicType,\r\n UniformType,\r\n VaryingType,\r\n TileLoadStatus,\r\n TileVisibility,\r\n TileLoadPriority,\r\n TileBoundingBoxes,\r\n TileTreeLoadStatus,\r\n TileGraphicType,\r\n ClipEventType,\r\n SelectionMethod,\r\n SelectionMode,\r\n SelectionProcessing,\r\n BeButton,\r\n CoordinateLockOverrides,\r\n InputSource,\r\n CoordSource,\r\n BeModifierKeys,\r\n EventHandled,\r\n ParseAndRunResult,\r\n KeyinParseError,\r\n StartOrResume,\r\n ManipulatorToolEvent,\r\n ToolAssistanceImage,\r\n ToolAssistanceInputMethod,\r\n // @public real(s) from @itwin/core-frontend\r\n AccuDrawHintBuilder,\r\n AccuSnap,\r\n AuxCoordSystemState,\r\n AuxCoordSystem2dState,\r\n AuxCoordSystem3dState,\r\n AuxCoordSystemSpatialState,\r\n BingLocationProvider,\r\n CategorySelectorState,\r\n ChangeFlags,\r\n ContextRealityModelState,\r\n DisplayStyleState,\r\n DisplayStyle2dState,\r\n DisplayStyle3dState,\r\n DrawingViewState,\r\n LocateOptions,\r\n LocateResponse,\r\n ElementPicker,\r\n ElementLocateManager,\r\n EmphasizeElements,\r\n EntityState,\r\n ElementState,\r\n FlashSettings,\r\n FrustumAnimator,\r\n GlobeAnimator,\r\n HitDetail,\r\n SnapDetail,\r\n IntersectDetail,\r\n HitList,\r\n IModelConnection,\r\n canvasToResizedCanvasWithBars,\r\n imageBufferToCanvas,\r\n canvasToImageBuffer,\r\n getImageSourceMimeType,\r\n getImageSourceFormatForMimeType,\r\n imageElementFromImageSource,\r\n imageElementFromUrl,\r\n extractImageSourceDimensions,\r\n imageBufferToPngDataUrl,\r\n imageBufferToBase64EncodedPng,\r\n getCompressedJpegFromCanvas,\r\n NotificationHandler,\r\n MarginPercent,\r\n Marker,\r\n Cluster,\r\n MarkerSet,\r\n ModelSelectorState,\r\n ModelState,\r\n GeometricModelState,\r\n GeometricModel2dState,\r\n GeometricModel3dState,\r\n SheetModelState,\r\n SpatialModelState,\r\n PhysicalModelState,\r\n SpatialLocationModelState,\r\n DrawingModelState,\r\n SectionDrawingModelState,\r\n NotifyMessageDetails,\r\n ActivityMessageDetails,\r\n NotificationManager,\r\n PerModelCategoryVisibility,\r\n HiliteSet,\r\n SelectionSet,\r\n SheetViewState,\r\n SpatialViewState,\r\n OrthographicViewState,\r\n Sprite,\r\n IconSprites,\r\n SpriteLocation,\r\n TentativePoint,\r\n Tiles,\r\n ViewCreator2d,\r\n ViewCreator3d,\r\n queryTerrainElevationOffset,\r\n ViewManager,\r\n ViewPose,\r\n ViewRect,\r\n ViewState,\r\n ViewState3d,\r\n ViewState2d,\r\n ViewingSpace,\r\n connectViewports,\r\n synchronizeViewportViews,\r\n synchronizeViewportFrusta,\r\n connectViewportFrusta,\r\n connectViewportViews,\r\n TwoWayViewportSync,\r\n TwoWayViewportFrustumSync,\r\n Decorations,\r\n FeatureSymbology,\r\n GraphicBranch,\r\n GraphicBuilder,\r\n Pixel,\r\n RenderClipVolume,\r\n RenderGraphic,\r\n RenderGraphicOwner,\r\n RenderSystem,\r\n Scene,\r\n DisclosedTileTreeSet,\r\n readElementGraphics,\r\n Tile,\r\n TileAdmin,\r\n TileDrawArgs,\r\n TileRequest,\r\n TileRequestChannelStatistics,\r\n TileRequestChannel,\r\n TileRequestChannels,\r\n TileTree,\r\n TileTreeReference,\r\n TileUsageMarker,\r\n BingElevationProvider,\r\n ViewClipTool,\r\n ViewClipClearTool,\r\n ViewClipDecorationProvider,\r\n EditManipulator,\r\n EventController,\r\n PrimitiveTool,\r\n BeButtonState,\r\n BeButtonEvent,\r\n BeTouchEvent,\r\n BeWheelEvent,\r\n Tool,\r\n InteractiveTool,\r\n InputCollector,\r\n ToolAdmin,\r\n ToolAssistance,\r\n ToolSettings,\r\n ViewTool,\r\n ViewManip,\r\n} from \"../core-frontend\";\r\n\r\nimport {\r\n // @public enum(s) from @itwin/core-common\r\n BackgroundMapType,\r\n GlobeMode,\r\n BriefcaseIdValue,\r\n SyncMode,\r\n TypeOfChange,\r\n ChangesetType,\r\n BisCodeSpec,\r\n CommonLoggerCategory,\r\n QueryRowFormat,\r\n MonochromeMode,\r\n ECSqlValueType,\r\n ChangeOpCode,\r\n ChangedValueState,\r\n ECSqlSystemProperty,\r\n SectionType,\r\n Rank,\r\n FeatureOverrideType,\r\n BatchType,\r\n FontType,\r\n Npc,\r\n GeoCoordStatus,\r\n FillDisplay,\r\n BackgroundFill,\r\n GeometryClass,\r\n GeometrySummaryVerbosity,\r\n FillFlags,\r\n HSVConstants,\r\n ImageBufferFormat,\r\n ImageSourceFormat,\r\n LinePixels,\r\n MassPropertiesOperation,\r\n TextureMapUnits,\r\n PlanarClipMaskMode,\r\n PlanarClipMaskPriority,\r\n SkyBoxImageType,\r\n SpatialClassifierInsideDisplay,\r\n SpatialClassifierOutsideDisplay,\r\n TerrainHeightOriginMode,\r\n ThematicGradientMode,\r\n ThematicGradientColorScheme,\r\n ThematicDisplayMode,\r\n TxnAction,\r\n GridOrientationType,\r\n RenderMode,\r\n ElementGeometryOpcode,\r\n GeometryStreamFlags,\r\n // @public real(s) from @itwin/core-common\r\n ColorByName,\r\n ColorDef,\r\n} from \"@itwin/core-common\";\r\n\r\nconst extensionExports = {\r\n ContextRotationId,\r\n ACSType,\r\n ACSDisplayOptions,\r\n CoordSystem,\r\n LocateAction,\r\n LocateFilterStatus,\r\n SnapStatus,\r\n FlashMode,\r\n FrontendLoggerCategory,\r\n SnapMode,\r\n SnapHeat,\r\n HitSource,\r\n HitGeomType,\r\n HitParentGeomType,\r\n HitPriority,\r\n HitDetailType,\r\n OutputMessageType,\r\n OutputMessagePriority,\r\n OutputMessageAlert,\r\n ActivityMessageEndReason,\r\n MessageBoxType,\r\n MessageBoxIconType,\r\n MessageBoxValue,\r\n SelectionSetEventType,\r\n StandardViewId,\r\n ViewStatus,\r\n GraphicType,\r\n UniformType,\r\n VaryingType,\r\n TileLoadStatus,\r\n TileVisibility,\r\n TileLoadPriority,\r\n TileBoundingBoxes,\r\n TileTreeLoadStatus,\r\n TileGraphicType,\r\n ClipEventType,\r\n SelectionMethod,\r\n SelectionMode,\r\n SelectionProcessing,\r\n BeButton,\r\n CoordinateLockOverrides,\r\n InputSource,\r\n CoordSource,\r\n BeModifierKeys,\r\n EventHandled,\r\n ParseAndRunResult,\r\n KeyinParseError,\r\n StartOrResume,\r\n ManipulatorToolEvent,\r\n ToolAssistanceImage,\r\n ToolAssistanceInputMethod,\r\n AccuDrawHintBuilder,\r\n AccuSnap,\r\n AuxCoordSystemState,\r\n AuxCoordSystem2dState,\r\n AuxCoordSystem3dState,\r\n AuxCoordSystemSpatialState,\r\n BingLocationProvider,\r\n CategorySelectorState,\r\n ChangeFlags,\r\n ContextRealityModelState,\r\n DisplayStyleState,\r\n DisplayStyle2dState,\r\n DisplayStyle3dState,\r\n DrawingViewState,\r\n LocateOptions,\r\n LocateResponse,\r\n ElementPicker,\r\n ElementLocateManager,\r\n EmphasizeElements,\r\n EntityState,\r\n ElementState,\r\n FlashSettings,\r\n FrustumAnimator,\r\n GlobeAnimator,\r\n HitDetail,\r\n SnapDetail,\r\n IntersectDetail,\r\n HitList,\r\n IModelConnection,\r\n canvasToResizedCanvasWithBars,\r\n imageBufferToCanvas,\r\n canvasToImageBuffer,\r\n getImageSourceMimeType,\r\n getImageSourceFormatForMimeType,\r\n imageElementFromImageSource,\r\n imageElementFromUrl,\r\n extractImageSourceDimensions,\r\n imageBufferToPngDataUrl,\r\n imageBufferToBase64EncodedPng,\r\n getCompressedJpegFromCanvas,\r\n NotificationHandler,\r\n MarginPercent,\r\n Marker,\r\n Cluster,\r\n MarkerSet,\r\n ModelSelectorState,\r\n ModelState,\r\n GeometricModelState,\r\n GeometricModel2dState,\r\n GeometricModel3dState,\r\n SheetModelState,\r\n SpatialModelState,\r\n PhysicalModelState,\r\n SpatialLocationModelState,\r\n DrawingModelState,\r\n SectionDrawingModelState,\r\n NotifyMessageDetails,\r\n ActivityMessageDetails,\r\n NotificationManager,\r\n PerModelCategoryVisibility,\r\n HiliteSet,\r\n SelectionSet,\r\n SheetViewState,\r\n SpatialViewState,\r\n OrthographicViewState,\r\n Sprite,\r\n IconSprites,\r\n SpriteLocation,\r\n TentativePoint,\r\n Tiles,\r\n ViewCreator2d,\r\n ViewCreator3d,\r\n queryTerrainElevationOffset,\r\n ViewManager,\r\n ViewPose,\r\n ViewRect,\r\n ViewState,\r\n ViewState3d,\r\n ViewState2d,\r\n ViewingSpace,\r\n connectViewports,\r\n synchronizeViewportViews,\r\n synchronizeViewportFrusta,\r\n connectViewportFrusta,\r\n connectViewportViews,\r\n TwoWayViewportSync,\r\n TwoWayViewportFrustumSync,\r\n Decorations,\r\n FeatureSymbology,\r\n GraphicBranch,\r\n GraphicBuilder,\r\n Pixel,\r\n RenderClipVolume,\r\n RenderGraphic,\r\n RenderGraphicOwner,\r\n RenderSystem,\r\n Scene,\r\n DisclosedTileTreeSet,\r\n readElementGraphics,\r\n Tile,\r\n TileAdmin,\r\n TileDrawArgs,\r\n TileRequest,\r\n TileRequestChannelStatistics,\r\n TileRequestChannel,\r\n TileRequestChannels,\r\n TileTree,\r\n TileTreeReference,\r\n TileUsageMarker,\r\n BingElevationProvider,\r\n ViewClipTool,\r\n ViewClipClearTool,\r\n ViewClipDecorationProvider,\r\n EditManipulator,\r\n EventController,\r\n PrimitiveTool,\r\n BeButtonState,\r\n BeButtonEvent,\r\n BeTouchEvent,\r\n BeWheelEvent,\r\n Tool,\r\n InteractiveTool,\r\n InputCollector,\r\n ToolAdmin,\r\n ToolAssistance,\r\n ToolSettings,\r\n ViewTool,\r\n ViewManip,\r\n BackgroundMapType,\r\n GlobeMode,\r\n BriefcaseIdValue,\r\n SyncMode,\r\n TypeOfChange,\r\n ChangesetType,\r\n BisCodeSpec,\r\n CommonLoggerCategory,\r\n QueryRowFormat,\r\n MonochromeMode,\r\n ECSqlValueType,\r\n ChangeOpCode,\r\n ChangedValueState,\r\n ECSqlSystemProperty,\r\n SectionType,\r\n Rank,\r\n FeatureOverrideType,\r\n BatchType,\r\n FontType,\r\n Npc,\r\n GeoCoordStatus,\r\n FillDisplay,\r\n BackgroundFill,\r\n GeometryClass,\r\n GeometrySummaryVerbosity,\r\n FillFlags,\r\n HSVConstants,\r\n ImageBufferFormat,\r\n ImageSourceFormat,\r\n LinePixels,\r\n MassPropertiesOperation,\r\n TextureMapUnits,\r\n PlanarClipMaskMode,\r\n PlanarClipMaskPriority,\r\n SkyBoxImageType,\r\n SpatialClassifierInsideDisplay,\r\n SpatialClassifierOutsideDisplay,\r\n TerrainHeightOriginMode,\r\n ThematicGradientMode,\r\n ThematicGradientColorScheme,\r\n ThematicDisplayMode,\r\n TxnAction,\r\n GridOrientationType,\r\n RenderMode,\r\n ElementGeometryOpcode,\r\n GeometryStreamFlags,\r\n ColorByName,\r\n ColorDef,\r\n};\r\n\r\n// END GENERATED CODE\r\n\r\nconst getExtensionApi = (id: string) => {\r\n return {\r\n exports: {\r\n // exceptions\r\n ExtensionHost,\r\n // automated\r\n ...extensionExports,\r\n },\r\n api: new ExtensionImpl(id),\r\n };\r\n};\r\n\r\n(globalThis as any)[globalSymbol] = {\r\n getExtensionApi,\r\n};\r\n"]}
1
+ {"version":3,"file":"ExtensionRuntime.js","sourceRoot":"","sources":["../../../src/extension/ExtensionRuntime.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;AAEH,yDAAyD;AACzD,sDAAsD;AACtD,iCAAiC;AAEjC,mDAAgD;AAChD,mDAAgD;AAEhD,MAAM,YAAY,GAAG,MAAM,CAAC,GAAG,CAAC,6BAA6B,CAAC,CAAC;AAC/D,IAAK,UAAkB,CAAC,YAAY,CAAC;IACnC,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;AAErE,uBAAuB;AACvB,oDAsL0B;AAE1B,oDAmD4B;AAE5B,MAAM,gBAAgB,GAAG;IACvB,iBAAiB,EAAjB,iCAAiB;I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G,CAAC,EAAU,EAAE,EAAE;IACrC,OAAO;QACL,OAAO,EAAE;YACP,aAAa;YACb,aAAa,EAAb,6BAAa;YACb,YAAY;YACZ,GAAG,gBAAgB;SACpB;QACD,GAAG,EAAE,IAAI,6BAAa,CAAC,EAAE,CAAC;KAC3B,CAAC;AACJ,CAAC,CAAC;AAED,UAAkB,CAAC,YAAY,CAAC,GAAG;IAClC,eAAe;CAChB,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Extensions\r\n */\r\n\r\n/* eslint-disable @typescript-eslint/naming-convention */\r\n/* eslint-disable @itwin/no-internal-barrel-imports */\r\n/* eslint-disable sort-imports */\r\n\r\nimport { ExtensionImpl } from \"./ExtensionImpl\";\r\nimport { ExtensionHost } from \"./ExtensionHost\";\r\n\r\nconst globalSymbol = Symbol.for(\"itwin.core.frontend.globals\");\r\nif ((globalThis as any)[globalSymbol])\r\n throw new Error(\"Multiple @itwin/core-frontend imports detected!\");\r\n\r\n// BEGIN GENERATED CODE\r\nimport {\r\n // @public enum(s) from @itwin/core-frontend\r\n ACSDisplayOptions,\r\n ACSType,\r\n ActivityMessageEndReason,\r\n BeButton,\r\n BeModifierKeys,\r\n ClipEventType,\r\n ContextRotationId,\r\n CoordSource,\r\n CoordSystem,\r\n CoordinateLockOverrides,\r\n EventHandled,\r\n FlashMode,\r\n FrontendLoggerCategory,\r\n GraphicType,\r\n HitDetailType,\r\n HitGeomType,\r\n HitParentGeomType,\r\n HitPriority,\r\n HitSource,\r\n InputSource,\r\n KeyinParseError,\r\n LocateAction,\r\n LocateFilterStatus,\r\n ManipulatorToolEvent,\r\n MessageBoxIconType,\r\n MessageBoxType,\r\n MessageBoxValue,\r\n OutputMessageAlert,\r\n OutputMessagePriority,\r\n OutputMessageType,\r\n ParseAndRunResult,\r\n SelectionMethod,\r\n SelectionMode,\r\n SelectionProcessing,\r\n SelectionSetEventType,\r\n SnapHeat,\r\n SnapMode,\r\n SnapStatus,\r\n StandardViewId,\r\n StartOrResume,\r\n TileBoundingBoxes,\r\n TileGraphicType,\r\n TileLoadPriority,\r\n TileLoadStatus,\r\n TileTreeLoadStatus,\r\n TileVisibility,\r\n ToolAssistanceImage,\r\n ToolAssistanceInputMethod,\r\n UniformType,\r\n VaryingType,\r\n ViewStatus,\r\n // @public real(s) from @itwin/core-frontend\r\n AccuDrawHintBuilder,\r\n AccuSnap,\r\n ActivityMessageDetails,\r\n AuxCoordSystem2dState,\r\n AuxCoordSystem3dState,\r\n AuxCoordSystemSpatialState,\r\n AuxCoordSystemState,\r\n BeButtonEvent,\r\n BeButtonState,\r\n BeTouchEvent,\r\n BeWheelEvent,\r\n BingElevationProvider,\r\n BingLocationProvider,\r\n CategorySelectorState,\r\n ChangeFlags,\r\n Cluster,\r\n ContextRealityModelState,\r\n Decorations,\r\n DisclosedTileTreeSet,\r\n DisplayStyle2dState,\r\n DisplayStyle3dState,\r\n DisplayStyleState,\r\n DrawingModelState,\r\n DrawingViewState,\r\n EditManipulator,\r\n ElementLocateManager,\r\n ElementPicker,\r\n ElementState,\r\n EmphasizeElements,\r\n EntityState,\r\n EventController,\r\n FeatureSymbology,\r\n FlashSettings,\r\n FrustumAnimator,\r\n GeometricModel2dState,\r\n GeometricModel3dState,\r\n GeometricModelState,\r\n GlobeAnimator,\r\n GraphicBranch,\r\n GraphicBuilder,\r\n HiliteSet,\r\n HitDetail,\r\n HitList,\r\n IModelConnection,\r\n IconSprites,\r\n InputCollector,\r\n InteractiveTool,\r\n IntersectDetail,\r\n LocateOptions,\r\n LocateResponse,\r\n MarginPercent,\r\n Marker,\r\n MarkerSet,\r\n ModelSelectorState,\r\n ModelState,\r\n NotificationHandler,\r\n NotificationManager,\r\n NotifyMessageDetails,\r\n OrthographicViewState,\r\n PerModelCategoryVisibility,\r\n PhysicalModelState,\r\n Pixel,\r\n PrimitiveTool,\r\n RenderClipVolume,\r\n RenderGraphic,\r\n RenderGraphicOwner,\r\n RenderSystem,\r\n Scene,\r\n SectionDrawingModelState,\r\n SelectionSet,\r\n SheetModelState,\r\n SheetViewState,\r\n SnapDetail,\r\n SpatialLocationModelState,\r\n SpatialModelState,\r\n SpatialViewState,\r\n Sprite,\r\n SpriteLocation,\r\n TentativePoint,\r\n Tile,\r\n TileAdmin,\r\n TileDrawArgs,\r\n TileRequest,\r\n TileRequestChannel,\r\n TileRequestChannelStatistics,\r\n TileRequestChannels,\r\n TileTree,\r\n TileTreeReference,\r\n TileUsageMarker,\r\n Tiles,\r\n Tool,\r\n ToolAdmin,\r\n ToolAssistance,\r\n ToolSettings,\r\n TwoWayViewportFrustumSync,\r\n TwoWayViewportSync,\r\n ViewClipClearTool,\r\n ViewClipDecorationProvider,\r\n ViewClipTool,\r\n ViewCreator2d,\r\n ViewCreator3d,\r\n ViewManager,\r\n ViewManip,\r\n ViewPose,\r\n ViewRect,\r\n ViewState,\r\n ViewState2d,\r\n ViewState3d,\r\n ViewTool,\r\n ViewingSpace,\r\n canvasToImageBuffer,\r\n canvasToResizedCanvasWithBars,\r\n connectViewportFrusta,\r\n connectViewportViews,\r\n connectViewports,\r\n extractImageSourceDimensions,\r\n getCompressedJpegFromCanvas,\r\n getImageSourceFormatForMimeType,\r\n getImageSourceMimeType,\r\n imageBufferToBase64EncodedPng,\r\n imageBufferToCanvas,\r\n imageBufferToPngDataUrl,\r\n imageElementFromImageSource,\r\n imageElementFromUrl,\r\n queryTerrainElevationOffset,\r\n readElementGraphics,\r\n synchronizeViewportFrusta,\r\n synchronizeViewportViews,\r\n} from \"../core-frontend\";\r\n\r\nimport {\r\n // @public enum(s) from @itwin/core-common\r\n BackgroundFill,\r\n BackgroundMapType,\r\n BatchType,\r\n BisCodeSpec,\r\n BriefcaseIdValue,\r\n ChangeOpCode,\r\n ChangedValueState,\r\n ChangesetType,\r\n CommonLoggerCategory,\r\n ECSqlSystemProperty,\r\n ECSqlValueType,\r\n ElementGeometryOpcode,\r\n FeatureOverrideType,\r\n FillDisplay,\r\n FillFlags,\r\n FontType,\r\n GeoCoordStatus,\r\n GeometryClass,\r\n GeometryStreamFlags,\r\n GeometrySummaryVerbosity,\r\n GlobeMode,\r\n GridOrientationType,\r\n HSVConstants,\r\n ImageBufferFormat,\r\n ImageSourceFormat,\r\n LinePixels,\r\n MassPropertiesOperation,\r\n MonochromeMode,\r\n Npc,\r\n PlanarClipMaskMode,\r\n PlanarClipMaskPriority,\r\n QueryRowFormat,\r\n Rank,\r\n RenderMode,\r\n SectionType,\r\n SkyBoxImageType,\r\n SpatialClassifierInsideDisplay,\r\n SpatialClassifierOutsideDisplay,\r\n SyncMode,\r\n TerrainHeightOriginMode,\r\n TextureMapUnits,\r\n ThematicDisplayMode,\r\n ThematicGradientColorScheme,\r\n ThematicGradientMode,\r\n TxnAction,\r\n TypeOfChange,\r\n // @public real(s) from @itwin/core-common\r\n ColorByName,\r\n ColorDef,\r\n} from \"@itwin/core-common\";\r\n\r\nconst extensionExports = {\r\n ACSDisplayOptions,\r\n ACSType,\r\n AccuDrawHintBuilder,\r\n AccuSnap,\r\n ActivityMessageDetails,\r\n ActivityMessageEndReason,\r\n AuxCoordSystem2dState,\r\n AuxCoordSystem3dState,\r\n AuxCoordSystemSpatialState,\r\n AuxCoordSystemState,\r\n BackgroundFill,\r\n BackgroundMapType,\r\n BatchType,\r\n BeButton,\r\n BeButtonEvent,\r\n BeButtonState,\r\n BeModifierKeys,\r\n BeTouchEvent,\r\n BeWheelEvent,\r\n BingElevationProvider,\r\n BingLocationProvider,\r\n BisCodeSpec,\r\n BriefcaseIdValue,\r\n CategorySelectorState,\r\n ChangeFlags,\r\n ChangeOpCode,\r\n ChangedValueState,\r\n ChangesetType,\r\n ClipEventType,\r\n Cluster,\r\n ColorByName,\r\n ColorDef,\r\n CommonLoggerCategory,\r\n ContextRealityModelState,\r\n ContextRotationId,\r\n CoordSource,\r\n CoordSystem,\r\n CoordinateLockOverrides,\r\n Decorations,\r\n DisclosedTileTreeSet,\r\n DisplayStyle2dState,\r\n DisplayStyle3dState,\r\n DisplayStyleState,\r\n DrawingModelState,\r\n DrawingViewState,\r\n ECSqlSystemProperty,\r\n ECSqlValueType,\r\n EditManipulator,\r\n ElementGeometryOpcode,\r\n ElementLocateManager,\r\n ElementPicker,\r\n ElementState,\r\n EmphasizeElements,\r\n EntityState,\r\n EventController,\r\n EventHandled,\r\n FeatureOverrideType,\r\n FeatureSymbology,\r\n FillDisplay,\r\n FillFlags,\r\n FlashMode,\r\n FlashSettings,\r\n FontType,\r\n FrontendLoggerCategory,\r\n FrustumAnimator,\r\n GeoCoordStatus,\r\n GeometricModel2dState,\r\n GeometricModel3dState,\r\n GeometricModelState,\r\n GeometryClass,\r\n GeometryStreamFlags,\r\n GeometrySummaryVerbosity,\r\n GlobeAnimator,\r\n GlobeMode,\r\n GraphicBranch,\r\n GraphicBuilder,\r\n GraphicType,\r\n GridOrientationType,\r\n HSVConstants,\r\n HiliteSet,\r\n HitDetail,\r\n HitDetailType,\r\n HitGeomType,\r\n HitList,\r\n HitParentGeomType,\r\n HitPriority,\r\n HitSource,\r\n IModelConnection,\r\n IconSprites,\r\n ImageBufferFormat,\r\n ImageSourceFormat,\r\n InputCollector,\r\n InputSource,\r\n InteractiveTool,\r\n IntersectDetail,\r\n KeyinParseError,\r\n LinePixels,\r\n LocateAction,\r\n LocateFilterStatus,\r\n LocateOptions,\r\n LocateResponse,\r\n ManipulatorToolEvent,\r\n MarginPercent,\r\n Marker,\r\n MarkerSet,\r\n MassPropertiesOperation,\r\n MessageBoxIconType,\r\n MessageBoxType,\r\n MessageBoxValue,\r\n ModelSelectorState,\r\n ModelState,\r\n MonochromeMode,\r\n NotificationHandler,\r\n NotificationManager,\r\n NotifyMessageDetails,\r\n Npc,\r\n OrthographicViewState,\r\n OutputMessageAlert,\r\n OutputMessagePriority,\r\n OutputMessageType,\r\n ParseAndRunResult,\r\n PerModelCategoryVisibility,\r\n PhysicalModelState,\r\n Pixel,\r\n PlanarClipMaskMode,\r\n PlanarClipMaskPriority,\r\n PrimitiveTool,\r\n QueryRowFormat,\r\n Rank,\r\n RenderClipVolume,\r\n RenderGraphic,\r\n RenderGraphicOwner,\r\n RenderMode,\r\n RenderSystem,\r\n Scene,\r\n SectionDrawingModelState,\r\n SectionType,\r\n SelectionMethod,\r\n SelectionMode,\r\n SelectionProcessing,\r\n SelectionSet,\r\n SelectionSetEventType,\r\n SheetModelState,\r\n SheetViewState,\r\n SkyBoxImageType,\r\n SnapDetail,\r\n SnapHeat,\r\n SnapMode,\r\n SnapStatus,\r\n SpatialClassifierInsideDisplay,\r\n SpatialClassifierOutsideDisplay,\r\n SpatialLocationModelState,\r\n SpatialModelState,\r\n SpatialViewState,\r\n Sprite,\r\n SpriteLocation,\r\n StandardViewId,\r\n StartOrResume,\r\n SyncMode,\r\n TentativePoint,\r\n TerrainHeightOriginMode,\r\n TextureMapUnits,\r\n ThematicDisplayMode,\r\n ThematicGradientColorScheme,\r\n ThematicGradientMode,\r\n Tile,\r\n TileAdmin,\r\n TileBoundingBoxes,\r\n TileDrawArgs,\r\n TileGraphicType,\r\n TileLoadPriority,\r\n TileLoadStatus,\r\n TileRequest,\r\n TileRequestChannel,\r\n TileRequestChannelStatistics,\r\n TileRequestChannels,\r\n TileTree,\r\n TileTreeLoadStatus,\r\n TileTreeReference,\r\n TileUsageMarker,\r\n TileVisibility,\r\n Tiles,\r\n Tool,\r\n ToolAdmin,\r\n ToolAssistance,\r\n ToolAssistanceImage,\r\n ToolAssistanceInputMethod,\r\n ToolSettings,\r\n TwoWayViewportFrustumSync,\r\n TwoWayViewportSync,\r\n TxnAction,\r\n TypeOfChange,\r\n UniformType,\r\n VaryingType,\r\n ViewClipClearTool,\r\n ViewClipDecorationProvider,\r\n ViewClipTool,\r\n ViewCreator2d,\r\n ViewCreator3d,\r\n ViewManager,\r\n ViewManip,\r\n ViewPose,\r\n ViewRect,\r\n ViewState,\r\n ViewState2d,\r\n ViewState3d,\r\n ViewStatus,\r\n ViewTool,\r\n ViewingSpace,\r\n canvasToImageBuffer,\r\n canvasToResizedCanvasWithBars,\r\n connectViewportFrusta,\r\n connectViewportViews,\r\n connectViewports,\r\n extractImageSourceDimensions,\r\n getCompressedJpegFromCanvas,\r\n getImageSourceFormatForMimeType,\r\n getImageSourceMimeType,\r\n imageBufferToBase64EncodedPng,\r\n imageBufferToCanvas,\r\n imageBufferToPngDataUrl,\r\n imageElementFromImageSource,\r\n imageElementFromUrl,\r\n queryTerrainElevationOffset,\r\n readElementGraphics,\r\n synchronizeViewportFrusta,\r\n synchronizeViewportViews,\r\n};\r\n\r\n// END GENERATED CODE\r\n\r\nconst getExtensionApi = (id: string) => {\r\n return {\r\n exports: {\r\n // exceptions\r\n ExtensionHost,\r\n // automated\r\n ...extensionExports,\r\n },\r\n api: new ExtensionImpl(id),\r\n };\r\n};\r\n\r\n(globalThis as any)[globalSymbol] = {\r\n getExtensionApi,\r\n};\r\n"]}
@@ -215,7 +215,7 @@ export declare abstract class Target extends RenderTarget implements RenderTarge
215
215
  */
216
216
  private static _applyAspectRatioCorrection;
217
217
  /** wantRectIn is in CSS pixels. Output ImageBuffer will be in device pixels.
218
- * If wantRect.right or wantRect.bottom is -1, that means "read the entire image".
218
+ * If wantRect is null, that means "read the entire image".
219
219
  */
220
220
  readImage(wantRectIn: ViewRect, targetSizeIn: Point2d, flipVertically: boolean): ImageBuffer | undefined;
221
221
  readImageBuffer(args?: ReadImageBufferArgs): ImageBuffer | undefined;
@@ -762,14 +762,14 @@ class Target extends RenderTarget_1.RenderTarget {
762
762
  return new core_geometry_1.Point2d(curSize.x * bestRatio, curSize.y * bestRatio);
763
763
  }
764
764
  /** wantRectIn is in CSS pixels. Output ImageBuffer will be in device pixels.
765
- * If wantRect.right or wantRect.bottom is -1, that means "read the entire image".
765
+ * If wantRect is null, that means "read the entire image".
766
766
  */
767
767
  readImage(wantRectIn, targetSizeIn, flipVertically) {
768
768
  if (!this.assignDC())
769
769
  return undefined;
770
770
  // Determine capture rect and validate
771
771
  const actualViewRect = this.renderRect; // already has device pixel ratio applied
772
- const wantRect = (wantRectIn.right === -1 || wantRectIn.bottom === -1) ? actualViewRect : this.cssViewRectToDeviceViewRect(wantRectIn);
772
+ const wantRect = wantRectIn.isNull ? actualViewRect : this.cssViewRectToDeviceViewRect(wantRectIn);
773
773
  const lowerRight = core_geometry_1.Point2d.create(wantRect.right - 1, wantRect.bottom - 1);
774
774
  if (!actualViewRect.containsPoint(core_geometry_1.Point2d.create(wantRect.left, wantRect.top)) || !actualViewRect.containsPoint(lowerRight))
775
775
  return undefined;