@itwin/core-frontend 5.16.0-dev.4 → 5.16.0-dev.6

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 (134) hide show
  1. package/CHANGELOG.md +9 -1
  2. package/lib/cjs/core-frontend.d.ts +1 -1
  3. package/lib/cjs/core-frontend.d.ts.map +1 -1
  4. package/lib/cjs/core-frontend.js +3 -2
  5. package/lib/cjs/core-frontend.js.map +1 -1
  6. package/lib/cjs/internal/cross-package.d.ts +1 -1
  7. package/lib/cjs/internal/cross-package.d.ts.map +1 -1
  8. package/lib/cjs/internal/cross-package.js +4 -1
  9. package/lib/cjs/internal/cross-package.js.map +1 -1
  10. package/lib/cjs/internal/tile/map/ArcGisUtilities.d.ts +15 -2
  11. package/lib/cjs/internal/tile/map/ArcGisUtilities.d.ts.map +1 -1
  12. package/lib/cjs/internal/tile/map/ArcGisUtilities.js +54 -29
  13. package/lib/cjs/internal/tile/map/ArcGisUtilities.js.map +1 -1
  14. package/lib/cjs/internal/tile/map/ImageryProviders/ArcGISImageryProvider.d.ts +14 -0
  15. package/lib/cjs/internal/tile/map/ImageryProviders/ArcGISImageryProvider.d.ts.map +1 -1
  16. package/lib/cjs/internal/tile/map/ImageryProviders/ArcGISImageryProvider.js +91 -45
  17. package/lib/cjs/internal/tile/map/ImageryProviders/ArcGISImageryProvider.js.map +1 -1
  18. package/lib/cjs/internal/tile/map/ImageryProviders/ArcGISMapLayerImageryProvider.d.ts.map +1 -1
  19. package/lib/cjs/internal/tile/map/ImageryProviders/ArcGISMapLayerImageryProvider.js +5 -4
  20. package/lib/cjs/internal/tile/map/ImageryProviders/ArcGISMapLayerImageryProvider.js.map +1 -1
  21. package/lib/cjs/internal/tile/map/ImageryProviders/WmsMapLayerImageryProvider.d.ts.map +1 -1
  22. package/lib/cjs/internal/tile/map/ImageryProviders/WmsMapLayerImageryProvider.js +8 -2
  23. package/lib/cjs/internal/tile/map/ImageryProviders/WmsMapLayerImageryProvider.js.map +1 -1
  24. package/lib/cjs/internal/tile/map/ImageryProviders/WmtsMapLayerImageryProvider.d.ts.map +1 -1
  25. package/lib/cjs/internal/tile/map/ImageryProviders/WmtsMapLayerImageryProvider.js +8 -2
  26. package/lib/cjs/internal/tile/map/ImageryProviders/WmtsMapLayerImageryProvider.js.map +1 -1
  27. package/lib/cjs/internal/tile/map/MapLayerFetch.d.ts +57 -0
  28. package/lib/cjs/internal/tile/map/MapLayerFetch.d.ts.map +1 -0
  29. package/lib/cjs/internal/tile/map/MapLayerFetch.js +95 -0
  30. package/lib/cjs/internal/tile/map/MapLayerFetch.js.map +1 -0
  31. package/lib/cjs/internal/tile/map/UrlUtils.js +1 -1
  32. package/lib/cjs/internal/tile/map/UrlUtils.js.map +1 -1
  33. package/lib/cjs/internal/tile/map/WmsCapabilities.d.ts +2 -5
  34. package/lib/cjs/internal/tile/map/WmsCapabilities.d.ts.map +1 -1
  35. package/lib/cjs/internal/tile/map/WmsCapabilities.js +16 -9
  36. package/lib/cjs/internal/tile/map/WmsCapabilities.js.map +1 -1
  37. package/lib/cjs/internal/tile/map/WmsUtilities.d.ts +29 -1
  38. package/lib/cjs/internal/tile/map/WmsUtilities.d.ts.map +1 -1
  39. package/lib/cjs/internal/tile/map/WmsUtilities.js +43 -11
  40. package/lib/cjs/internal/tile/map/WmsUtilities.js.map +1 -1
  41. package/lib/cjs/internal/tile/map/WmtsCapabilities.d.ts +2 -5
  42. package/lib/cjs/internal/tile/map/WmtsCapabilities.d.ts.map +1 -1
  43. package/lib/cjs/internal/tile/map/WmtsCapabilities.js +16 -9
  44. package/lib/cjs/internal/tile/map/WmtsCapabilities.js.map +1 -1
  45. package/lib/cjs/tile/internal.d.ts +2 -0
  46. package/lib/cjs/tile/internal.d.ts.map +1 -1
  47. package/lib/cjs/tile/internal.js +2 -0
  48. package/lib/cjs/tile/internal.js.map +1 -1
  49. package/lib/cjs/tile/map/MapLayerFetchHandler.d.ts +94 -0
  50. package/lib/cjs/tile/map/MapLayerFetchHandler.d.ts.map +1 -0
  51. package/lib/cjs/tile/map/MapLayerFetchHandler.js +10 -0
  52. package/lib/cjs/tile/map/MapLayerFetchHandler.js.map +1 -0
  53. package/lib/cjs/tile/map/MapLayerFormatRegistry.d.ts +27 -1
  54. package/lib/cjs/tile/map/MapLayerFormatRegistry.d.ts.map +1 -1
  55. package/lib/cjs/tile/map/MapLayerFormatRegistry.js +42 -1
  56. package/lib/cjs/tile/map/MapLayerFormatRegistry.js.map +1 -1
  57. package/lib/cjs/tile/map/MapLayerImageryFormats.d.ts.map +1 -1
  58. package/lib/cjs/tile/map/MapLayerImageryFormats.js +20 -4
  59. package/lib/cjs/tile/map/MapLayerImageryFormats.js.map +1 -1
  60. package/lib/cjs/tile/map/MapLayerImageryProvider.d.ts +28 -16
  61. package/lib/cjs/tile/map/MapLayerImageryProvider.d.ts.map +1 -1
  62. package/lib/cjs/tile/map/MapLayerImageryProvider.js +134 -66
  63. package/lib/cjs/tile/map/MapLayerImageryProvider.js.map +1 -1
  64. package/lib/cjs/tile/map/MapLayerSources.d.ts +19 -4
  65. package/lib/cjs/tile/map/MapLayerSources.d.ts.map +1 -1
  66. package/lib/cjs/tile/map/MapLayerSources.js +28 -11
  67. package/lib/cjs/tile/map/MapLayerSources.js.map +1 -1
  68. package/lib/esm/core-frontend.d.ts +1 -1
  69. package/lib/esm/core-frontend.d.ts.map +1 -1
  70. package/lib/esm/core-frontend.js +1 -1
  71. package/lib/esm/core-frontend.js.map +1 -1
  72. package/lib/esm/internal/cross-package.d.ts +1 -1
  73. package/lib/esm/internal/cross-package.d.ts.map +1 -1
  74. package/lib/esm/internal/cross-package.js +1 -1
  75. package/lib/esm/internal/cross-package.js.map +1 -1
  76. package/lib/esm/internal/tile/map/ArcGisUtilities.d.ts +15 -2
  77. package/lib/esm/internal/tile/map/ArcGisUtilities.d.ts.map +1 -1
  78. package/lib/esm/internal/tile/map/ArcGisUtilities.js +55 -30
  79. package/lib/esm/internal/tile/map/ArcGisUtilities.js.map +1 -1
  80. package/lib/esm/internal/tile/map/ImageryProviders/ArcGISImageryProvider.d.ts +14 -0
  81. package/lib/esm/internal/tile/map/ImageryProviders/ArcGISImageryProvider.d.ts.map +1 -1
  82. package/lib/esm/internal/tile/map/ImageryProviders/ArcGISImageryProvider.js +92 -46
  83. package/lib/esm/internal/tile/map/ImageryProviders/ArcGISImageryProvider.js.map +1 -1
  84. package/lib/esm/internal/tile/map/ImageryProviders/ArcGISMapLayerImageryProvider.d.ts.map +1 -1
  85. package/lib/esm/internal/tile/map/ImageryProviders/ArcGISMapLayerImageryProvider.js +5 -4
  86. package/lib/esm/internal/tile/map/ImageryProviders/ArcGISMapLayerImageryProvider.js.map +1 -1
  87. package/lib/esm/internal/tile/map/ImageryProviders/WmsMapLayerImageryProvider.d.ts.map +1 -1
  88. package/lib/esm/internal/tile/map/ImageryProviders/WmsMapLayerImageryProvider.js +9 -3
  89. package/lib/esm/internal/tile/map/ImageryProviders/WmsMapLayerImageryProvider.js.map +1 -1
  90. package/lib/esm/internal/tile/map/ImageryProviders/WmtsMapLayerImageryProvider.d.ts.map +1 -1
  91. package/lib/esm/internal/tile/map/ImageryProviders/WmtsMapLayerImageryProvider.js +9 -3
  92. package/lib/esm/internal/tile/map/ImageryProviders/WmtsMapLayerImageryProvider.js.map +1 -1
  93. package/lib/esm/internal/tile/map/MapLayerFetch.d.ts +57 -0
  94. package/lib/esm/internal/tile/map/MapLayerFetch.d.ts.map +1 -0
  95. package/lib/esm/internal/tile/map/MapLayerFetch.js +91 -0
  96. package/lib/esm/internal/tile/map/MapLayerFetch.js.map +1 -0
  97. package/lib/esm/internal/tile/map/UrlUtils.js +1 -1
  98. package/lib/esm/internal/tile/map/UrlUtils.js.map +1 -1
  99. package/lib/esm/internal/tile/map/WmsCapabilities.d.ts +2 -5
  100. package/lib/esm/internal/tile/map/WmsCapabilities.d.ts.map +1 -1
  101. package/lib/esm/internal/tile/map/WmsCapabilities.js +16 -9
  102. package/lib/esm/internal/tile/map/WmsCapabilities.js.map +1 -1
  103. package/lib/esm/internal/tile/map/WmsUtilities.d.ts +29 -1
  104. package/lib/esm/internal/tile/map/WmsUtilities.d.ts.map +1 -1
  105. package/lib/esm/internal/tile/map/WmsUtilities.js +44 -12
  106. package/lib/esm/internal/tile/map/WmsUtilities.js.map +1 -1
  107. package/lib/esm/internal/tile/map/WmtsCapabilities.d.ts +2 -5
  108. package/lib/esm/internal/tile/map/WmtsCapabilities.d.ts.map +1 -1
  109. package/lib/esm/internal/tile/map/WmtsCapabilities.js +16 -9
  110. package/lib/esm/internal/tile/map/WmtsCapabilities.js.map +1 -1
  111. package/lib/esm/tile/internal.d.ts +2 -0
  112. package/lib/esm/tile/internal.d.ts.map +1 -1
  113. package/lib/esm/tile/internal.js +2 -0
  114. package/lib/esm/tile/internal.js.map +1 -1
  115. package/lib/esm/tile/map/MapLayerFetchHandler.d.ts +94 -0
  116. package/lib/esm/tile/map/MapLayerFetchHandler.d.ts.map +1 -0
  117. package/lib/esm/tile/map/MapLayerFetchHandler.js +9 -0
  118. package/lib/esm/tile/map/MapLayerFetchHandler.js.map +1 -0
  119. package/lib/esm/tile/map/MapLayerFormatRegistry.d.ts +27 -1
  120. package/lib/esm/tile/map/MapLayerFormatRegistry.d.ts.map +1 -1
  121. package/lib/esm/tile/map/MapLayerFormatRegistry.js +40 -0
  122. package/lib/esm/tile/map/MapLayerFormatRegistry.js.map +1 -1
  123. package/lib/esm/tile/map/MapLayerImageryFormats.d.ts.map +1 -1
  124. package/lib/esm/tile/map/MapLayerImageryFormats.js +21 -5
  125. package/lib/esm/tile/map/MapLayerImageryFormats.js.map +1 -1
  126. package/lib/esm/tile/map/MapLayerImageryProvider.d.ts +28 -16
  127. package/lib/esm/tile/map/MapLayerImageryProvider.d.ts.map +1 -1
  128. package/lib/esm/tile/map/MapLayerImageryProvider.js +136 -68
  129. package/lib/esm/tile/map/MapLayerImageryProvider.js.map +1 -1
  130. package/lib/esm/tile/map/MapLayerSources.d.ts +19 -4
  131. package/lib/esm/tile/map/MapLayerSources.d.ts.map +1 -1
  132. package/lib/esm/tile/map/MapLayerSources.js +28 -11
  133. package/lib/esm/tile/map/MapLayerSources.js.map +1 -1
  134. package/package.json +21 -21
package/CHANGELOG.md CHANGED
@@ -1,6 +1,14 @@
1
1
  # Change Log - @itwin/core-frontend
2
2
 
3
- This log was last generated on Tue, 27 Oct 2026 12:20:35 GMT and should not be manually modified.
3
+ This log was last generated on Wed, 04 Nov 2026 17:36:46 GMT and should not be manually modified.
4
+
5
+ ## 5.14.6
6
+ Wed, 04 Nov 2026 17:35:14 GMT
7
+
8
+ ### Updates
9
+
10
+ - Fix parser specs created through the `QuantityFormatter` spec registry, and parser specs requested for a non-active unit system, ignoring alternate unit labels.
11
+ - Allow `QuantityFormatter.addAlternateLabels` to add labels for units without default alternates, and add default "kph", "kmh" and "mph" alternate labels for velocity units.
4
12
 
5
13
  ## 5.14.5
6
14
  Tue, 27 Oct 2026 12:19:48 GMT
@@ -106,7 +106,7 @@ export type { TxnEntityChange, TxnEntityChangeIterable, TxnEntityChangeType, Txn
106
106
  * @deprecated in 5.13.0 - will not be removed until after 2027-09-03. Use [TxnEntityMetadata]($common) from @itwin/core-common instead.
107
107
  */
108
108
  export type TxnEntityMetadata = _TxnEntityMetadata;
109
- export { type TileTreeDiscloser, DisclosedTileTreeSet, type ReadGltfGraphicsArgs, type GltfGraphic, type GltfTemplate, readGltfGraphics, readGltfTemplate, readGltf, readElementGraphics, type BatchTableProperties, RealityTileTree, type RealityTileGeometry, RealityTile, type RenderGraphicTileTreeArgs, type GpuMemoryLimit, type GpuMemoryLimits, TileAdmin, type TileContent, type TiledGraphicsProvider, type TileDrawArgParams, TileDrawArgs, type CollectTileStatus, type TileGeometryCollectorOptions, TileGeometryCollector, type GeometryTileTreeReference, type GeometryTileTreeReferenceOptions, type TileParams, TileRequestChannels, type TileContentDecodingStatistics, TileRequestChannelStatistics, TileRequestChannel, TileRequest, type TileTreeOwner, type TileTreeParams, TileGraphicType, TileTreeReference, type TileTreeSupplier, TileTreeLoadStatus, TileTree, Tile, TileLoadStatus, TileVisibility, TileLoadPriority, TileBoundingBoxes, TileUsageMarker, TileUser, BingElevationProvider, QuadId, type QuadIdProps, MapTilingScheme, GeographicTilingScheme, WebMercatorProjection, WebMercatorTilingScheme, type MapLayerIndex, MapTileProjection, MapTile, MapLayerTileTreeReference, MapLayerSourceStatus, type MapLayerSourceProps, MapLayerSource, MapLayerSources, MapLayerImageryProviderStatus, MapLayerImageryProvider, ImageryMapLayerFormat, MapLayerFormat, type ValidateSourceArgs, type MapLayerFormatType, type MapLayerSourceValidation, type MapLayerOptions, MapLayerFormatRegistry, type MapLayerTokenEndpoint, type MapLayerAuthenticationInfo, type MapLayerAccessToken, type MapLayerAccessTokenParams, type MapLayerAccessClient, type MapFeatureInfoOptions, MapFeatureInfoRecord, type MapFeatureInfo, type MapLayerFeatureInfo, type MapSubLayerFeatureInfo, type MapLayerFeature, type MapLayerFeatureGeometry, type MapLayerFeatureAttribute, MapLayerFeatureRecord, MapCartoRectangle, ImageryMapLayerTreeReference, EllipsoidTerrainProvider, getCesiumAssetUrl, MapTileTreeScaleRangeVisibility, MapTileTree, type TerrainMeshProviderOptions, type RequestMeshDataArgs, type ReadMeshArgs, TerrainMeshProvider, type TerrainProvider, TerrainProviderRegistry, } from "./tile/internal";
109
+ export { type TileTreeDiscloser, DisclosedTileTreeSet, type ReadGltfGraphicsArgs, type GltfGraphic, type GltfTemplate, readGltfGraphics, readGltfTemplate, readGltf, readElementGraphics, type BatchTableProperties, RealityTileTree, type RealityTileGeometry, RealityTile, type RenderGraphicTileTreeArgs, type GpuMemoryLimit, type GpuMemoryLimits, TileAdmin, type TileContent, type TiledGraphicsProvider, type TileDrawArgParams, TileDrawArgs, type CollectTileStatus, type TileGeometryCollectorOptions, TileGeometryCollector, type GeometryTileTreeReference, type GeometryTileTreeReferenceOptions, type TileParams, TileRequestChannels, type TileContentDecodingStatistics, TileRequestChannelStatistics, TileRequestChannel, TileRequest, type TileTreeOwner, type TileTreeParams, TileGraphicType, TileTreeReference, type TileTreeSupplier, TileTreeLoadStatus, TileTree, Tile, TileLoadStatus, TileVisibility, TileLoadPriority, TileBoundingBoxes, TileUsageMarker, TileUser, BingElevationProvider, QuadId, type QuadIdProps, MapTilingScheme, GeographicTilingScheme, WebMercatorProjection, WebMercatorTilingScheme, type MapLayerIndex, MapTileProjection, MapTile, MapLayerTileTreeReference, MapLayerSourceStatus, type MapLayerSourceProps, MapLayerSource, MapLayerSources, MapLayerImageryProviderStatus, MapLayerImageryProvider, ImageryMapLayerFormat, MapLayerFormat, type ValidateSourceArgs, type MapLayerFormatType, type MapLayerSourceValidation, type MapLayerOptions, MapLayerFormatRegistry, MapLayerAuthenticationFailedError, type MapLayerTokenEndpoint, type MapLayerAuthenticationInfo, type MapLayerAccessToken, type MapLayerAccessTokenParams, type MapLayerAccessClient, type MapLayerRequest, type MapLayerFetchRequest, type MapLayerFetchHandler, type MapFeatureInfoOptions, MapFeatureInfoRecord, type MapFeatureInfo, type MapLayerFeatureInfo, type MapSubLayerFeatureInfo, type MapLayerFeature, type MapLayerFeatureGeometry, type MapLayerFeatureAttribute, MapLayerFeatureRecord, MapCartoRectangle, ImageryMapLayerTreeReference, EllipsoidTerrainProvider, getCesiumAssetUrl, MapTileTreeScaleRangeVisibility, MapTileTree, type TerrainMeshProviderOptions, type RequestMeshDataArgs, type ReadMeshArgs, TerrainMeshProvider, type TerrainProvider, TerrainProviderRegistry, } from "./tile/internal";
110
110
  export * from "./tools/AccuDrawTool";
111
111
  export * from "./tools/AccuDrawViewportUI";
112
112
  export * from "./tools/ClipViewTool";
@@ -1 +1 @@
1
- {"version":3,"file":"core-frontend.d.ts","sourceRoot":"","sources":["../../src/core-frontend.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,iBAAiB,IAAI,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAElF,cAAc,YAAY,CAAC;AAC3B,cAAc,YAA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;;;GAGG;AACH;;;EAGE"}
@@ -18,8 +18,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
18
18
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
19
19
  };
20
20
  Object.defineProperty(exports, "__esModule", { value: true });
21
- exports.MapTileTree = exports.MapTileTreeScaleRangeVisibility = exports.getCesiumAssetUrl = exports.EllipsoidTerrainProvider = exports.ImageryMapLayerTreeReference = exports.MapCartoRectangle = exports.MapLayerFeatureRecord = exports.MapFeatureInfoRecord = exports.MapLayerFormatRegistry = exports.MapLayerFormat = exports.ImageryMapLayerFormat = exports.MapLayerImageryProvider = exports.MapLayerImageryProviderStatus = exports.MapLayerSources = exports.MapLayerSource = exports.MapLayerSourceStatus = exports.MapLayerTileTreeReference = exports.MapTile = exports.MapTileProjection = exports.WebMercatorTilingScheme = exports.WebMercatorProjection = exports.GeographicTilingScheme = exports.MapTilingScheme = exports.QuadId = exports.BingElevationProvider = exports.TileUser = exports.TileUsageMarker = exports.TileBoundingBoxes = exports.TileLoadPriority = exports.TileVisibility = exports.TileLoadStatus = exports.Tile = exports.TileTree = exports.TileTreeLoadStatus = exports.TileTreeReference = exports.TileGraphicType = exports.TileRequest = exports.TileRequestChannel = exports.TileRequestChannelStatistics = exports.TileRequestChannels = exports.TileGeometryCollector = exports.TileDrawArgs = exports.TileAdmin = exports.RealityTile = exports.RealityTileTree = exports.readElementGraphics = exports.readGltf = exports.readGltfTemplate = exports.readGltfGraphics = exports.DisclosedTileTreeSet = void 0;
22
- exports.TerrainProviderRegistry = exports.TerrainMeshProvider = void 0;
21
+ exports.MapTileTreeScaleRangeVisibility = exports.getCesiumAssetUrl = exports.EllipsoidTerrainProvider = exports.ImageryMapLayerTreeReference = exports.MapCartoRectangle = exports.MapLayerFeatureRecord = exports.MapFeatureInfoRecord = exports.MapLayerAuthenticationFailedError = exports.MapLayerFormatRegistry = exports.MapLayerFormat = exports.ImageryMapLayerFormat = exports.MapLayerImageryProvider = exports.MapLayerImageryProviderStatus = exports.MapLayerSources = exports.MapLayerSource = exports.MapLayerSourceStatus = exports.MapLayerTileTreeReference = exports.MapTile = exports.MapTileProjection = exports.WebMercatorTilingScheme = exports.WebMercatorProjection = exports.GeographicTilingScheme = exports.MapTilingScheme = exports.QuadId = exports.BingElevationProvider = exports.TileUser = exports.TileUsageMarker = exports.TileBoundingBoxes = exports.TileLoadPriority = exports.TileVisibility = exports.TileLoadStatus = exports.Tile = exports.TileTree = exports.TileTreeLoadStatus = exports.TileTreeReference = exports.TileGraphicType = exports.TileRequest = exports.TileRequestChannel = exports.TileRequestChannelStatistics = exports.TileRequestChannels = exports.TileGeometryCollector = exports.TileDrawArgs = exports.TileAdmin = exports.RealityTile = exports.RealityTileTree = exports.readElementGraphics = exports.readGltf = exports.readGltfTemplate = exports.readGltfGraphics = exports.DisclosedTileTreeSet = void 0;
22
+ exports.TerrainProviderRegistry = exports.TerrainMeshProvider = exports.MapTileTree = void 0;
23
23
  __exportStar(require("./AccuDraw"), exports);
24
24
  __exportStar(require("./AccuSnap"), exports);
25
25
  __exportStar(require("./AuxCoordSys"), exports);
@@ -165,6 +165,7 @@ Object.defineProperty(exports, "MapLayerImageryProvider", { enumerable: true, ge
165
165
  Object.defineProperty(exports, "ImageryMapLayerFormat", { enumerable: true, get: function () { return internal_1.ImageryMapLayerFormat; } });
166
166
  Object.defineProperty(exports, "MapLayerFormat", { enumerable: true, get: function () { return internal_1.MapLayerFormat; } });
167
167
  Object.defineProperty(exports, "MapLayerFormatRegistry", { enumerable: true, get: function () { return internal_1.MapLayerFormatRegistry; } });
168
+ Object.defineProperty(exports, "MapLayerAuthenticationFailedError", { enumerable: true, get: function () { return internal_1.MapLayerAuthenticationFailedError; } });
168
169
  Object.defineProperty(exports, "MapFeatureInfoRecord", { enumerable: true, get: function () { return internal_1.MapFeatureInfoRecord; } });
169
170
  Object.defineProperty(exports, "MapLayerFeatureRecord", { enumerable: true, get: function () { return internal_1.MapLayerFeatureRecord; } });
170
171
  Object.defineProperty(exports, "MapCartoRectangle", { enumerable: true, get: function () { return internal_1.MapCartoRectangle; } });
@@ -1 +1 @@
1
- {"version":3,"file":"core-frontend.js","sourceRoot":"","sources":["../../src/core-frontend.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;;;;;;;;;;;;;;;;;;AAI/F,6CAA2B;AAC3B,6CAA2B;AAC3B,gDAA8B;AAC9B,iDAA+B;AAC/B,wDAAsC;AACtC,iDAA+B;AAC/B,kDAAgC;AAChC,sDAAoC;AACpC,0DAAwC;AACxC,uDAAqC;AACrC,gDAA8B;AAC9B,yDAAuC;AACvC,2CAAyB;AACzB,6DAA2C;AAC3C,gDAA8B;AAC9B,qDAAmC;AACnC,6CAA2B;AAC3B,sDAAoC;AACpC,qDAAmC;AACnC,yDAAuC;AACvC,sDAAoC;AACpC,gDAA8B;AAC9B,2DAAyC;AACzC,4DAA0C;AAC1C,kDAAgC;AAChC,sDAAoC;AACpC,8CAA4B;AAC5B,oDAAkC;AAClC,gDAA8B;AAC9B,gDAA8B;AAC9B,kDAAgC;AAChC,0DAAwC;AACxC,8CAA4B;AAC5B,8CAA4B;AAC5B,qDAAmC;AACnC,yDAAuC;AACvC,2CAAyB;AACzB,uDAAqC;AACrC,kDAAgC;AAChC,2CAAyB;AACzB,uDAAqC;AACrC,+CAA6B;AAC7B,8CAA4B;AAC5B,oDAAkC;AAClC,gDAA8B;AAC9B,wDAAsC;AACtC,+DAA6C;AAC7C,wDAAsC;AACtC,iDAA+B;AAC/B,mDAAiC;AACjC,4DAA0C;AAC1C,qDAAmC;AACnC,4CAA0B;AAC1B,iDAA+B;AAC/B,uDAAqC;AACrC,mDAAiC;AACjC,0CAAwB;AACxB,oDAAkC;AAClC,kDAAgC;AAChC,gDAA8B;AAC9B,uDAAqC;AACrC,iDAA+B;AAC/B,gDAA8B;AAC9B,6CAA2B;AAC3B,iDAA+B;AAC/B,6CAA2B;AAC3B,8CAA4B;AAC5B,+CAA6B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;;GAIG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;;GAIG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;GAGG;AACH;;;;GAIG;AACH;;;GAGG;AACH;;;EAGE","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\r\nimport type { TxnEntityMetadata as _TxnEntityMetadata } from \"@itwin/core-common\";\r\n\r\nexport * from \"./AccuDraw\";\r\nexport * from \"./AccuSnap\";\r\nexport * from \"./AuxCoordSys\";\r\nexport * from \"./BingLocation\";\r\nexport * from \"./BriefcaseConnection\";\r\nexport * from \"./GeoProviders\";\r\nexport * from \"./BriefcaseTxns\";\r\nexport * from \"./CatalogConnection\";\r\nexport * from \"./CategorySelectorState\";\r\nexport * from \"./CesiumAccessClient\";\r\nexport * from \"./ChangeFlags\";\r\nexport * from \"./CheckpointConnection\";\r\nexport * from \"./common\";\r\nexport * from \"./ContextRealityModelState\";\r\nexport * from \"./CoordSystem\";\r\nexport * from \"./DecorationsCache\";\r\nexport * from \"./DevTools\";\r\nexport * from \"./DisplayStyleState\";\r\nexport * from \"./DrawingViewState\";\r\nexport * from \"./ElementLocateManager\";\r\nexport * from \"./EmphasizeElements\";\r\nexport * from \"./EntityState\";\r\nexport * from \"./EnvironmentDecorations\";\r\nexport * from \"./FeatureOverrideProvider\";\r\nexport * from \"./FlashSettings\";\r\nexport * from \"./FrontendHubAccess\";\r\nexport * from \"./Frustum2d\";\r\nexport * from \"./FrustumAnimator\";\r\nexport * from \"./FuzzySearch\";\r\nexport * from \"./GeoServices\";\r\nexport * from \"./GlobeAnimator\";\r\nexport * from \"./GraphicalEditingScope\";\r\nexport * from \"./HitDetail\";\r\nexport * from \"./IModelApp\";\r\nexport * from \"./IModelConnection\";\r\nexport * from \"./IModelRoutingContext\";\r\nexport * from \"./IpcApp\";\r\nexport * from \"./LinePlaneIntersect\";\r\nexport * from \"./MarginPercent\";\r\nexport * from \"./Marker\";\r\nexport * from \"./ModelSelectorState\";\r\nexport * from \"./ModelState\";\r\nexport * from \"./NativeApp\";\r\nexport * from \"./NativeAppLogger\";\r\nexport * from \"./NoRenderApp\";\r\nexport * from \"./NotificationManager\";\r\nexport * from \"./PerModelCategoryVisibility\";\r\nexport * from \"./PlanarClipMaskState\";\r\nexport * from \"./SelectionSet\";\r\nexport * from \"./SheetViewState\";\r\nexport * from \"./SpatialClassifiersState\";\r\nexport * from \"./SpatialViewState\";\r\nexport * from \"./Sprites\";\r\nexport * from \"./StandardView\";\r\nexport * from \"./SubCategoriesCache\";\r\nexport * from \"./TentativePoint\";\r\nexport * from \"./Tiles\";\r\nexport * from \"./UserPreferences\";\r\nexport * from \"./ViewAnimation\";\r\nexport * from \"./ViewContext\";\r\nexport * from \"./ViewGlobalLocation\";\r\nexport * from \"./ViewingSpace\";\r\nexport * from \"./ViewManager\";\r\nexport * from \"./Viewport\";\r\nexport * from \"./ViewportSync\";\r\nexport * from \"./ViewPose\";\r\nexport * from \"./ViewState\";\r\nexport * from \"./ViewStatus\";\r\nexport * from \"./extension/Extension\";\r\nexport * from \"./extension/providers/LocalExtensionProvider\";\r\nexport * from \"./extension/providers/RemoteExtensionProvider\";\r\nexport * from \"./properties/AngleDescription\";\r\nexport * from \"./properties/FormattedQuantityDescription\";\r\nexport * from \"./properties/LengthDescription\";\r\nexport * from \"./quantity-formatting/QuantityFormatter\";\r\nexport * from \"./quantity-formatting/BaseUnitFormattingSettingsProvider\";\r\nexport * from \"./quantity-formatting/LocalUnitFormatProvider\";\r\nexport * from \"./quantity-formatting/QuantityTypesEditorSpecs\";\r\nexport * from \"./render/CanvasDecoration\";\r\nexport * from \"./render/CreateRenderMaterialArgs\";\r\nexport * from \"./render/CreateTextureArgs\";\r\nexport * from \"./render/Decorations\";\r\nexport * from \"./render/FeatureSymbology\";\r\nexport * from \"./render/FrameStats\";\r\nexport * from \"./render/GraphicBranch\";\r\nexport * from \"./render/GraphicBuilder\";\r\nexport * from \"./render/GraphicTemplate\";\r\nexport * from \"./render/MeshArgs\";\r\nexport * from \"./render/ParticleCollectionBuilder\";\r\nexport * from \"./render/Pixel\";\r\nexport * from \"./render/PolylineArgs\";\r\nexport * from \"./render/RealityMeshParams\";\r\nexport * from \"./render/RenderClipVolume\";\r\nexport * from \"./render/RenderGraphic\";\r\nexport * from \"./render/RenderMemory\";\r\nexport * from \"./render/RenderSystem\";\r\nexport * from \"./render/RenderTarget\";\r\nexport * from \"./render/Scene\";\r\nexport * from \"./render/ScreenSpaceEffectBuilder\";\r\nexport * from \"./render/VisibleFeature\";\r\nexport * from \"./internal/render/webgl/IModelFrameLifecycle\";\r\nexport type {\r\n TxnEntityChange,\r\n TxnEntityChangeIterable,\r\n TxnEntityChangeType,\r\n TxnEntityChanges,\r\n TxnEntityChangesFilterOptions,\r\n TxnEntityMetadataCriterion,\r\n} from \"./TxnEntityChanges\";\r\n/** Deprecated frontend alias for the common TxnEntityMetadata interface.\r\n * @public\r\n * @deprecated in 5.13.0 - will not be removed until after 2027-09-03. Use [TxnEntityMetadata]($common) from @itwin/core-common instead.\r\n */\r\nexport type TxnEntityMetadata = _TxnEntityMetadata;\r\nexport {\r\n type TileTreeDiscloser, DisclosedTileTreeSet,\r\n type ReadGltfGraphicsArgs, type GltfGraphic, type GltfTemplate, readGltfGraphics, readGltfTemplate, readGltf,\r\n readElementGraphics,\r\n type BatchTableProperties, RealityTileTree,\r\n type RealityTileGeometry, RealityTile,\r\n type RenderGraphicTileTreeArgs,\r\n type GpuMemoryLimit, type GpuMemoryLimits, TileAdmin,\r\n type TileContent,\r\n type TiledGraphicsProvider,\r\n type TileDrawArgParams, TileDrawArgs,\r\n type CollectTileStatus, type TileGeometryCollectorOptions, TileGeometryCollector, type GeometryTileTreeReference,\r\n type GeometryTileTreeReferenceOptions,\r\n type TileParams,\r\n TileRequestChannels,\r\n type TileContentDecodingStatistics, TileRequestChannelStatistics, TileRequestChannel,\r\n TileRequest,\r\n type TileTreeOwner,\r\n type TileTreeParams,\r\n TileGraphicType, TileTreeReference,\r\n type TileTreeSupplier,\r\n TileTreeLoadStatus, TileTree,\r\n Tile, TileLoadStatus, TileVisibility, TileLoadPriority, TileBoundingBoxes,\r\n TileUsageMarker,\r\n TileUser,\r\n // eslint-disable-next-line @typescript-eslint/no-deprecated\r\n BingElevationProvider,\r\n QuadId, type QuadIdProps,\r\n MapTilingScheme, GeographicTilingScheme, WebMercatorProjection, WebMercatorTilingScheme,\r\n type MapLayerIndex,\r\n MapTileProjection, MapTile,\r\n MapLayerTileTreeReference,\r\n MapLayerSourceStatus, type MapLayerSourceProps, MapLayerSource, MapLayerSources,\r\n MapLayerImageryProviderStatus, MapLayerImageryProvider,\r\n ImageryMapLayerFormat,\r\n MapLayerFormat, type ValidateSourceArgs, type MapLayerFormatType, type MapLayerSourceValidation, type MapLayerOptions, MapLayerFormatRegistry,\r\n type MapLayerTokenEndpoint, type MapLayerAuthenticationInfo, type MapLayerAccessToken, type MapLayerAccessTokenParams, type MapLayerAccessClient,\r\n type MapFeatureInfoOptions, MapFeatureInfoRecord, type MapFeatureInfo, type MapLayerFeatureInfo, type MapSubLayerFeatureInfo, type MapLayerFeature, type MapLayerFeatureGeometry, type MapLayerFeatureAttribute, MapLayerFeatureRecord,\r\n MapCartoRectangle,\r\n ImageryMapLayerTreeReference,\r\n EllipsoidTerrainProvider,\r\n getCesiumAssetUrl,\r\n MapTileTreeScaleRangeVisibility, MapTileTree,\r\n type TerrainMeshProviderOptions, type RequestMeshDataArgs, type ReadMeshArgs, TerrainMeshProvider,\r\n type TerrainProvider, TerrainProviderRegistry,\r\n} from \"./tile/internal\";\r\nexport * from \"./tools/AccuDrawTool\";\r\nexport * from \"./tools/AccuDrawViewportUI\";\r\nexport * from \"./tools/ClipViewTool\";\r\nexport * from \"./tools/EditManipulator\";\r\nexport * from \"./tools/ElementSetTool\";\r\nexport * from \"./tools/EventController\";\r\nexport * from \"./tools/IdleTool\";\r\nexport * from \"./tools/MeasureTool\";\r\nexport * from \"./tools/PrimitiveTool\";\r\nexport * from \"./tools/SelectTool\";\r\nexport * from \"./tools/SetupCameraTools\";\r\nexport * from \"./tools/Tool\";\r\nexport * from \"./tools/ToolSettings\";\r\nexport * from \"./tools/ToolAdmin\";\r\nexport * from \"./tools/ToolAssistance\";\r\nexport * from \"./tools/ViewTool\";\r\nexport * from \"./workers/RegisterWorker\";\r\nexport * from \"./BackgroundMapGeometry\";\r\nexport * from \"./ViewCreator2d\";\r\nexport * from \"./ViewCreator3d\";\r\nexport * from \"./LocalhostIpcApp\";\r\nexport * from \"./request/utils\";\r\nexport * from \"./RealityDataSource\";\r\n\r\nexport * from \"./internal/cross-package\";\r\n\r\n// TODO/FIX: \"./extension/ExtensionRuntime\" import has to be last to avoid circular dependency errors.\r\nimport \"./extension/ExtensionRuntime\";\r\n\r\n/** @docs-package-description\r\n * The core-frontend package always runs in a web browser. It contains classes for [querying iModels and showing views]($docs/learning/frontend/index.md).\r\n */\r\n\r\n/**\r\n * @docs-group-description IModelApp\r\n * Classes for configuring and administering an iTwin.js application.\r\n * See [the learning articles]($docs/learning/frontend/index.md).\r\n */\r\n/**\r\n * @docs-group-description IModelConnection\r\n * Classes for working with a connection to an [iModel briefcase]($docs/learning/IModels.md)\r\n */\r\n/**\r\n * @docs-group-description ElementState\r\n * Classes for working with the *state* of Elements in the frontend.\r\n * See [the learning articles]($docs/learning/frontend/index.md).\r\n */\r\n/**\r\n * @docs-group-description ModelState\r\n * Classes for working with the *state* of Models in the frontend.\r\n * See [the learning articles]($docs/learning/frontend/index.md).\r\n */\r\n/**\r\n * @docs-group-description Tools\r\n * Classes for [working with Tools]($docs/learning/frontend/Tools.md)\r\n */\r\n/**\r\n * @docs-group-description Measure\r\n * Classes for reporting point to point distances and mass properties of elements.\r\n */\r\n/**\r\n * @docs-group-description Views\r\n * Classes for [working with Views]($docs/learning/frontend/Views.md)\r\n */\r\n/**\r\n * @docs-group-description LocatingElements\r\n * Classes for locating and snapping to elements in views.\r\n * See [the learning articles]($docs/learning/frontend/index.md).\r\n */\r\n/**\r\n * @docs-group-description AccuDraw\r\n * AccuDraw provides helpful assistance for creating and modifying elements in a view.\r\n * See [the learning articles]($docs/learning/frontend/index.md).\r\n */\r\n/**\r\n * @docs-group-description Notifications\r\n * Notifications provide feedback to the user of something of interest.\r\n * See [the learning articles]($docs/learning/frontend/index.md).\r\n */\r\n/**\r\n * @docs-group-description Extensions\r\n * Classes for creating and managing Extensions.\r\n */\r\n/**\r\n * @docs-group-description Properties\r\n * Classes for working with property records and descriptions.\r\n */\r\n/**\r\n * @docs-group-description Rendering\r\n * Classes for rendering the contents of views.\r\n */\r\n/**\r\n * @docs-group-description SelectionSet\r\n * Classes for working with the set of selected elements.\r\n * See [the learning articles]($docs/learning/frontend/index.md).\r\n */\r\n/**\r\n * @docs-group-description NativeApp\r\n * Classes for working with Native Applications\r\n */\r\n/**\r\n * @docs-group-description Utils\r\n * Miscellaneous utility classes.\r\n */\r\n/**\r\n * @docs-group-description Logging\r\n * Logger categories used by this package\r\n */\r\n/**\r\n * @docs-group-description QuantityFormatting\r\n * Classes for formatting and parsing quantity values.\r\n */\r\n/**\r\n * @docs-group-description Tiles\r\n * Classes representing graphics as [hierarchical 3d tiles](https://github.com/CesiumGS/3d-tiles).\r\n */\r\n/**\r\n * @docs-group-description HubAccess\r\n * APIs for working with IModelHub\r\n */\r\n/**\r\n * @docs-group-description UserPreferences\r\n * APIs for working with user preferences in an iModelApp.\r\n * See [the learning articles]($docs/learning/frontend/preferences.md).\r\n */\r\n/**\r\n * @docs-group-description MapLayers\r\n * Classes supporting map layers display.\r\n */\r\n/**\r\n * @docs-group-description TileStorage\r\n * Class for working with cloud storage using iTwin/object-storage cloud providers\r\n*/"]}
1
+ {"version":3,"file":"core-frontend.js","sourceRoot":"","sources":["../../src/core-frontend.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AACH;;;GAGG;AACH;;;;GAIG;AACH;;;GAGG;AACH;;;EAGE","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\r\nimport type { TxnEntityMetadata as _TxnEntityMetadata } from \"@itwin/core-common\";\r\n\r\nexport * from \"./AccuDraw\";\r\nexport * from \"./AccuSnap\";\r\nexport * from \"./AuxCoordSys\";\r\nexport * from \"./BingLocation\";\r\nexport * from \"./BriefcaseConnection\";\r\nexport * from \"./GeoProviders\";\r\nexport * from \"./BriefcaseTxns\";\r\nexport * from \"./CatalogConnection\";\r\nexport * from \"./CategorySelectorState\";\r\nexport * from \"./CesiumAccessClient\";\r\nexport * from \"./ChangeFlags\";\r\nexport * from \"./CheckpointConnection\";\r\nexport * from \"./common\";\r\nexport * from \"./ContextRealityModelState\";\r\nexport * from \"./CoordSystem\";\r\nexport * from \"./DecorationsCache\";\r\nexport * from \"./DevTools\";\r\nexport * from \"./DisplayStyleState\";\r\nexport * from \"./DrawingViewState\";\r\nexport * from \"./ElementLocateManager\";\r\nexport * from \"./EmphasizeElements\";\r\nexport * from \"./EntityState\";\r\nexport * from \"./EnvironmentDecorations\";\r\nexport * from \"./FeatureOverrideProvider\";\r\nexport * from \"./FlashSettings\";\r\nexport * from \"./FrontendHubAccess\";\r\nexport * from \"./Frustum2d\";\r\nexport * from \"./FrustumAnimator\";\r\nexport * from \"./FuzzySearch\";\r\nexport * from \"./GeoServices\";\r\nexport * from \"./GlobeAnimator\";\r\nexport * from \"./GraphicalEditingScope\";\r\nexport * from \"./HitDetail\";\r\nexport * from \"./IModelApp\";\r\nexport * from \"./IModelConnection\";\r\nexport * from \"./IModelRoutingContext\";\r\nexport * from \"./IpcApp\";\r\nexport * from \"./LinePlaneIntersect\";\r\nexport * from \"./MarginPercent\";\r\nexport * from \"./Marker\";\r\nexport * from \"./ModelSelectorState\";\r\nexport * from \"./ModelState\";\r\nexport * from \"./NativeApp\";\r\nexport * from \"./NativeAppLogger\";\r\nexport * from \"./NoRenderApp\";\r\nexport * from \"./NotificationManager\";\r\nexport * from \"./PerModelCategoryVisibility\";\r\nexport * from \"./PlanarClipMaskState\";\r\nexport * from \"./SelectionSet\";\r\nexport * from \"./SheetViewState\";\r\nexport * from \"./SpatialClassifiersState\";\r\nexport * from \"./SpatialViewState\";\r\nexport * from \"./Sprites\";\r\nexport * from \"./StandardView\";\r\nexport * from \"./SubCategoriesCache\";\r\nexport * from \"./TentativePoint\";\r\nexport * from \"./Tiles\";\r\nexport * from \"./UserPreferences\";\r\nexport * from \"./ViewAnimation\";\r\nexport * from \"./ViewContext\";\r\nexport * from \"./ViewGlobalLocation\";\r\nexport * from \"./ViewingSpace\";\r\nexport * from \"./ViewManager\";\r\nexport * from \"./Viewport\";\r\nexport * from \"./ViewportSync\";\r\nexport * from \"./ViewPose\";\r\nexport * from \"./ViewState\";\r\nexport * from \"./ViewStatus\";\r\nexport * from \"./extension/Extension\";\r\nexport * from \"./extension/providers/LocalExtensionProvider\";\r\nexport * from \"./extension/providers/RemoteExtensionProvider\";\r\nexport * from \"./properties/AngleDescription\";\r\nexport * from \"./properties/FormattedQuantityDescription\";\r\nexport * from \"./properties/LengthDescription\";\r\nexport * from \"./quantity-formatting/QuantityFormatter\";\r\nexport * from \"./quantity-formatting/BaseUnitFormattingSettingsProvider\";\r\nexport * from \"./quantity-formatting/LocalUnitFormatProvider\";\r\nexport * from \"./quantity-formatting/QuantityTypesEditorSpecs\";\r\nexport * from \"./render/CanvasDecoration\";\r\nexport * from \"./render/CreateRenderMaterialArgs\";\r\nexport * from \"./render/CreateTextureArgs\";\r\nexport * from \"./render/Decorations\";\r\nexport * from \"./render/FeatureSymbology\";\r\nexport * from \"./render/FrameStats\";\r\nexport * from \"./render/GraphicBranch\";\r\nexport * from \"./render/GraphicBuilder\";\r\nexport * from \"./render/GraphicTemplate\";\r\nexport * from \"./render/MeshArgs\";\r\nexport * from \"./render/ParticleCollectionBuilder\";\r\nexport * from \"./render/Pixel\";\r\nexport * from \"./render/PolylineArgs\";\r\nexport * from \"./render/RealityMeshParams\";\r\nexport * from \"./render/RenderClipVolume\";\r\nexport * from \"./render/RenderGraphic\";\r\nexport * from \"./render/RenderMemory\";\r\nexport * from \"./render/RenderSystem\";\r\nexport * from \"./render/RenderTarget\";\r\nexport * from \"./render/Scene\";\r\nexport * from \"./render/ScreenSpaceEffectBuilder\";\r\nexport * from \"./render/VisibleFeature\";\r\nexport * from \"./internal/render/webgl/IModelFrameLifecycle\";\r\nexport type {\r\n TxnEntityChange,\r\n TxnEntityChangeIterable,\r\n TxnEntityChangeType,\r\n TxnEntityChanges,\r\n TxnEntityChangesFilterOptions,\r\n TxnEntityMetadataCriterion,\r\n} from \"./TxnEntityChanges\";\r\n/** Deprecated frontend alias for the common TxnEntityMetadata interface.\r\n * @public\r\n * @deprecated in 5.13.0 - will not be removed until after 2027-09-03. Use [TxnEntityMetadata]($common) from @itwin/core-common instead.\r\n */\r\nexport type TxnEntityMetadata = _TxnEntityMetadata;\r\nexport {\r\n type TileTreeDiscloser, DisclosedTileTreeSet,\r\n type ReadGltfGraphicsArgs, type GltfGraphic, type GltfTemplate, readGltfGraphics, readGltfTemplate, readGltf,\r\n readElementGraphics,\r\n type BatchTableProperties, RealityTileTree,\r\n type RealityTileGeometry, RealityTile,\r\n type RenderGraphicTileTreeArgs,\r\n type GpuMemoryLimit, type GpuMemoryLimits, TileAdmin,\r\n type TileContent,\r\n type TiledGraphicsProvider,\r\n type TileDrawArgParams, TileDrawArgs,\r\n type CollectTileStatus, type TileGeometryCollectorOptions, TileGeometryCollector, type GeometryTileTreeReference,\r\n type GeometryTileTreeReferenceOptions,\r\n type TileParams,\r\n TileRequestChannels,\r\n type TileContentDecodingStatistics, TileRequestChannelStatistics, TileRequestChannel,\r\n TileRequest,\r\n type TileTreeOwner,\r\n type TileTreeParams,\r\n TileGraphicType, TileTreeReference,\r\n type TileTreeSupplier,\r\n TileTreeLoadStatus, TileTree,\r\n Tile, TileLoadStatus, TileVisibility, TileLoadPriority, TileBoundingBoxes,\r\n TileUsageMarker,\r\n TileUser,\r\n // eslint-disable-next-line @typescript-eslint/no-deprecated\r\n BingElevationProvider,\r\n QuadId, type QuadIdProps,\r\n MapTilingScheme, GeographicTilingScheme, WebMercatorProjection, WebMercatorTilingScheme,\r\n type MapLayerIndex,\r\n MapTileProjection, MapTile,\r\n MapLayerTileTreeReference,\r\n MapLayerSourceStatus, type MapLayerSourceProps, MapLayerSource, MapLayerSources,\r\n MapLayerImageryProviderStatus, MapLayerImageryProvider,\r\n ImageryMapLayerFormat,\r\n MapLayerFormat, type ValidateSourceArgs, type MapLayerFormatType, type MapLayerSourceValidation, type MapLayerOptions, MapLayerFormatRegistry, MapLayerAuthenticationFailedError,\r\n type MapLayerTokenEndpoint, type MapLayerAuthenticationInfo, type MapLayerAccessToken, type MapLayerAccessTokenParams, type MapLayerAccessClient,\r\n type MapLayerRequest, type MapLayerFetchRequest, type MapLayerFetchHandler,\r\n type MapFeatureInfoOptions, MapFeatureInfoRecord, type MapFeatureInfo, type MapLayerFeatureInfo, type MapSubLayerFeatureInfo, type MapLayerFeature, type MapLayerFeatureGeometry, type MapLayerFeatureAttribute, MapLayerFeatureRecord,\r\n MapCartoRectangle,\r\n ImageryMapLayerTreeReference,\r\n EllipsoidTerrainProvider,\r\n getCesiumAssetUrl,\r\n MapTileTreeScaleRangeVisibility, MapTileTree,\r\n type TerrainMeshProviderOptions, type RequestMeshDataArgs, type ReadMeshArgs, TerrainMeshProvider,\r\n type TerrainProvider, TerrainProviderRegistry,\r\n} from \"./tile/internal\";\r\nexport * from \"./tools/AccuDrawTool\";\r\nexport * from \"./tools/AccuDrawViewportUI\";\r\nexport * from \"./tools/ClipViewTool\";\r\nexport * from \"./tools/EditManipulator\";\r\nexport * from \"./tools/ElementSetTool\";\r\nexport * from \"./tools/EventController\";\r\nexport * from \"./tools/IdleTool\";\r\nexport * from \"./tools/MeasureTool\";\r\nexport * from \"./tools/PrimitiveTool\";\r\nexport * from \"./tools/SelectTool\";\r\nexport * from \"./tools/SetupCameraTools\";\r\nexport * from \"./tools/Tool\";\r\nexport * from \"./tools/ToolSettings\";\r\nexport * from \"./tools/ToolAdmin\";\r\nexport * from \"./tools/ToolAssistance\";\r\nexport * from \"./tools/ViewTool\";\r\nexport * from \"./workers/RegisterWorker\";\r\nexport * from \"./BackgroundMapGeometry\";\r\nexport * from \"./ViewCreator2d\";\r\nexport * from \"./ViewCreator3d\";\r\nexport * from \"./LocalhostIpcApp\";\r\nexport * from \"./request/utils\";\r\nexport * from \"./RealityDataSource\";\r\n\r\nexport * from \"./internal/cross-package\";\r\n\r\n// TODO/FIX: \"./extension/ExtensionRuntime\" import has to be last to avoid circular dependency errors.\r\nimport \"./extension/ExtensionRuntime\";\r\n\r\n/** @docs-package-description\r\n * The core-frontend package always runs in a web browser. It contains classes for [querying iModels and showing views]($docs/learning/frontend/index.md).\r\n */\r\n\r\n/**\r\n * @docs-group-description IModelApp\r\n * Classes for configuring and administering an iTwin.js application.\r\n * See [the learning articles]($docs/learning/frontend/index.md).\r\n */\r\n/**\r\n * @docs-group-description IModelConnection\r\n * Classes for working with a connection to an [iModel briefcase]($docs/learning/IModels.md)\r\n */\r\n/**\r\n * @docs-group-description ElementState\r\n * Classes for working with the *state* of Elements in the frontend.\r\n * See [the learning articles]($docs/learning/frontend/index.md).\r\n */\r\n/**\r\n * @docs-group-description ModelState\r\n * Classes for working with the *state* of Models in the frontend.\r\n * See [the learning articles]($docs/learning/frontend/index.md).\r\n */\r\n/**\r\n * @docs-group-description Tools\r\n * Classes for [working with Tools]($docs/learning/frontend/Tools.md)\r\n */\r\n/**\r\n * @docs-group-description Measure\r\n * Classes for reporting point to point distances and mass properties of elements.\r\n */\r\n/**\r\n * @docs-group-description Views\r\n * Classes for [working with Views]($docs/learning/frontend/Views.md)\r\n */\r\n/**\r\n * @docs-group-description LocatingElements\r\n * Classes for locating and snapping to elements in views.\r\n * See [the learning articles]($docs/learning/frontend/index.md).\r\n */\r\n/**\r\n * @docs-group-description AccuDraw\r\n * AccuDraw provides helpful assistance for creating and modifying elements in a view.\r\n * See [the learning articles]($docs/learning/frontend/index.md).\r\n */\r\n/**\r\n * @docs-group-description Notifications\r\n * Notifications provide feedback to the user of something of interest.\r\n * See [the learning articles]($docs/learning/frontend/index.md).\r\n */\r\n/**\r\n * @docs-group-description Extensions\r\n * Classes for creating and managing Extensions.\r\n */\r\n/**\r\n * @docs-group-description Properties\r\n * Classes for working with property records and descriptions.\r\n */\r\n/**\r\n * @docs-group-description Rendering\r\n * Classes for rendering the contents of views.\r\n */\r\n/**\r\n * @docs-group-description SelectionSet\r\n * Classes for working with the set of selected elements.\r\n * See [the learning articles]($docs/learning/frontend/index.md).\r\n */\r\n/**\r\n * @docs-group-description NativeApp\r\n * Classes for working with Native Applications\r\n */\r\n/**\r\n * @docs-group-description Utils\r\n * Miscellaneous utility classes.\r\n */\r\n/**\r\n * @docs-group-description Logging\r\n * Logger categories used by this package\r\n */\r\n/**\r\n * @docs-group-description QuantityFormatting\r\n * Classes for formatting and parsing quantity values.\r\n */\r\n/**\r\n * @docs-group-description Tiles\r\n * Classes representing graphics as [hierarchical 3d tiles](https://github.com/CesiumGS/3d-tiles).\r\n */\r\n/**\r\n * @docs-group-description HubAccess\r\n * APIs for working with IModelHub\r\n */\r\n/**\r\n * @docs-group-description UserPreferences\r\n * APIs for working with user preferences in an iModelApp.\r\n * See [the learning articles]($docs/learning/frontend/preferences.md).\r\n */\r\n/**\r\n * @docs-group-description MapLayers\r\n * Classes supporting map layers display.\r\n */\r\n/**\r\n * @docs-group-description TileStorage\r\n * Class for working with cloud storage using iTwin/object-storage cloud providers\r\n*/"]}
@@ -9,7 +9,7 @@ export { PerformanceMetrics } from "./render/webgl/PerformanceMetrics";
9
9
  export { type GLTimerResult, RenderDiagnostics, type RenderSystemDebugControl } from "./render/RenderSystemDebugControl";
10
10
  export { formatAnimationBranchId } from "./render/AnimationBranchState";
11
11
  export { PrimitiveVisibility, type RenderTargetDebugControl } from "./render/RenderTargetDebugControl";
12
- export { acquireImdlDecoder, appendQueryParams, ArcGisErrorCode, ArcGisGeometryReaderJSON, type ArcGisGetServiceJsonArgs, ArcGISImageryProvider, type ArcGISServiceMetadata, ArcGisUtilities, type ArcGisValidateSourceArgs, collectMaskRefs, createSpatialTileTreeReferences, deflateCoordinates, type FeatureAttributeDrivenSymbology, FeatureGeometryBaseRenderer, type FeatureGeometryRenderer, FeatureGraphicsRenderer, type FeatureSymbolizedRenderer, type FeatureSymbologyRenderer, GltfReader, type GltfReaderArgs, type GltfReaderResult, type GraphicsGeometryRenderer, ImageryMapTileTree, type ImdlDecoder, ImdlReader, type MapLayerInfoFromTileTree, MapTileTreeReference, RealityModelTileUtils, RealityTileLoader, SpatialTileTreeReferences, type WGS84Extent, WmsUtilities, LayerTileTreeHandler, type MapLayerTreeSetting, LayerTileTreeReferenceHandler } from "../tile/internal";
12
+ export { acquireImdlDecoder, appendQueryParams, ArcGisErrorCode, ArcGisGeometryReaderJSON, type ArcGisGetServiceJsonArgs, ArcGISImageryProvider, type ArcGISServiceMetadata, ArcGisUtilities, type ArcGisValidateSourceArgs, collectMaskRefs, createSpatialTileTreeReferences, deflateCoordinates, type FeatureAttributeDrivenSymbology, FeatureGeometryBaseRenderer, type FeatureGeometryRenderer, FeatureGraphicsRenderer, type FeatureSymbolizedRenderer, type FeatureSymbologyRenderer, GltfReader, type GltfReaderArgs, type GltfReaderResult, type GraphicsGeometryRenderer, ImageryMapTileTree, type ImdlDecoder, ImdlReader, type MapLayerInfoFromTileTree, MapTileTreeReference, RealityModelTileUtils, RealityTileLoader, credentialedFetchRedirect, fetchMapLayerRequest, type MapLayerFetchResult, MapLayerUntrustedOriginError, SpatialTileTreeReferences, type WGS84Extent, WmsUtilities, LayerTileTreeHandler, type MapLayerTreeSetting, LayerTileTreeReferenceHandler } from "../tile/internal";
13
13
  export { GoogleMapsDecorator, LogoDecoration } from "./GoogleMapsDecorator";
14
14
  export { DebugShaderFile } from "./render/RenderSystemDebugControl";
15
15
  export { IModelTileTree } from "./tile/IModelTileTree";
@@ -1 +1 @@
1
- {"version":3,"file":"cross-package.d.ts","sourceRoot":"","sources":["../../../src/internal/cross-package.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,eAAe,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACvF,OAAO,EAAE,eAAe,EAAE,MAAM,2CAA2C,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AACjF,OAAO,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AACvE,OAAO,EAAE,KAAK,aAAa,EAAE,iBAAiB,EAAE,KAAK,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AACzH,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,EAAE,mBAAmB,EAAE,KAAK,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAGvG,OAAO,EACN,kBAAkB,EAClB,iBAAiB,EACjB,eAAe,EACf,wBAAwB,EACxB,KAAK,wBAAwB,EAC7B,qBAAqB,EACrB,KAAK,qBAAqB,EAC1B,eAAe,EACf,KAAK,wBAAwB,EAC7B,eAAe,EACf,+BAA+B,EAC/B,kBAAkB,EAClB,KAAK,+BAA+B,EACpC,2BAA2B,EAC3B,KAAK,uBAAuB,EAC5B,uBAAuB,EACvB,KAAK,yBAAyB,EAC9B,KAAK,wBAAwB,EAC7B,UAAU,EACV,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,wBAAwB,EAC7B,kBAAkB,EAClB,KAAK,WAAW,EAChB,UAAU,EACV,KAAK,wBAAwB,EAC7B,oBAAoB,EACpB,q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,wBAAwB,EAC7B,qBAAqB,EACrB,KAAK,qBAAqB,EAC1B,eAAe,EACf,KAAK,wBAAwB,EAC7B,eAAe,EACf,+BAA+B,EAC/B,kBAAkB,EAClB,KAAK,+BAA+B,EACpC,2BAA2B,EAC3B,KAAK,uBAAuB,EAC5B,uBAAuB,EACvB,KAAK,yBAAyB,EAC9B,KAAK,wBAAwB,EAC7B,UAAU,EACV,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,wBAAwB,EAC7B,kBAAkB,EAClB,KAAK,WAAW,EAChB,UAAU,EACV,KAAK,wBAAwB,EAC7B,oBAAoB,EACpB,qBAAqB,EACrB,iBAAiB,EACjB,yBAAyB,EACzB,oBAAoB,EACpB,KAAK,mBAAmB,EACxB,4BAA4B,EAC5B,yBAAyB,EACzB,KAAK,WAAW,EAChB,YAAY,EACZ,oBAAoB,EAAE,KAAK,mBAAmB,EAAE,6BAA6B,EAC7E,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAI5E,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAGvD,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,yBAAyB,EAAE,MAAM,4BAA4B,CAAC"}
@@ -7,7 +7,7 @@
7
7
  * @module Utils
8
8
  */
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
- exports._implementationProhibited = exports.IModelTileTree = exports.DebugShaderFile = exports.LogoDecoration = exports.GoogleMapsDecorator = exports.LayerTileTreeReferenceHandler = exports.LayerTileTreeHandler = exports.WmsUtilities = exports.SpatialTileTreeReferences = exports.RealityTileLoader = exports.RealityModelTileUtils = exports.MapTileTreeReference = exports.ImdlReader = exports.ImageryMapTileTree = exports.GltfReader = exports.FeatureGraphicsRenderer = exports.FeatureGeometryBaseRenderer = exports.deflateCoordinates = exports.createSpatialTileTreeReferences = exports.collectMaskRefs = exports.ArcGisUtilities = exports.ArcGISImageryProvider = exports.ArcGisGeometryReaderJSON = exports.ArcGisErrorCode = exports.appendQueryParams = exports.acquireImdlDecoder = exports.PrimitiveVisibility = exports.formatAnimationBranchId = exports.RenderDiagnostics = exports.PerformanceMetrics = exports.Target = exports.OnScreenTarget = exports.GltfDataType = exports.AnimationNodeId = exports._scheduleScriptReference = exports._callIpcChannel = void 0;
10
+ exports._implementationProhibited = exports.IModelTileTree = exports.DebugShaderFile = exports.LogoDecoration = exports.GoogleMapsDecorator = exports.LayerTileTreeReferenceHandler = exports.LayerTileTreeHandler = exports.WmsUtilities = exports.SpatialTileTreeReferences = exports.MapLayerUntrustedOriginError = exports.fetchMapLayerRequest = exports.credentialedFetchRedirect = exports.RealityTileLoader = exports.RealityModelTileUtils = exports.MapTileTreeReference = exports.ImdlReader = exports.ImageryMapTileTree = exports.GltfReader = exports.FeatureGraphicsRenderer = exports.FeatureGeometryBaseRenderer = exports.deflateCoordinates = exports.createSpatialTileTreeReferences = exports.collectMaskRefs = exports.ArcGisUtilities = exports.ArcGISImageryProvider = exports.ArcGisGeometryReaderJSON = exports.ArcGisErrorCode = exports.appendQueryParams = exports.acquireImdlDecoder = exports.PrimitiveVisibility = exports.formatAnimationBranchId = exports.RenderDiagnostics = exports.PerformanceMetrics = exports.Target = exports.OnScreenTarget = exports.GltfDataType = exports.AnimationNodeId = exports._scheduleScriptReference = exports._callIpcChannel = void 0;
11
11
  var Symbols_1 = require("../common/internal/Symbols");
12
12
  Object.defineProperty(exports, "_callIpcChannel", { enumerable: true, get: function () { return Symbols_1._callIpcChannel; } });
13
13
  Object.defineProperty(exports, "_scheduleScriptReference", { enumerable: true, get: function () { return Symbols_1._scheduleScriptReference; } });
@@ -45,6 +45,9 @@ Object.defineProperty(exports, "ImdlReader", { enumerable: true, get: function (
45
45
  Object.defineProperty(exports, "MapTileTreeReference", { enumerable: true, get: function () { return internal_1.MapTileTreeReference; } });
46
46
  Object.defineProperty(exports, "RealityModelTileUtils", { enumerable: true, get: function () { return internal_1.RealityModelTileUtils; } });
47
47
  Object.defineProperty(exports, "RealityTileLoader", { enumerable: true, get: function () { return internal_1.RealityTileLoader; } });
48
+ Object.defineProperty(exports, "credentialedFetchRedirect", { enumerable: true, get: function () { return internal_1.credentialedFetchRedirect; } });
49
+ Object.defineProperty(exports, "fetchMapLayerRequest", { enumerable: true, get: function () { return internal_1.fetchMapLayerRequest; } });
50
+ Object.defineProperty(exports, "MapLayerUntrustedOriginError", { enumerable: true, get: function () { return internal_1.MapLayerUntrustedOriginError; } });
48
51
  Object.defineProperty(exports, "SpatialTileTreeReferences", { enumerable: true, get: function () { return internal_1.SpatialTileTreeReferences; } });
49
52
  Object.defineProperty(exports, "WmsUtilities", { enumerable: true, get: function () { return internal_1.WmsUtilities; } });
50
53
  Object.defineProperty(exports, "LayerTileTreeHandler", { enumerable: true, get: function () { return internal_1.LayerTileTreeHandler; } });
@@ -1 +1 @@
1
- {"version":3,"file":"cross-package.js","sourceRoot":"","sources":["../../../src/internal/cross-package.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,sDAAuF;AAA9E,0GAAA,eAAe,OAAA;AAAE,mHAAA,wBAAwB,OAAA;AAClD,6EAA4E;AAAnE,kHAAA,eAAe,OAAA;AACxB,wDAAiF;AAAxE,0GAAA,YAAY,OAAA;AACrB,gDAA+D;AAAtD,wGAAA,cAAc,OAAA;AAAE,gGAAA,MAAM,OAAA;AAC/B,wEAAuE;AAA9D,wHAAA,kBAAkB,OAAA;AAC3B,8EAAyH;AAA5F,6HAAA,iBAAiB,OAAA;AAC9C,sEAAwE;AAA/D,+HAAA,uBAAuB,OAAA;AAChC,8EAAuG;AAA9F,+HAAA,mBAAmB,OAAA;AAE5B,iEAAiE;AACjE,6CAkC0B;AAjCzB,8GAAA,kBAAkB,OAAA;AAClB,6GAAA,iBAAiB,OAAA;AACjB,2GAAA,eAAe,OAAA;AACf,oHAAA,wBAAwB,OAAA;AAExB,iHAAA,qBAAqB,OAAA;AAErB,2GAAA,eAAe,OAAA;AAEf,2GAAA,eAAe,OAAA;AACf,2HAAA,+BAA+B,OAAA;AAC/B,8GAAA,kBAAkB,OAAA;AAElB,uHAAA,2BAA2B,OAAA;AAE3B,mHAAA,uBAAuB,OAAA;AAGvB,sGAAA,UAAU,OAAA;AAIV,8GAAA,kBAAkB,OAAA;AAElB,sGAAA,UAAU,OAAA;AAEV,gHAAA,oBAAoB,OAAA;AACpB,iHAAA,qBAAqB,OAAA;AACrB,6GAAA,iBAAiB,OAAA;AACjB,qHAAA,yBAAyB,OAAA;AAEzB,wGAAA,YAAY,OAAA;AACZ,gHAAA,oBAAoB,OAAA;AAA4B,yHAAA,6BAA6B,OAAA;AAE9E,6DAA4E;AAAnE,0HAAA,mBAAmB,OAAA;AAAE,qHAAA,cAAc,OAAA;AAE5C,qFAAqF;AACrF,mCAAmC;AACnC,8EAAoE;AAA3D,2HAAA,eAAe,OAAA;AACxB,wDAAuD;AAA9C,gHAAA,cAAc,OAAA;AAMvB,sDAAuE;AAA9D,oHAAA,yBAAyB,OAAA","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 Utils\r\n */\r\n\r\nexport { _callIpcChannel, _scheduleScriptReference } from \"../common/internal/Symbols\";\r\nexport { AnimationNodeId } from \"../common/internal/render/AnimationNodeId\";\r\nexport { GltfDataType, type GltfMeshPrimitive } from \"../common/gltf/GltfSchema\";\r\nexport { OnScreenTarget, Target } from \"./render/webgl/Target\";\r\nexport { PerformanceMetrics } from \"./render/webgl/PerformanceMetrics\";\r\nexport { type GLTimerResult, RenderDiagnostics, type RenderSystemDebugControl } from \"./render/RenderSystemDebugControl\";\r\nexport { formatAnimationBranchId } from \"./render/AnimationBranchState\";\r\nexport { PrimitiveVisibility, type RenderTargetDebugControl } from \"./render/RenderTargetDebugControl\";\r\n\r\n// Used by frontend-tiles, map-layers-formats, frontend-dev-tools\r\nexport {\r\n acquireImdlDecoder,\r\n appendQueryParams,\r\n ArcGisErrorCode,\r\n ArcGisGeometryReaderJSON,\r\n type ArcGisGetServiceJsonArgs,\r\n ArcGISImageryProvider,\r\n type ArcGISServiceMetadata,\r\n ArcGisUtilities,\r\n type ArcGisValidateSourceArgs,\r\n collectMaskRefs,\r\n createSpatialTileTreeReferences,\r\n deflateCoordinates,\r\n type FeatureAttributeDrivenSymbology,\r\n FeatureGeometryBaseRenderer,\r\n type FeatureGeometryRenderer,\r\n FeatureGraphicsRenderer,\r\n type FeatureSymbolizedRenderer,\r\n type FeatureSymbologyRenderer,\r\n GltfReader,\r\n type GltfReaderArgs,\r\n type GltfReaderResult,\r\n type GraphicsGeometryRenderer,\r\n ImageryMapTileTree,\r\n type ImdlDecoder,\r\n ImdlReader,\r\n type MapLayerInfoFromTileTree,\r\n MapTileTreeReference,\r\n RealityModelTileUtils,\r\n RealityTileLoader,\r\n SpatialTileTreeReferences,\r\n type WGS84Extent,\r\n WmsUtilities,\r\n LayerTileTreeHandler, type MapLayerTreeSetting, LayerTileTreeReferenceHandler\r\n} from \"../tile/internal\";\r\nexport { GoogleMapsDecorator, LogoDecoration } from \"./GoogleMapsDecorator\";\r\n\r\n// Used by display-test-app which currently builds using both ESModules and CommonJS.\r\n// Remove once CommonJS is dropped.\r\nexport { DebugShaderFile } from \"./render/RenderSystemDebugControl\";\r\nexport { IModelTileTree } from \"./tile/IModelTileTree\";\r\n\r\n// Used by cesium-renderer\r\nexport { type RenderPlan } from \"./render/RenderPlan\";\r\nexport { type RenderAreaPattern } from \"./render/RenderAreaPattern\";\r\nexport { type RenderGeometry } from \"./render/RenderGeometry\";\r\nexport { _implementationProhibited } from \"../common/internal/Symbols\";\r\n"]}
1
+ {"version":3,"file":"cross-package.js","sourceRoot":"","sources":["../../../src/internal/cross-package.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,sDAAuF;AAA9E,0GAAA,eAAe,OAAA;AAAE,mHAAA,wBAAwB,OAAA;AAClD,6EAA4E;AAAnE,kHAAA,eAAe,OAAA;AACxB,wDAAiF;AAAxE,0GAAA,YAAY,OAAA;AACrB,gDAA+D;AAAtD,wGAAA,cAAc,OAAA;AAAE,gGAAA,MAAM,OAAA;AAC/B,wEAAuE;AAA9D,wHAAA,kBAAkB,OAAA;AAC3B,8EAAyH;AAA5F,6HAAA,iBAAiB,OAAA;AAC9C,sEAAwE;AAA/D,+HAAA,uBAAuB,OAAA;AAChC,8EAAuG;AAA9F,+HAAA,mBAAmB,OAAA;AAE5B,iEAAiE;AACjE,6CAsC0B;AArCzB,8GAAA,kBAAkB,OAAA;AAClB,6GAAA,iBAAiB,OAAA;AACjB,2GAAA,eAAe,OAAA;AACf,oHAAA,wBAAwB,OAAA;AAExB,iHAAA,qBAAqB,OAAA;AAErB,2GAAA,eAAe,OAAA;AAEf,2GAAA,eAAe,OAAA;AACf,2HAAA,+BAA+B,OAAA;AAC/B,8GAAA,kBAAkB,OAAA;AAElB,uHAAA,2BAA2B,OAAA;AAE3B,mHAAA,uBAAuB,OAAA;AAGvB,sGAAA,UAAU,OAAA;AAIV,8GAAA,kBAAkB,OAAA;AAElB,sGAAA,UAAU,OAAA;AAEV,gHAAA,oBAAoB,OAAA;AACpB,iHAAA,qBAAqB,OAAA;AACrB,6GAAA,iBAAiB,OAAA;AACjB,qHAAA,yBAAyB,OAAA;AACzB,gHAAA,oBAAoB,OAAA;AAEpB,wHAAA,4BAA4B,OAAA;AAC5B,qHAAA,yBAAyB,OAAA;AAEzB,wGAAA,YAAY,OAAA;AACZ,gHAAA,oBAAoB,OAAA;AAA4B,yHAAA,6BAA6B,OAAA;AAE9E,6DAA4E;AAAnE,0HAAA,mBAAmB,OAAA;AAAE,qHAAA,cAAc,OAAA;AAE5C,qFAAqF;AACrF,mCAAmC;AACnC,8EAAoE;AAA3D,2HAAA,eAAe,OAAA;AACxB,wDAAuD;AAA9C,gHAAA,cAAc,OAAA;AAMvB,sDAAuE;AAA9D,oHAAA,yBAAyB,OAAA","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 Utils\r\n */\r\n\r\nexport { _callIpcChannel, _scheduleScriptReference } from \"../common/internal/Symbols\";\r\nexport { AnimationNodeId } from \"../common/internal/render/AnimationNodeId\";\r\nexport { GltfDataType, type GltfMeshPrimitive } from \"../common/gltf/GltfSchema\";\r\nexport { OnScreenTarget, Target } from \"./render/webgl/Target\";\r\nexport { PerformanceMetrics } from \"./render/webgl/PerformanceMetrics\";\r\nexport { type GLTimerResult, RenderDiagnostics, type RenderSystemDebugControl } from \"./render/RenderSystemDebugControl\";\r\nexport { formatAnimationBranchId } from \"./render/AnimationBranchState\";\r\nexport { PrimitiveVisibility, type RenderTargetDebugControl } from \"./render/RenderTargetDebugControl\";\r\n\r\n// Used by frontend-tiles, map-layers-formats, frontend-dev-tools\r\nexport {\r\n acquireImdlDecoder,\r\n appendQueryParams,\r\n ArcGisErrorCode,\r\n ArcGisGeometryReaderJSON,\r\n type ArcGisGetServiceJsonArgs,\r\n ArcGISImageryProvider,\r\n type ArcGISServiceMetadata,\r\n ArcGisUtilities,\r\n type ArcGisValidateSourceArgs,\r\n collectMaskRefs,\r\n createSpatialTileTreeReferences,\r\n deflateCoordinates,\r\n type FeatureAttributeDrivenSymbology,\r\n FeatureGeometryBaseRenderer,\r\n type FeatureGeometryRenderer,\r\n FeatureGraphicsRenderer,\r\n type FeatureSymbolizedRenderer,\r\n type FeatureSymbologyRenderer,\r\n GltfReader,\r\n type GltfReaderArgs,\r\n type GltfReaderResult,\r\n type GraphicsGeometryRenderer,\r\n ImageryMapTileTree,\r\n type ImdlDecoder,\r\n ImdlReader,\r\n type MapLayerInfoFromTileTree,\r\n MapTileTreeReference,\r\n RealityModelTileUtils,\r\n RealityTileLoader,\r\n credentialedFetchRedirect,\r\n fetchMapLayerRequest,\r\n type MapLayerFetchResult,\r\n MapLayerUntrustedOriginError,\r\n SpatialTileTreeReferences,\r\n type WGS84Extent,\r\n WmsUtilities,\r\n LayerTileTreeHandler, type MapLayerTreeSetting, LayerTileTreeReferenceHandler\r\n} from \"../tile/internal\";\r\nexport { GoogleMapsDecorator, LogoDecoration } from \"./GoogleMapsDecorator\";\r\n\r\n// Used by display-test-app which currently builds using both ESModules and CommonJS.\r\n// Remove once CommonJS is dropped.\r\nexport { DebugShaderFile } from \"./render/RenderSystemDebugControl\";\r\nexport { IModelTileTree } from \"./tile/IModelTileTree\";\r\n\r\n// Used by cesium-renderer\r\nexport { type RenderPlan } from \"./render/RenderPlan\";\r\nexport { type RenderAreaPattern } from \"./render/RenderAreaPattern\";\r\nexport { type RenderGeometry } from \"./render/RenderGeometry\";\r\nexport { _implementationProhibited } from \"../common/internal/Symbols\";\r\n"]}
@@ -1,3 +1,4 @@
1
+ import { MapLayerProviderProperties } from "@itwin/core-common";
1
2
  import { MapCartoRectangle, MapLayerAccessClient, MapLayerAccessToken, MapLayerAccessTokenParams, MapLayerSource, MapLayerSourceStatus, MapLayerSourceValidation, ValidateSourceArgs } from "../../../tile/internal";
2
3
  /**
3
4
  * Class representing an ArcGIS error code.
@@ -12,14 +13,20 @@ export declare enum ArcGisErrorCode {
12
13
  NoTokenService = 1001
13
14
  }
14
15
  /**
15
- * Class representing an ArcGIS service metadata.
16
+ * The result of fetching an ArcGIS service's metadata (see [[ArcGisUtilities.getServiceJson]]): the service's
17
+ * JSON document in `content`, alongside what the framework determined while obtaining it.
16
18
  * @internal
17
19
  */
18
20
  export interface ArcGISServiceMetadata {
19
- /** JSON content from the service */
21
+ /** The JSON document returned by the service, as-is. */
20
22
  content: any;
21
23
  /** Indicates if an access token is required to access the service */
22
24
  accessTokenRequired: boolean;
25
+ /** The ArcGIS error code carried by `content`, if any. Omitted when the response is managed by a fetch handler
26
+ * (see [[MapLayerFetchResult.managedByHandler]]): the handler then reports failures by throwing
27
+ * [[MapLayerAuthenticationFailedError]], and the framework applies no classification of its own.
28
+ */
29
+ errorCode?: ArcGisErrorCode;
23
30
  }
24
31
  /** Arguments for validating ArcGIS sources * @internal
25
32
  */
@@ -31,6 +38,10 @@ export interface ArcGisValidateSourceArgs extends ValidateSourceArgs {
31
38
  */
32
39
  export interface ArcGisGetServiceJsonArgs {
33
40
  url: string;
41
+ /** Stable map-layer source URL used to identify the request to a fetch handler. Defaults to `url`. */
42
+ layerUrl?: string;
43
+ /** The layer's provider-specific settings properties, exposed to a fetch handler as [[MapLayerRequest.layerProperties]]. */
44
+ layerProperties?: MapLayerProviderProperties;
34
45
  formatId: string;
35
46
  userName?: string;
36
47
  password?: string;
@@ -84,6 +95,8 @@ export declare class ArcGisUtilities {
84
95
  * @param requireToken Flag to indicate if a token is required
85
96
  * @throws [[MapLayerUntrustedOriginError]] if an NTLM/Negotiate challenge could not be answered because
86
97
  * the URL's origin is not trusted (see [[MapLayerFormatRegistry.restrictCredentialsToTrustedOrigins]]);
98
+ * [[MapLayerAuthenticationFailedError]] if a registered [[MapLayerFetchHandler]] reported an
99
+ * authentication failure;
87
100
  * all other errors are caught and reported by returning `undefined`.
88
101
  */
89
102
  static getServiceJson(args: ArcGisGetServiceJsonArgs): Promise<ArcGISServiceMetadata | undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"ArcGisUtilities.d.ts","sourceRoot":"","sources":["../../../../../src/internal/tile/map/ArcGisUtilities.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,iBAAiB,EAAE,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,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAC;CA0B7K"}
@@ -149,6 +149,8 @@ class ArcGisUtilities {
149
149
  metadata = await this.getServiceJson({ url: source.url, formatId: source.formatId, userName: source.userName, password: source.password, queryParams: source.collectQueryParams(), ignoreCache });
150
150
  }
151
151
  catch (err) {
152
+ if (err instanceof internal_1.MapLayerAuthenticationFailedError)
153
+ return { status: internal_1.MapLayerSourceStatus.RequireAuth };
152
154
  if (err instanceof internal_1.MapLayerUntrustedOriginError) {
153
155
  let blockedOrigin;
154
156
  try {
@@ -163,16 +165,17 @@ class ArcGisUtilities {
163
165
  if (json === undefined) {
164
166
  return { status: internal_1.MapLayerSourceStatus.InvalidUrl };
165
167
  }
166
- else if (json.error !== undefined) {
168
+ const errorCode = metadata?.errorCode;
169
+ if (errorCode !== undefined) {
167
170
  // If we got a 'Token Required' error, lets check what authentification methods this ESRI service offers
168
171
  // and return information needed to initiate the authentification process... the end-user
169
172
  // will have to provide his credentials before we can fully validate this source.
170
173
  // Note: Some servers will throw a error 403 (You do not have permissions to access this resource or perform this operation),
171
174
  // instead of 499 (TokenRequired)
172
- if (json.error.code === ArcGisErrorCode.TokenRequired || json.error.code === ArcGisErrorCode.MissingPermissions) {
175
+ if (errorCode === ArcGisErrorCode.TokenRequired || errorCode === ArcGisErrorCode.MissingPermissions) {
173
176
  return (source.userName || source.password) ? { status: internal_1.MapLayerSourceStatus.InvalidCredentials } : { status: internal_1.MapLayerSourceStatus.RequireAuth };
174
177
  }
175
- else if (json.error.code === ArcGisErrorCode.InvalidCredentials)
178
+ else if (errorCode === ArcGisErrorCode.InvalidCredentials)
176
179
  return { status: internal_1.MapLayerSourceStatus.InvalidCredentials };
177
180
  }
178
181
  // Check this service support the expected queries
@@ -223,11 +226,17 @@ class ArcGisUtilities {
223
226
  * @param requireToken Flag to indicate if a token is required
224
227
  * @throws [[MapLayerUntrustedOriginError]] if an NTLM/Negotiate challenge could not be answered because
225
228
  * the URL's origin is not trusted (see [[MapLayerFormatRegistry.restrictCredentialsToTrustedOrigins]]);
229
+ * [[MapLayerAuthenticationFailedError]] if a registered [[MapLayerFetchHandler]] reported an
230
+ * authentication failure;
226
231
  * all other errors are caught and reported by returning `undefined`.
227
232
  */
228
233
  static async getServiceJson(args) {
229
- const { url, formatId, userName, password, queryParams, ignoreCache, requireToken } = args;
230
- if (!ignoreCache) {
234
+ const { url, layerUrl = url, layerProperties, formatId, userName, password, queryParams, ignoreCache, requireToken } = args;
235
+ const accessClient = IModelApp_1.IModelApp.mapLayerFormatRegistry?.getAccessClient(formatId);
236
+ // The cache is keyed by URL only, so responses customized by the fetch handler (e.g.
237
+ // header-authenticated) must not be shared with or served from differently-customized requests.
238
+ const hasFetchHandler = (IModelApp_1.IModelApp.mapLayerFormatRegistry?.mapLayerFetchHandlers.length ?? 0) > 0;
239
+ if (!ignoreCache && !hasFetchHandler) {
231
240
  const cached = ArcGisUtilities._serviceCache.get(url);
232
241
  if (cached !== undefined)
233
242
  return cached;
@@ -246,55 +255,71 @@ class ArcGisUtilities {
246
255
  appendParams(tmpUrl, queryParams);
247
256
  return tmpUrl;
248
257
  };
258
+ // Routes each request through the registered fetch handler (if any); handler failures propagate.
259
+ // The NTLM/SSO retry applies only to the initial request, and never to sends the handler modified.
260
+ const requestJson = async (target, allowSsoRetry) => {
261
+ return (0, internal_1.fetchMapLayerRequest)({
262
+ url: target.toString(),
263
+ formatId,
264
+ layerUrl,
265
+ layerProperties,
266
+ send: async (request, credentialed) => {
267
+ // Sends the handler modified may carry injected secrets: same redirect policy as credentialed ones.
268
+ let rsp = await fetch(request.url, { method: "GET", headers: request.headers, redirect: credentialed ? (0, internal_1.credentialedFetchRedirect)() : undefined });
269
+ if (allowSsoRetry && rsp.status === 401 && !requireToken && !credentialed && (0, utils_1.headersIncludeAuthMethod)(rsp.headers, ["ntlm", "negotiate"])) {
270
+ // fetch follows redirects transparently, so trust decisions target the final (post-redirect) URL.
271
+ const challengedUrl = rsp.url || request.url;
272
+ if (!IModelApp_1.IModelApp.mapLayerFormatRegistry.isSsoAllowed(challengedUrl))
273
+ throw new internal_1.MapLayerUntrustedOriginError(challengedUrl);
274
+ IModelApp_1.IModelApp.mapLayerFormatRegistry.logUntrustedOriginUse(challengedUrl);
275
+ // We got a http 401 challenge, lets try again with SSO enabled (i.e. Windows Authentication).
276
+ rsp = await fetch(challengedUrl, {
277
+ method: "GET",
278
+ credentials: "include",
279
+ redirect: IModelApp_1.IModelApp.mapLayerFormatRegistry.restrictCredentialsToTrustedOrigins ? "error" : undefined,
280
+ });
281
+ }
282
+ return rsp;
283
+ },
284
+ });
285
+ };
249
286
  let accessTokenRequired = false;
250
287
  try {
251
288
  let tmpUrl = createUrlObj();
252
289
  // In some cases, caller might already know token is required, so append it immediately
253
290
  if (requireToken) {
254
- const accessClient = IModelApp_1.IModelApp.mapLayerFormatRegistry.getAccessClient(formatId);
255
291
  if (accessClient) {
256
292
  accessTokenRequired = true;
257
293
  await ArcGisUtilities.appendSecurityToken(tmpUrl, accessClient, { mapLayerUrl: new URL(url), userName, password });
258
294
  }
259
295
  }
260
- let response = await fetch(tmpUrl, { method: "GET" });
261
- if (response.status === 401 && !requireToken && (0, utils_1.headersIncludeAuthMethod)(response.headers, ["ntlm", "negotiate"])) {
262
- // fetch follows redirects transparently, so trust decisions target the final (post-redirect) URL.
263
- const challengedUrl = response.url || tmpUrl.toString();
264
- if (!IModelApp_1.IModelApp.mapLayerFormatRegistry.isSsoAllowed(challengedUrl))
265
- throw new internal_1.MapLayerUntrustedOriginError(challengedUrl);
266
- IModelApp_1.IModelApp.mapLayerFormatRegistry.logUntrustedOriginUse(challengedUrl);
267
- // We got a http 401 challenge, lets try again with SSO enabled (i.e. Windows Authentication).
268
- response = await fetch(challengedUrl, {
269
- method: "GET",
270
- credentials: "include",
271
- redirect: IModelApp_1.IModelApp.mapLayerFormatRegistry.restrictCredentialsToTrustedOrigins ? "error" : undefined,
272
- });
273
- }
296
+ let { response, managedByHandler } = await requestJson(tmpUrl, true);
274
297
  // Append security token when corresponding error code is returned by ArcGIS service
275
- let errorCode = await ArcGisUtilities.checkForResponseErrorCode(response);
298
+ const errorCode = await ArcGisUtilities.checkForResponseErrorCode(response);
276
299
  if (!accessTokenRequired
277
300
  && (errorCode === ArcGisErrorCode.TokenRequired || errorCode === ArcGisErrorCode.MissingPermissions)) {
278
301
  accessTokenRequired = true;
279
302
  // If token required
280
- const accessClient = IModelApp_1.IModelApp.mapLayerFormatRegistry.getAccessClient(formatId);
281
303
  if (accessClient) {
282
304
  tmpUrl = createUrlObj();
283
305
  await ArcGisUtilities.appendSecurityToken(tmpUrl, accessClient, { mapLayerUrl: new URL(url), userName, password });
284
- response = await fetch(tmpUrl.toString(), { method: "GET" });
285
- errorCode = await ArcGisUtilities.checkForResponseErrorCode(response);
306
+ ({ response, managedByHandler } = await requestJson(tmpUrl, false));
286
307
  }
287
308
  }
288
309
  const json = await response.json();
289
- const info = { content: json, accessTokenRequired };
290
- // Cache the response only if it doesn't contain any error.
291
- ArcGisUtilities._serviceCache.set(url, (errorCode === undefined ? info : undefined));
310
+ // Classified from the parsed body regardless of the Content-Type the server labelled it with.
311
+ const contentErrorCode = json?.error?.code;
312
+ const info = { content: json, accessTokenRequired, errorCode: managedByHandler ? undefined : contentErrorCode };
313
+ // Cache the response only if it doesn't contain any error, and never when a fetch handler managed it or
314
+ // is registered (the cache is keyed by URL only, so protected data must not be cached).
315
+ if (!hasFetchHandler && !managedByHandler)
316
+ ArcGisUtilities._serviceCache.set(url, (contentErrorCode === undefined ? info : undefined));
292
317
  return info; // Always return json, even though it contains an error code.
293
318
  }
294
319
  catch (err) {
295
320
  ArcGisUtilities._serviceCache.set(url, undefined);
296
- if (err instanceof internal_1.MapLayerUntrustedOriginError)
297
- throw err; // propagate so callers can report the blocked origin
321
+ if (err instanceof internal_1.MapLayerUntrustedOriginError || err instanceof internal_1.MapLayerAuthenticationFailedError)
322
+ throw err; // propagate so callers can report the blocked origin / authentication failure
298
323
  return undefined;
299
324
  }
300
325
  }